Exercise · ZW-EULER-S-METHOD-006 · ★★☆ Intermediate

Apply one Euler step to \(y'=t-y\), \(y(0)=2\), with \(h=0.1\). What is \(y_1\)?

Choose one option.

Show answer
  • C. \(1.8\)

Explanation

Since \(f(0,2)=0-2=-2\), we get \(y_1=2+0.1\cdot(-2)=1.8\). Using a positive sign gives \(2.2\), and evaluating \(f\) at \(t_1\) gives a different value.

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-005 ZW-EULER-S-METHOD-007 →