====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:fall-2012:math445:newtonsearch.m [2012/09/24 19:33] gibson created |
gibson:teaching:fall-2012:math445:newtonsearch.m [2012/09/24 20:38] (current) gibson |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | A bare-bones Newton search code for solving the nonlinear equation //f(x) = 0//. | ||
+ | |||
<code> | <code> | ||
function x = newtonsearch(f,x) | function x = newtonsearch(f,x) | ||
Line 22: | Line 24: | ||
| | ||
end | end | ||
+ | </code> |