



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




April 6, 2009
Grading 1 / 25 2 / 25 3 / 25 4 / 25 /
Consider the initial-value problem with exact solution y(t) = e−^2 t^ + t:
y′^ = 2(t − y) + 1, 0 ≤ t ≤ 2 , y(0) = 1 (a) Approximate y(2) using Euler’s method with step size h = 0.5. (b) Find the value of h necessary for an error at most 10−^5 in y(2), using the error bound below (notation as in the textbook). |y(ti) − wi| ≤ hM 2 L
eL(ti−a)^ − 1
Show how to use Newton’s method to solve the equation below for x: ∫ (^) x −x^ e
sin t (^) dt = 1.
Use the Composite Simpson’s rule with n = 4 intervals for the integral. You do not have to perform any numerical calculations.
(a) Determine the constants a, b, α such that the quadrature rule ∫ (^1) − 1 f^ (x)^ dx^ ≈^ af^ (−1) +^ af^ (1) +^ bf^ (α) +^ bf^ (−α) has the highest possible degree of precision. Clearly state the degree of precision of the resulting rule.
(b) Use the quadrature rule to approximate the integral below. You can use a, b, α instead of the values calculated in (a). ∫ (^4) 0 e
√x (^) dx.