Find the value of $\int_1^5 \log_{10} x\,dx$, taking 8 subintervals correct to four decimal places by Trapezoidal rule.
Akshit Bhardwaj, AIR 12, 2025
Taking 8 sub-intervals of width 0.5
$h=0.5$
| $x$ | $f(x)$ | | |---|---|---| | $x_0 = 1$ | $0$ | $= y_0$ | | $x_1 = 1.5$ | $0.176091$ | $= y_1$ | | $x_2 = 2$ | $0.301029$ | $= y_2$ | | $x_3 = 2.5$ | $0.397940$ | $= y_3$ | | $x_4 = 3$ | $0.477121$ | $= y_4$ | | $x_5 = 3.5$ | $0.544068$ | $= y_5$ | | $x_6 = 4$ | $0.602059$ | $= y_6$ | | $x_7 = 4.5$ | $0.653212$ | $= y_7$ | | $x_8 = 5$ | $0.698970$ | $= y_8$ |
Trapezoidal Rule says
Rounding off upto 4 decimal places
Truncating upto 4 decimal places