In this exercise we revise the code for finding the roots of a nonlinear equation and in the process introduce the concept of a function subprogram. Subprograms are extremely important for modular programming. Also, a great many useful subprograms are available for scientific computing, so once you learn how to call them, you will be able to write much more powerful code.