Euler's Method - Calculus 2

11 cards. Flip a card to check yourself, or study the whole deck card by card.

All 11 cards in this deck

  1. Use one step of Euler's method with h=0.5h=0.5 on dydx=x−y\frac{dy}{dx}=x-y, y(0)=2y(0)=2. What is the approximation of y(0.5)y(0.5)?
    1. y1=2+0.5(0−2)=1y_1=2+0.5(0-2)=1.
  2. Use two steps of Euler's method with h=0.5h=0.5 on dydx=y\frac{dy}{dx}=y, y(0)=1y(0)=1. What is the approximation of y(1)y(1)?
    2.25. y1=1+0.5(1)=1.5y_1=1+0.5(1)=1.5 and y2=1.5+0.5(1.5)=2.25y_2=1.5+0.5(1.5)=2.25.
  3. What is the Euler's method update for dydx=f(x,y)\frac{dy}{dx}=f(x,y) with step size hh?
    yn+1=yn+h f(xn,yn)y_{n+1}=y_n+h\,f(x_n,y_n) and xn+1=xn+hx_{n+1}=x_n+h.
  4. How many Euler steps of size h=0.25h=0.25 are needed to go from x=0x=0 to x=1x=1?
    4. The number of steps is 1−00.25=4\frac{1-0}{0.25}=4.
  5. Use one step of Euler's method with h=0.1h=0.1 on dydx=x+y\frac{dy}{dx}=x+y, y(0)=1y(0)=1. What is the approximation of y(0.1)y(0.1)?
    1.1. y1=1+0.1(0+1)=1.1y_1=1+0.1(0+1)=1.1.
  6. If the true solution is concave up over the steps, does Euler's method overestimate or underestimate it?
    It underestimates. Tangent lines lie below a concave-up curve.
  7. What expression does Euler's method give for y(1)y(1) on dydx=y\frac{dy}{dx}=y, y(0)=1y(0)=1, using nn equal steps?
    (1+1n)n\left(1+\frac{1}{n}\right)^n. Each step multiplies by 1+h1+h with h=1nh=\frac{1}{n}, and the result approaches ee as nn grows.
  8. Use one step of Euler's method with h=0.5h=0.5 on dydx=2x\frac{dy}{dx}=2x, y(1)=3y(1)=3. What is the approximation of y(1.5)y(1.5)?
    4. y1=3+0.5(2â‹…1)=4y_1=3+0.5(2\cdot 1)=4.
  9. For Euler's method, approximately how does the error at a fixed endpoint change when the step size hh is halved?
    It is roughly halved. Euler's method is first order, so its global error is proportional to hh.
  10. Use one step of Euler's method with h=0.1h=0.1 on dydx=xy\frac{dy}{dx}=xy, y(1)=2y(1)=2. What is the approximation of y(1.1)y(1.1)?
    2.2. y1=2+0.1(1â‹…2)=2.2y_1=2+0.1(1\cdot 2)=2.2.
  11. Geometrically, what does each step of Euler's method follow?
    The tangent line at the current point, whose slope is given by the differential equation, for a horizontal distance hh.

Study these flashcards