MathCastle
Differential EquationsChallengeNumerical Methods: Euler to Runge–Kutta

Numerical Methods: Euler to Runge–Kutta · Challenge problem

Heun's method is applied to y′=t2y' = t^2, y(0)=0y(0) = 0 with nn equal steps on [0,1][0, 1], producing an estimate YnY_n of y(1)=13y(1) = \dfrac{1}{3}. What is the smallest nn for which ∣Yn−13∣≤11000\left|Y_n - \dfrac{1}{3}\right| \le \dfrac{1}{1000}?