Discussion
For a given initial value problem
\(y' = y - x\), \(y(0) = 2\)
the value of \(y(0.1)\) by Runge-Kutta second order method is :
Answer: C
\(y(0.1) \approx\) 2.2050.
With \(f(x, y) = y - x\), \(h = 0.1\) and the second-order Runge-Kutta (Heun) method:
\[ \begin{aligned} k_{1} &= hf(0, 2) = 0.1 \times 2 = 0.2 \\ k_{2} &= hf(0.1, 2.2) = 0.1 \times 2.1 = 0.21 \\ y_{1} &= 2 + \tfrac{1}{2}(0.2 + 0.21) = 2.205 \end{aligned} \]
The midpoint form of RK2 gives the same value here. The exact solution \(y = x + 1 + e^{x}\) gives 2.2052, so the answer is accurate. 2.2100 adds \(k_{2}\) alone (an Euler step with the end slope), and 2.0050 and 2.1900 do not follow from the method.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development