Functions nested functions (solution)

NoteExercise
CautionOutput solution
[1] 17055.37