206.8.7.47 int sin(10x) cos(5x) dx Simpsons rule

  • MHB
  • Thread starter karush
  • Start date
  • Tags
    Dx
In summary, the conversation discusses the use of Simpson's rule with n=8 intervals to approximate the integral $\displaystyle \int_{0}^{3\pi/5} \sin\left({10x}\right)\cos\left({5x}\right)\,dx$. The result is compared to the exact value of $\frac{4}{15}$ and it is mentioned that numerical methods are typically used for integrals without elementary anti-derivatives. The conversation also includes a sigma notation representation of Simpson's rule and the statement that it is common to be given examples to check
  • #1
karush
Gold Member
MHB
3,269
5
206.8.7.47
$\text{use Simpsons rule} \\
\text{n=8} $

$$\displaystyle
\int_{0}^{3\pi/5} \sin\left({10x}\right)\cos\left({5x}\right)\,dx
\approx \frac{4}{15}=0.2667$$
$$\displaystyle
n=8\therefore \varDelta{x} =\frac{3\pi}{40} \\
S_{47}=\frac{\pi}{40}\left[
y_0+4y_1+2y_2 +4y_3+2y_4+4y_5 +2y_6+4y_7+y_8
\right]\approx -0.0183$$
 
Last edited:
Physics news on Phys.org
  • #2
karush said:
206.8.7.47
$\text{use Simpsons rule} \\
\text{n=8} $

$$\displaystyle
\int_{0}^{3\pi/5} \sin\left({10x}\right)\cos\left({5x}\right)\,dx
\approx \frac{4}{15}=0.2667$$
$$\displaystyle
n=8\therefore \varDelta{x} =\frac{3\pi}{40} \\
S_{47}=\frac{\pi}{40}\left[
y_0+4y_1+2y_2 +4y_3+2y_4+2y_5 +4y_6+2y_7+y_8
\right]\approx -0.0183$$
$\text{how would this be derived in }
\displaystyle \sum_{k=1}^{8}$

Why use Simpson's Rule when you can evaluate this exactly?

$\displaystyle \begin{align*} \int_0^{\frac{3\,\pi}{5}}{ \sin{ (10\,x)} \cos{ (5\,x)} \,\mathrm{d}x } &= \int_0^{\frac{3\,\pi}{5}}{ 2\sin{(5\,x)}\cos{(5\,x)}\cos{(5\,x)}\,\mathrm{d}x } \\ &= -\frac{2}{5}\int_0^{\frac{3\,\pi}{5}}{ -5\sin{(5\,x)}\cos^2{(5\,x)}\,\mathrm{d}x } \end{align*}$

Let $\displaystyle \begin{align*} u = \cos{(5\,x)} \implies \mathrm{d}u = -5\sin{(5\,x)} \end{align*}$ noting that $\displaystyle \begin{align*} u(0) = 1 \end{align*}$ and $\displaystyle \begin{align*} u\left( \frac{3\,\pi}{5} \right) = -1 \end{align*}$ giving

$\displaystyle \begin{align*} -\frac{2}{5} \int_0^{\frac{3\,\pi}{5}}{ -5\sin{(5\,x)}\cos^2{(5\,x)}\,\mathrm{d}x } &= -\frac{2}{5} \int_1^{-1}{ u^2\,\mathrm{d}u } \\ &= \frac{2}{5} \int_{-1}^1{ u^2\,\mathrm{d}u } \\ &= \frac{2}{5} \left[ \frac{u^3}{3} \right] _{-1}^1 \\ &= \frac{2}{5} \left( \frac{1}{3} + \frac{1}{3} \right) \\ &= \frac{4}{15} \end{align*}$
 
  • #3
true, but homework was on Simpson's Rule

I have no earthly idea who would ever use it??

big pain😰
 
  • #4
karush said:
true, but homework was on Simpson's Rule

I have no earthly idea who would ever use it??

big pain😰

Approximate integral methods are typically applied to integrals that don't have an elementary anti-derivative, and they are now done using software with a large number of intervals, or to a designated degree of accuracy.

You want:

\(\displaystyle S_{8}=\frac{\pi}{40}\left(y_0+4y_1+2y_2+4y_3+2y_4+4y_5+2y_6+4y_7+y_8\right)\)

In sigma notation, that would be:

\(\displaystyle S_8=\frac{\pi}{40}\sum_{k=0}^{3}\left(y_{2k}+4y_{2k+1}+y_{2k+2}\right)\)
 
  • #5
And when you are learning a numerical method, it is not uncommon to be given examples that can be done using other, simpler, methods so that you can check your results. The
 

FAQ: 206.8.7.47 int sin(10x) cos(5x) dx Simpsons rule

What is the meaning of "206.8.7.47 int sin(10x) cos(5x) dx Simpsons rule"?

This expression represents the integration of the product of the sine of 10x and the cosine of 5x with respect to x, using the Simpsons rule.

How is Simpsons rule used in this expression?

Simpsons rule is a numerical integration method that approximates the area under a curve by using a parabolic function. In this expression, it is used to approximate the integral of sin(10x) cos(5x) dx.

What is the significance of the numbers 10x and 5x in this expression?

The numbers 10x and 5x represent the variables in the sine and cosine functions, respectively. They determine the frequency and period of the functions and impact the overall shape of the curve being integrated.

Why is it important to specify the range of integration in this expression?

The range of integration specifies the limits within which the integration is performed. In this expression, it is important to specify the range to accurately calculate the area under the curve and obtain a more precise result.

How is this expression used in scientific research?

This expression is commonly used in physics and engineering to approximate the area under a curve and calculate important quantities such as work, energy, and probability. It is also used in data analysis to estimate the integral of a function from a set of discrete data points.

Similar threads

Replies
6
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
Replies
3
Views
2K
Replies
3
Views
1K
Back
Top