MATHEMATICS · Multi-part · AP · Calculus BC · Differential Equations · Differential Equations
Problem
Let y be a function that satisfies dxdy=x2−y with y(0)=1. A student uses the following iterative procedure:
• Start at (x0,y0)=(0,1).
• For each step, increase x by h=0.25 and increase y by (slope at the current point)×h.
The student records intermediate values to three decimal places.
(a) Compute the student’s approximation to y(0.25).
(b) Using the value from part (a), compute the student’s approximation to y(0.50).
(c) The exact solution of the differential equation is y(x)=x2−2x+2−ex1. Calculate the exact values of y(0.25) and y(0.50), then determine the numerical error in each of the approximations from parts (a) and (b).
(d) Compare the magnitudes of the two errors obtained in part (c). Provide a mathematical explanation for the observed change in error between the first and second step.