Chapter 22: Problem 1
Use order of \(h^{8}\) Romberg integration to evaluate $$\int_{0}^{3} x e^{x} d x$$ Compare \(\varepsilon_{a}\) and \(\varepsilon_{t}\)
/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
Learning Materials
Features
Discover
Chapter 22: Problem 1
Use order of \(h^{8}\) Romberg integration to evaluate $$\int_{0}^{3} x e^{x} d x$$ Compare \(\varepsilon_{a}\) and \(\varepsilon_{t}\)
All the tools & learning materials you need for study success - in one app.
Get started for free
Use Romberg integration to evaluate $$I=\int_{1}^{2}\left(2 x+\frac{3}{x}\right)^{2} d x$$ to an accuracy of \(\varepsilon_{s}=0.5 \%\) based on Eq. \((22.9) .\) Your results should be presented in the form of Fig. \(22.3 .\) Use the analytical solution of the integral to determine the percent relative error of the result obtained with Romberg integration. Check that \(\varepsilon_{t}\) is less than the stopping criterion \(\varepsilon_{s}\)
The amount of mass transported via a pipe over a period of time can be computed as $$M=\int_{t_{1}}^{t_{2}} Q(t) c(t) d t$$ where \(M=\operatorname{mass}(\mathrm{mg}), t_{1}=\) the initial time \((\min ), t_{2}=\) the final time \((\min ), Q(t)=\) flow rate \(\left(\mathrm{m}^{3} / \mathrm{min}\right),\) and \(c(t)=\) concentration \(\left(\mathrm{mg} / \mathrm{m}^{3}\right) .\) The following functional representations define the temporal variations in flow and concentration: $$\begin{array}{l} Q(t)=9+4 \cos ^{2}(0.4 t) \\ c(t)=5 e^{-0.5 t}+2 e^{0.15 t} \end{array}$$ Determine the mass transported between \(t_{1}=2\) and \(t_{2}=8\) min with Romberg integration to a tolerance of \(0.1 \%\)
Develop a user-friendly computer program for the multiplesegment (a) trapezoidal and (b) Simpson's \(1 / 3\) rule based on Fig. \(22.1 .\) Test it by integrating $$\int_{0}^{1} x^{0.1}(1.2-x)\left(1-e^{20(x-1)}\right) d x$$ Use the true value of 0.602298 to compute \(\varepsilon_{t}\) for \(n=4\)
There is no closed form solution for the error function, $$\operatorname{erf}(a)=\frac{2}{\sqrt{\pi}} \int_{0}^{a} e^{-x^{2}} d x$$ Use the two-point Gauss quadrature approach to estimate erf(1.5). Note that the exact value is 0.966105
Employ two- through six-point Gauss-Legendre formulas to solve $$\int_{-3}^{3} \frac{1}{1+x^{2}} d x$$ Interpret your results in light of Eq. (22.32)
What do you think about this solution?
We value your feedback to improve our textbook solutions.