MathCastle
Differential EquationsMediumNumerical Methods: Euler to Runge–Kutta

Numerical Methods: Euler to Runge–Kutta · Medium problem

Euler's method with nn equal steps on y′=−yy' = -y, y(0)=1y(0) = 1, over [0,1][0,1] gives the estimate (1−1n)n\left(1 - \dfrac{1}{n}\right)^n of y(1)=e−1y(1) = e^{-1}. Checking small values of nn directly, what is the smallest nn for which this estimate is within 0.050.05 of the true value e−1e^{-1}?