2078 9

CSC212 · 2078 · 5 marks

Evaluate the following integration using Romberg integration.

Evaluate the following integration using Romberg integration. $$\int_{0}^{1} \frac{\sin^2 x}{x} dx$$ [5]

Numerical MethodChapter 3: Numerical Differentiation and IntegrationRomberg integrationNumerical: Romberg integration
  • Integrand: $f(x) = \dfrac{\sin^2 x}{x}$ - Limits: $a = 0$, $b = 1$ - Interval length: $b - a = 1$ Removable singularity at $x=0$: $\lim{x\to 0}\frac{\sin^2 x}{x} = \lim{x\to0}\frac{x^2}{x} = 0$, so $f(0)=0$. $x$ $\sin x$ $\sin^2 x$ $f(x)=\sin^2 x/x$ ------------ $0$ $0$ $0$ $0$ $0.25$