Consider the initial value problem $x' = x+e^{-x}$ , $x(0)= 0$. This problem can’t be solved analytically.
Using the Euler method, compute $x$ at $t = 1$, correct to three decimal places. How small does the stepsize need to be to obtain the desired accuracy? (Give the order of magnitude, not the exact number.
I am not sure how to go about this, I was thinking guess and check but figured that would take too long. Is there a method for determining the stepsize given these conditions?
Any help or intuition would be greatly appreciated.