Due: Friday September 21, 2001 in class.
Problems turned in late (i.e. not in class) will be penalized 10% per day.
Write a well-documented Maple (or you may use some other language) program that implements a hybrid root finding algorithm based on bisection and the secant method as described in this …
Hand-out (in pdf format- you need Adobe Acrobat Viewer)
or Hand-out (in PostScript - you need Ghostview) see here for ghostview help.
You should set the digits in Maple to 6 and use a tolerence of 2.e-6. or use single precision arithmatic.
Your program should print a table (including the starting point) of the form:
X(K) ABS(X(K)-X(K-1)) F(X(K))
Test Examples: For each of the examples, use (1,2) as the initial sign change interval (double check this of course). You should compare your answers with the roots found using Maple's root finder fsolve.