This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: x xu(1,1) = 3; x i = 1; i Ea = 0.00001; E while Err > Ea xr(i,1) = (xl(i,1) + xu(i,1))/2; fxl(i,1) = F(xl(i,1)); fxr(i,1) = F(xr(i,1)); fxlfxr(i,1) = fxr(i,1)*fxl(i,1); if fxlfxr(i,1) < 0 xu(i+1,1) = xr(i,1); xl(i+1,1) = xl end e function new = F(X) f new = coefs(1,4) + coefs(1,3).*X + coefs(1,2).*X.^2 + coefs(1,1).*X.^2...
View Full Document
This note was uploaded on 09/21/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.
- Spring '09