def evaluate_g5( kappa, nu, eta, tau, sigma, s5 ):
    """
    Evaluate the fifth constraint equation and also return the jacobians

    :param float kappa: The value of the modulus kappa
    :param float nu: The value of the modulus nu
    :param float eta: The value of the modulus eta
    :param float tau: The value of the modulus tau
    :param float sigma: The value of the modulus sigma
    :param float s5: The value of the constraint
    """

    return kappa + nu + 3 * eta - 3 * tau - 2 * sigma - s5**2,\
           { 'kappa':1., 'nu':1., 'eta':3., 'tau':-3., 'sigma':-2., 's5':-2*s5 }