import math


def A12_6_3_4(Av, Fymin, GammaRPv = 1.10):
    """
    A.12.6.3.4 Beam shear
    
    Vy, Vz is the beam shear due to factored actions in the local
        y- and z-directions
    Av is the effective shear area in the direction being considered,
       see Table A.12.6-1
    GammaRPv is the partial resistance factor for torsional and beam 
       shear strengths
    """
    #
    # Pvy, Pvz is the representative shear strength in the local 
    # y- and z-directions:
    _Pv = Av * Fymin / math.sqrt(3.0)      # (A.12.6-46)
    #
    # Non-circular prismatic members subjected to beam shear forces
    # due to factored actions should satisfy:
    _Vmax = _Pv / GammaRPv
    #
    print("")
    print("A.12.6.3.4 Beam shear")
    print("Pv    = {: 1.4e}".format(_Pv))
    print("Vmax  = {: 1.4e}".format(_Vmax))
    #
    return _Vmax
    #