Table of Contents#### Download Safari Books Online apps: Apple iOS | Android | BlackBerry

## Implementation and Analysis of the Solution of
Equations

Entire Site

Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Recall that solving an equation of the form
*f* (*x*) = means finding its
roots. The *root* operation locates the real root
to which Newton’s method converges given an initial iteration
point.

The *root* operation revolves around a single
loop (see Example 13-3), which
calculates successive approximations using the Newton iteration
formula. In the implementation presented here,
* f* is the function for which we are
approximating the root, and

`g`

`f`

`delta`

`n`