Home › Previous year questions › GATE 2025 CE (CE1) › Question 49GATE 2025 CE (CE1) – Question 49 Engineering Mathematics · Numerical Methods: Error analysis, algebraic equations, interpolation, differentiation, integration, ODEs · 2 marks · Numerical answer
Consider the differential equation given below. Using the Euler method with the step size ($h$) of 0.5, the value of $y$ at $x = 1.0$ is equal to ____________ (*rounded off to 1 decimal place*).
$$\frac{dy}{dx} = y + 2x - x^2; \qquad y(0) = 1 \qquad (0 \le x < \infty)$$
Practise this question in The GATE Grind →
Show answer and explanation Correct answer: 2.6 to 2.7
Explanation Euler's method uses $y_{n+1} = y_n + h\,f(x_n, y_n)$. At $x = 0$: $f = 1 + 0 - 0 = 1$, so $y(0.5) = 1 + 0.5 \times 1 = 1.5$. At $x = 0.5$: $f = 1.5 + 1 - 0.25 = 2.25$, so $y(1.0) = 1.5 + 0.5 \times 2.25 = 2.625$, which is about 2.6 to 2.7 to one decimal place.
More Numerical Methods: Error analysis, algebraic equations, interpolation, differentiation, integration, ODEs questions GATE 2024 CE (CE1) Q11 – The smallest positive root of the equation x5 - 5x4 - 10x3 + 50x2 + 9x - 45 = 0 lies in… GATE 2024 CE (CE1) Q32 – Consider the data of f(x) given in the table. i 0 1 2 --- --- --- --- x i 1 2 3 f(x i) 0… GATE 2024 CE (CE2) Q13 – The second derivative of a function f is computed using the fourth-order Central Divided… GATE 2023 CE (CE1) Q36 – A function f(x), that is smooth and convex-shaped between interval (x l, x u) is shown in… GATE 2023 CE (CE1) Q52 – The differential equation, dudt + 2tu2 = 1, is solved by employing a backward difference… GATE 2022 CE (CE1) Q29 – For initial guess x 1=1, use x n+1=12(x n+P/x n). For P=2 and P=3, x₅ rounds to 1.414 and… All Numerical Methods: Error analysis, algebraic equations, interpolation, differentiation, integration, ODEs questions →