Derivative/R/Product of n functions/Exercise