GATE XE (Engineering Sciences) 2007 - Question 21

All GATE XE (Engineering Sciences) papers | GATE XE (Engineering Sciences) 2007

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)]$

| | All questions of GATE XE (Engineering Sciences) 2007