|
Further Examples: FixedPoint
This finds a fixed point of Log.
In[1]:= 
Out[1]= 
In[2]:= 
Out[2]= 
This shows the sequence of iterates converging to the fixed point.
In[3]:= 

With FixedPoint you can implement Newton's method in one line.
In[4]:= 
In[5]:= 
In[6]:= 
Out[6]= 
This verifies that theroot is indeed a root of poly.
In[7]:= 
Out[7]= 
In[8]:= 
See also the Further Examples for StringReplace.
|