*This preview shows
page 1. Sign up
to
view the full content.*

**Unformatted text preview: **root , which I will call approxRoot to make a point, is written on the left of an equal sign. The first few lines of the file bisect_cosmx.m should be: function approxRoot = bisect_cosmx( xa, xb) % approxRoot = bisect( xa, xb) uses bisection to find a % root of cosmx between a and b to tolerance 0.000001 % xa=left end point of interval % xb=right end point of interval % cosmx(xa) and cosmx(xb) should be of opposite signs...

View
Full
Document