Home › Previous year questions › GATE 2022 CH › Question 46GATE 2022 CH – Question 46 Engineering Mathematics · Numerical Methods: Algebraic equations, integration, ODEs and finite-difference methods · 2 marks · Numerical answer
The equation $\frac{dy}{dx} = xy^2 + 2y + x - 4.5$ with the initial condition $y(x = 0) = 1$ is to be solved using a predictor-corrector approach. Use a predictor based on the implicit Euler's method and a corrector based on the trapezoidal rule of integration, each with a full-step size of 0.5. Considering only positive values of $y$, the value of $y$ at $x = 0.5$ is ___________ (rounded off to three decimal places).
Practise this question in The GATE Grind →
Show answer and explanation Correct answer: 0.865 to 0.885
Explanation Predictor (implicit Euler): $y_p = 1 + 0.5(0.5y_p^2 + 2y_p + 0.5 - 4.5)$, that is $y_p = 1 + 0.25y_p^2 + y_p - 2$, so $0.25y_p^2 = 1$ and $y_p = 2$ (positive root). Corrector (trapezoidal rule): $f_0 = 0 + 2 + 0 - 4.5 = -2.5$ and $f(0.5, 2) = 0.5 \times 4 + 4 + 0.5 - 4.5 = 2$. So $y_1 = 1 + 0.25(-2.5 + 2) = 0.875$.
More Numerical Methods: Algebraic equations, integration, ODEs and finite-difference methods questions GATE 2021 CH Q11 – An ordinary differential equation (ODE), dy/dx=2y, with an initial condition y(0)=1, has… GATE 2021 CH Q44 – To solve an algebraic equation f(x)=0, an iterative scheme of the type x n+1=g(x n) is… GATE 2020 CH Q11 – Which method requires an initial interval bracketing a root to solve f(x) = 0 for a… GATE 2020 CH Q65 – Tabulated x values are 1,3,5,15,25 with corresponding f(x) values 6,8,10,12,5. Use… GATE 2019 CH Q46 – Use Newton-Raphson to estimate a root of f(x)=e(-x)-x after two iterations from initial… GATE 2026 CH Q35 – Using single step trapezoidal rule, the value of 00.5 (1 + 16x - 20x2)\,dx is (rounded off… All Numerical Methods: Algebraic equations, integration, ODEs and finite-difference methods questions →