def eulerC1(c2,rho,R):
    """Compute the optimal Euler consumption of old generation
    
    Args:
    
    
        rho (float): discount parameter
        c2 (float): consumption old generation
        R (float): gross return on saving
        
        
    Returns:
    
        (float): optimal Euler consumption of old generation
    
    """
    return (c2*(1+rho))/R