2078 10

Numerical Methods20785 marksNumerical: Trapezoidal rule integrationTrapezoidal rule and composite trapezoidal rule

Solve the following integral using trapezoidal rule form = 8, l=int24 (x4 + 1)dx.

Solve the following integral using trapezoidal rule form = 8, $l=\int_{2}^{4} (x^4 + 1)dx$. [5]

  • Integral: $l = \int2^4 (x^4 + 1),dx$ - $a = 2$, $b = 4$ - Number of subintervals: $n = 8$ Step size: $$h = \frac{b-a}{n} = \frac{4-2}{8} = 0.25$$ Table of values with $f(x) = x^4 + 1$: $i$ $xi$ $xi^4$ $f(xi)$ ------------------------------- 0 2.00 16.0000 17.0000 1 2.25 25.62891 26.62891 2 2.5...
Up nextGiven the equation y′=3x2+1y' = 3x^2 + 1y′=3x2+1 with y(1) = 2, estimate y(2) by Euler's M