Previous Up Next

23.3.1  Newton method

The newton command uses Newton’s method to approximate a solution to an equation.

Examples

newton(x^2-2,x,1)
     
1.41421356237           
newton(x^2-2,x,-1)
     
−1.41421356237           
newton(cos(x)-x,x,0)
     
0.739085133215           

Previous Up Next