Repeated composition of function
This functionality does not run in MATLAB.
fp::nest(f,n) returns the
repeated composition of the function
Thus, given the function
the identity function
0 and otherwise the function
fp::nest is obsolete, one should
@@ operator or its functional form
_fnest instead. It is
only supported for compatibility with former versions of MuPAD®.
Apply the 3-fold repeated composition of
Numerically finding a fixed point of the function
cos by repeated application:
p :=fp::nest(cos, 100)(1.0): p, cos(p)