In the following differential equation, the numerically obtained value of , at , is ________ (Round off to 2 decimal places).
GATE 2023 EE Q.34: solution and answer
Answer and solution
ANSWER
y(1) = ∫₀¹ e^(−0.01t)/(2 + 0.01t) dt ≈ 0.4963, which rounds to 0.50.
Official answer: 0.48 to 0.52Source: Official answer key, GATE 2023 EE (IIT Kanpur)
The right-hand side depends only on , not on , so the ODE integrates directly: Substituting turns this into , an exponential integral with no elementary closed form. So we evaluate it numerically.
Evaluate the integrand at the nodes for Simpson's 1/3 rule with : , , .
Apply Simpson's 1/3 rule, :
Cross-check with the trapezoidal rule on one interval: . The two results agree to four decimal places () because is almost linear on when is this small. Even a single Euler step, , gives the same answer to 2 decimal places.
Rounded to 2 decimal places: .
KEY IDEA
When dy/dt depends only on t, the initial-value problem is really a definite integral: y(1) = y(0) + ∫₀¹ f(t) dt. Here α = 0.01 is small, so the integrand barely moves from 1/2 across [0, 1] and y(1) ≈ 0.50. Simpson's rule, the trapezoidal rule and a single Euler step all agree on this to 2 decimal places.
WATCH OUT FOR
Reporting the slope at t = 1, f(1) ≈ 0.4926, as the value of y(1). y is the area accumulated under the slope curve from 0 to 1, not the slope at the end point. That answer only lands near the key here because f is almost constant. The other common slip is to assume the right-hand side depends on y and start a multi-step Runge–Kutta calculation. Nothing here needs that: it is a single quadrature.
From the GATE 2023 EE paper. Every question of this paper · Download the full paper · All 13 Numerical methods questions, with notes
More Numerical methods questions
- GATE 2022 BT Q.47 · MSQ · 2 marksConsider the ordinary differential equation dy/dx = f(x,y) = 2x^2 - y^2.
- GATE 2022 IN Q.34 · NAT · 1 markThe Newton-Raphson method is applied to determine the solution of f(x) = 0 where f(x) = x - cos (x).
- GATE 2020 BT Q.25 · NAT · 1 markA variable Y is a function of t. Given that Y(t = 0) = 1 and Y(t = 1) = 2, dY/dt in the interval t = [0, 1]…
- GATE 2020 IN Q.2 · MCQ · 1 markConsider the recursive equation X_n+1 = X_n - h(F(X_n) - X_n), with initial condition X_0 = 1 and h > 0…
