def evaluate_g7( kappa, nu, s7 ):
    """
    Evaluate the seventh constraint equation and also return the jacobian

    :param float kappa: The value of the modulus kappa
    :param float nu: The value of the modulus nu
    :param float s7: The value of the constraint
    """

    return kappa - nu - s7**2, {'kappa':1., 'nu':-1., 's7':-2*s7 }