2079 10

MTH117 · 2079 · 5 marks

Use Trapezoidal rule to approximate the integral int12 fracdxx, with n=5.

Use Trapezoidal rule to approximate the integral $\int_1^2 \frac{dx}{x}$, with n=5. [5]

Mathematics IChapter 6: Applications of AntiderivativesApproximate IntegrationsNumerical: trapezoidal rule integration
  • $a = 1$, $b = 2$, $n = 5$ - $f(x) = \dfrac{1}{x}$ $$h = \frac{b-a}{n} = \frac{2-1}{5} = 0.2$$ $i$ $xi$ $f(xi) = 1/xi$ ------------------------------ 0 1.0 $1.00000$ 1 1.2 $0.83333$ 2 1.4 $0.71429$ 3 1.6 $0.62500$ 4 1.8 $0.55556$ 5 2.0 $0.50000$ $$\inta^b f(x),dx \approx \frac{h}{2}\Big[f(x0) +...