1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
inna [77]
3 years ago
12

Use the Trapezoidal Rule, the Midpoint Rule, and Simpson's Rule to approximate the given integral with the specified value of n.

(Round your answers to six decimal places.) π/2 0 3 1 + cos(x) dx, n = 4

Mathematics
1 answer:
Vera_Pavlovna [14]3 years ago
3 0

Split up the integration interval into 4 subintervals:

\left[0,\dfrac\pi8\right],\left[\dfrac\pi8,\dfrac\pi4\right],\left[\dfrac\pi4,\dfrac{3\pi}8\right],\left[\dfrac{3\pi}8,\dfrac\pi2\right]

The left and right endpoints of the i-th subinterval, respectively, are

\ell_i=\dfrac{i-1}4\left(\dfrac\pi2-0\right)=\dfrac{(i-1)\pi}8

r_i=\dfrac i4\left(\dfrac\pi2-0\right)=\dfrac{i\pi}8

for 1\le i\le4, and the respective midpoints are

m_i=\dfrac{\ell_i+r_i}2=\dfrac{(2i-1)\pi}8

  • Trapezoidal rule

We approximate the (signed) area under the curve over each subinterval by

T_i=\dfrac{f(\ell_i)+f(r_i)}2(\ell_i-r_i)

so that

\displaystyle\int_0^{\pi/2}\frac3{1+\cos x}\,\mathrm dx\approx\sum_{i=1}^4T_i\approx\boxed{3.038078}

  • Midpoint rule

We approximate the area for each subinterval by

M_i=f(m_i)(\ell_i-r_i)

so that

\displaystyle\int_0^{\pi/2}\frac3{1+\cos x}\,\mathrm dx\approx\sum_{i=1}^4M_i\approx\boxed{2.981137}

  • Simpson's rule

We first interpolate the integrand over each subinterval by a quadratic polynomial p_i(x), where

p_i(x)=f(\ell_i)\dfrac{(x-m_i)(x-r_i)}{(\ell_i-m_i)(\ell_i-r_i)}+f(m)\dfrac{(x-\ell_i)(x-r_i)}{(m_i-\ell_i)(m_i-r_i)}+f(r_i)\dfrac{(x-\ell_i)(x-m_i)}{(r_i-\ell_i)(r_i-m_i)}

so that

\displaystyle\int_0^{\pi/2}\frac3{1+\cos x}\,\mathrm dx\approx\sum_{i=1}^4\int_{\ell_i}^{r_i}p_i(x)\,\mathrm dx

It so happens that the integral of p_i(x) reduces nicely to the form you're probably more familiar with,

S_i=\displaystyle\int_{\ell_i}^{r_i}p_i(x)\,\mathrm dx=\frac{r_i-\ell_i}6(f(\ell_i)+4f(m_i)+f(r_i))

Then the integral is approximately

\displaystyle\int_0^{\pi/2}\frac3{1+\cos x}\,\mathrm dx\approx\sum_{i=1}^4S_i\approx\boxed{3.000117}

Compare these to the actual value of the integral, 3. I've included plots of the approximations below.

You might be interested in
What is 14% of 3.09 million
svlad2 [7]

14% * 3.09 million = 432,600

7 0
3 years ago
Simplify the expression by combining like terms. -8y + 2 + 10y - 7<br> Please help
Alecsey [184]

Answer:

<u>2y - 5 (read below)</u>

Step-by-step explanation:

-8y + 10y = 2y

2 + (-7) = -5

Your expression could/would be:

2y - 5.

Hope this helps!

8 0
3 years ago
Read 2 more answers
Passes through the points (−4, 2) and (12, 6)?
svlad2 [7]

<u>I'll assume you need to find the equation of the line that passes through those points.</u>

Answer:

\displaystyle y-2=\frac{1}{4}(x+4)

Step-by-step explanation:

<u>Equation of a Line:</u>

The equation of a line passing through points (x1,y1) and (x2,y2) can be found as follows:

\displaystyle y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)

The given points are (-4,2) and (12,6), thus:

\displaystyle y-2=\frac{6-2}{12+4}(x+4)

Operating:

\displaystyle y-2=\frac{4}{16}(x+4)

Simplifying, the equation in point-slope form is:

\mathbf{\displaystyle y-2=\frac{1}{4}(x+4)}

3 0
3 years ago
Which of the following is the correct classification of ∆mnp if m&lt;m=35° and m&lt;p=47°?​
AnnZ [28]

Answer:

D. Obtuse.

Step-by-step explanation:

We are told that in \Delta MNP m\angle M=35^o and m\angle P=47^o. We are asked to classify our given \Delta MNP.

We can see that angle M and angle P are acute angles as their measure is less than 90 degrees.

Let us find the measure of angle P using angle sum property of triangles, which states that sum of interior angles of a triangle is 180 degrees.

So we can set an equation as:

m\angle M+m\angle P+m\angle N=180^o

Upon substituting our given values we will get,

35^o+47^o+m\angle N=180^o

82^o+m\angle N=180^o

82^o-82^o+m\angle N=180^o-82^o

m\angle N=98^o

As measure of angle N is 98 degrees, so angle N is an obtuse angle.

Since a triangle having an angle that measures more than 90 degrees is called an obtuse triangle, therefore, \Delta MNP is an obtuse triangle and option D is the correct choice.

4 0
3 years ago
Read 2 more answers
How much fabric is needed to make this
abruzzese [7]

Answer:

f

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • How many terms are in 2+4x+7y
    13·1 answer
  • you can fill a 15 gallon tank of gas for $52.47 or buy gas for $3.40 a gallon help me solve this problem
    5·1 answer
  • Margo can purchase tile at a store for $0.99 per tile and rent a tile saw for $18. At another store she can borrow the tile saw
    13·1 answer
  • PLEASE HELP I WILL GIVE BRAINLEIST PLEASE ALSO SHOW STEPS!!!!!!
    13·1 answer
  • What is the value of the expression shown below?
    15·1 answer
  • Simplify and answer please
    8·2 answers
  • PLEASE HELP Find the area SHOW YOUR WORK
    13·1 answer
  • Plz help this is due today i would have done it myself but i totally forgot about these so PLZ HELP AND NO LINKS AND NO GROSS PI
    9·2 answers
  • HELPEHEGEDHGDGXCCVCCXVV
    7·1 answer
  • Need help now due in 5 minutes pls help quick now pls pls pls pls pls
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!