taylor2 - T = f(i,w)+h/2*fp(i,w); w2 = w + h*T; w = w2; end;

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function w2 = taylor2(f,fp,a,b,w,h) f % % Taylor 2 % for i = a:h:b-h
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: T = f(i,w)+h/2*fp(i,w); w2 = w + h*T; w = w2; end;...
View Full Document

Ask a homework question - tutors are online