From New CPS615 Foils-- 28 August 95 CPS615 Basic Simulation Track for Computational Science -- Fall Semester 95. byNancy McCracken and Geoffrey C. Fox
Calculate the function fval for a particular polynomial
Note in a real implementation, integrate should be made into a subroutine with fval as a parameter
Use uniform interval widths so that width is not an array but a scalar constant