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

**Unformatted text preview: **than stopping when is smaller. This reversal of the test is sometimes confusing, but it is how it is done. Here is a Matlab function that carries out the bisection algorithm for our cosmx function. The endpoints of the initial interval are variables that you specify when you invoke the function. The Matlab variables xa , xb and xc represent the mathematical quantities , and ....

View Full
Document