A matlab *.m file "newton.m"

Click here to down-load the *m file.