def Mc_eta_m1_m2(m1, m2):
    """
    Computes the symmetric mass-ratio (eta)
    and chirp mass (Mc) from the component masses
    input: m1, m2
    output: Mc, eta
    """
    Mc = (m1*m2)**(3./5.)/(m1+m2)**(1./5.)
    eta = m1*m2/(m1+m2)**2
    return Mc, eta