Output from the Generic reprogramming of the program that composes functions. | Lecture 11 - slide 19 : 21 Program 2 |
Cubic of Minus3(0,000) = -27 Cubic of Minus3(0,500) = -15,625 Cubic of Minus3(1,000) = -8 Cubic of Minus3(1,500) = -3,375 Cubic of Minus3(2,000) = -1 Square of if d>2 then -d else 0(0,000) = 0 Square of if d>2 then -d else 0(0,500) = 0 Square of if d>2 then -d else 0(1,000) = 0 Square of if d>2 then -d else 0(1,500) = 0 Square of if d>2 then -d else 0(2,000) = 0 Square of if d>2 then -d else 0(2,500) = 6,25 Square of if d>2 then -d else 0(3,000) = 9 |