This shows you the differences between two versions of the page.
|
exercise_1.43 [2009/03/07 08:49] inimino added a couple solutions |
exercise_1.43 [2009/03/07 08:50] (current) inimino |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Exercise 1.43. If f is a numerical function and n is a positive integer, then | + | ===== Exercise 1.43. ===== |
| + | |||
| + | If f is a numerical function and n is a positive integer, then | ||
| we can form the nth repeated application of f, which is defined to be the | we can form the nth repeated application of f, which is defined to be the | ||
| function whose value at x is f(f(...(f(x))...)). For example, if f is the | function whose value at x is f(f(...(f(x))...)). For example, if f is the | ||
| Line 12: | Line 14: | ||
| ((repeated square 2) 5) | ((repeated square 2) 5) | ||
| 625 | 625 | ||
| - | <code> | + | </code> |
| Hint: You may find it convenient to use compose from exercise 1.42. | Hint: You may find it convenient to use compose from exercise 1.42. | ||