This preview shows page 1. Sign up to view the full content.
Unformatted text preview: n for i = 0:n-1 w(i+2,1) = w(i+1,1) + h*func(a+i*h+h/2,w(i+1,1)+h/2*func(a+i*h,w(1+i,1))); if(w(i+2,1)<0) break; end; end;...
View Full Document
This note was uploaded on 09/19/2009 for the course MATH numerical taught by Professor Ford during the Spring '09 term at FAU.
- Spring '09