Consider the differential equation ( dy dx =y-x^ 2 ) with the initial condition (y(0)=1 )

MATHEMATICS · Multi-part · CBSE · Mathematics · Differential Equations · Differential Equations

Problem

Consider the differential equation dydx=y−x2\dfrac{dy}{dx}=y-x^{2} with the initial condition y(0)=1y(0)=1. A student wishes to estimate the value of the solution at x=0.4x=0.4 before comparing it to the analytic result. (a) Beginning at (0,1)(0,1), use two equal sub-intervals of length Δx=0.2\Delta x =0.2 to obtain a numerical estimate of y(0.4)y(0.4). Show all intermediate calculations for each increment of xx. (b) Solve the differential equation analytically and determine the exact value of y(0.4)y(0.4). (c) Calculate the absolute error between the estimate from part (a) and the exact value from part (b). (d) Determine the percentage error relative to the exact value and state whether the numerical estimate is an overestimate or an underestimate, justifying your conclusion from the structure of the differential equation.

Related theory

Browse the problem library