def utility(c,rho):
    """ The consumption of utility.
    Args:
        c (float): consumption
        rho (float): Risk aversion   
    Returns:
        Utility (float)
    """
    return c**(1-rho)/(1-rho)