The exact solution of $\int_0^4 \dfrac{dx}{1 + x}$ is represented as $n$.
If $m$ represents numerically evaluated value of the above integral using Trapezoidal rule by considering four equal subintervals in the range of $x$, then $(m - n)$ is
The exact value is $n = \ln 5 = 1.6094$. With four equal subintervals, $h = 1$ and the function values are 1, 0.5, 0.3333, 0.25 and 0.2. The trapezoidal rule gives $m = \frac{1}{2}(1 + 0.2) + 0.5 + 0.3333 + 0.25 = 1.6833$. So $m - n = 0.074$.
More Numerical Methods: Algebraic equations, integration by trapezoidal and Simpson rules, ODE methods questions
GATE 2025 ME Q31– The values of a function f obtained for different values of x are shown in the table…
GATE 2024 ME Q11– In order to numerically solve the ordinary differential equation dydt = -y for t > 0, with…
GATE 2023 ME Q50– The initial value problem dydt + 2y = 0, y(0) = 1 is solved numerically using the forward…
GATE 2022 ME (ME2) Q13– Consider the definite integral 12(4x2+2x+6)\,dx. Let I e be the exact value of the…
GATE 2021 ME (ME1) Q14– The ordinary differential equation dydt=- y subject to an initial condition y(0)=1 is…
GATE 2021 ME (ME2) Q28– Value of 45.2 x\,dx using Simpson’s one-third rule with interval size 0.3 is