This preview shows page 1. Sign up to view the full content.
Unformatted text preview: test=func(xl)*func(xr); fprintf(' %1d %2.1f %6.5f %6.5f %6.5f %6.5f %6.5f %6.5f %5.3f\n',iteration, xl,xu,func(xl),func(xu),xr,func(xr), test, ea) if test<0 xu=xr; elseif test>0 xl=xr; else ea=0; end if ea<=es||iteration>=maxit,break, end end...
View Full Document
This note was uploaded on 09/27/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.
- Spring '09