Skip to main content

Subsection 2.2.1 Examples

Example 2.2.1 Cosine iteration

Suppose we'd like to experiment with the iteration of the cosine function. We can simply do the following:

Note that the output appears to be converging to some fixed point, though much more slowly than we saw in the Newton's method computation.

Checkpoint 2.2.2 Cosine iteration with various initial seeds

Iterate the cosine function from several different initial seeds. What outcomes do you see? Can you find an initial seed with a different fate from the example?