This preview shows page 1. Sign up to view the full content.
Unformatted text preview: npts = nstrips+1; h=(b-a)/nstrips; x=[a:h:b]'; f=func(x); I = (h/3)*(f(1,1)+4*sum(f(2:2:npts-1,1). ..... 2*sum(f(2:npts-1,1)+f(npts,1));...
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