Mathematics

Mathematics

Problem

Consider the differential equation dydx=x+y\dfrac{dy}{dx}=x+y with initial condition y(0)=1y(0)=1. Let yE(0.4)y_{\text{E}}(0.4) be the approximation obtained using a uniform step size of h=0.2h=0.2. The exact solution is y(x)=−x−1+2exy(x)=-x-1+2e^{x}. What is the absolute error ∣yE(0.4)−y(0.4)∣\bigl|y_{\text{E}}(0.4)-y(0.4)\bigr|? a) 0.0660.066 b) 0.1840.184 c) 0.1040.104 d) 0.0160.016

Browse the problem library