MathCastle
Differential EquationsChallengeNumerical Methods: Euler to Runge–Kutta

Numerical Methods: Euler to Runge–Kutta · Challenge problem

For y ′=yy\,\prime = y, y(0)=1y(0) = 1, Euler's method with step hh gives y(1)≈(1+h)1/hy(1) \approx (1 + h)^{1/h}. With h=0.5h = 0.5, compute the error e−(1+h)2e - (1 + h)^{2} to three decimal places.