COMP203: Lecture 23


Syllabus | Homework and Assignments | Grading Rubric | Midterm Exam | Final Project
Today we'll use Maple to write a program that uses Newton's method to search for the zeros (x-intercepts) of a function. You can find information on Newton's method in lectures 7 and 11 on Logo, on the internet, and in Maple. Maple already has a bulit-in tool for using Newton's method -- feel free to explore it, but don't use it in your program!

Your completed program should accept a function or expression and a guess at an x-intercept as inputs. It should output an "improved guess" at the x-intercept.

SAVE YOUR WORK OFTEN! It's not always possible to stop Maple when it gets into an infinite loop.

Some things to think about: