def young2lame(E, nu):
    """
    Converts Young's modulus and Poisson's ratio to Lame constants.

    Parameters:
        E : Young's modulus
        nu : Poisson's ratio

    Returns:
        lame1 : lambda
        lame2 : mu
    """
    lame_1 = nu*E/(1 + nu)/(1 - 2*nu)
    lame_2 = E/2/(1 + nu)

    return lame_1, lame_2