This preview shows page 1. Sign up to view the full content.
Unformatted text preview: rule applied to the integral, 1 Z x 2 dx = 1 3 Write a computer code that ﬁrst uses the trapezoidal rule and then Simp-son’s rule to evaluate this integral. Use a step size of h = 0 . 05. How many points does that give you for the trapezoidal and the Simpson’s rule? Com-pare your computer derived answer to the exact answer and brieﬂy explain the reason why. Attach your computer code....
View Full Document
This note was uploaded on 10/28/2009 for the course AERSP 313 at Penn State.