This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ea=abs((xi-xold)/xi); fprintf(' %1d %7.6f %6.5f %6.5f %6.5f\n',count, xi,f,f_prime,ea) xold=xi; xi=xi-(f/f_prime); count=count+1; if count==iter; break; end 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