Section: Engineering Mathematics | Marks: 2
If Runge-Kutta method of order 4 is used to solve the differential equation $\frac{dy}{dx} = f(x)$, $y(0) = 0$ in the interval $[0, h]$ with step size $h$, then
- A. $y(h) = \frac{h}{6}[f(0) + 4f(h/2) + f(h)]$
- B. $y(h) = \frac{h}{6}[f(0) + f(h)]$
- C. $y(h) = \frac{h}{2}[f(0) + f(h)]$
- D. $y(h) = \frac{h}{6}[f(0) + 2f(h/2) + f(h)]$