Using the forward Euler method to solve y''(t) = f(t), with y(0) = 0 and y'(0)…
GATE · 1997 · CS · Question 4 subparts
Using the forward Euler method to solve y''(t) = f(t), with y(0) = 0 and y'(0) = 0, and step size h, the values of y in the first four iterations are:
- A.
0, h f(0), h(f(0) + f(h)), h(f(0) + f(h) + f(2h))
- B.
0, 0, h^2 f(0), h^2(2f(0) + f(h))
- C.
0, 0, h^2 f(0), 3h^2 f(0)
- D.
0, 0, h f(0) + h^2 f(0), h f(0) + h^2 f(0) + h f(h)
Attempted by 8 students.
Sign up free to check your answer
Sign up freeLoading lesson…