next up previous
Next: Finding Roots à la

In this exercise we examine code for finding the roots of a nonlinear equation and in the process introduce the Newton-Raphson method and loop control structures for, while, and do...while. We also show how to quit a program with an exit code.

Carleton DeTar 2009-09-16