Exercise · ZW-EULER-S-METHOD-005 · ★☆☆ Basic

How many steps does Euler need to go from \(t=0\) to \(t=1\) with \(h=0.25\)?

Choose one option.

Show answer
  • D. \(4\)

Explanation

The number of steps is \((b-a)/h=1/0.25=4\). Miscounting one step less gives three, and forgetting the initial step leads to five.

Study Numerical methods in ZWMath →

Review the concept: Euler's method

Euler's method approximates the solution of an initial value problem \(y'=f(t,y)\), \(y(t_0)=y_0\), advancing in steps of size \(h\) using the slope at the current point.

\[y_{n+1}=y_n+h\,f(t_n,y_n)\]

More practice problems: euler's method

← ZW-EULER-S-METHOD-004 ZW-EULER-S-METHOD-006 →