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
TJ is investing his birthday money in a savings account that pays 3% interest. If he invests $200, how much will he have at the
Furkat [3]

Answer:

A. $204.50

Step-by-step explanation:

4 0
3 years ago
Read 2 more answers
What term describes the monomial 14xyz?<br> A. constant<br> B. linear<br> C. quadratic<br> D. cubic
kvv77 [185]

Answer:

B

Step-by-step explanation:

I just took the test.

8 0
3 years ago
Read 2 more answers
Louisa has $145 saved in her account. She makes $8 an hour at work. How many hours must she work to have at least $320?
musickatia [10]
<span>$145 saved in her account.
</span><span>$8 an hour at work.
</span><span>at least $320

320 - 145 = 175

175 </span>÷ 8 = 21.875

Louisa needs to work about 22 more hrs to have at least $320!
6 0
3 years ago
A roll of ribbon was 12 meters long. Diego cut 9 pieces of ribbon that were 0.4 meters each to tie some presents. He then used t
andrezito [222]

Answer:

I dont understand what the question is but

diego used 3.6 meters for the presents

and was able to make 14 wreaths

Step-by-step explanation:

9  x .4 = 3.6  

12-3.6=8.4

8.4/.6=14

4 0
2 years ago
Make me laugh for 15 points. Use comments and answers
enyata [817]

Answer:

umm...im not funny tho.......

Step-by-step explanation:

7 0
2 years ago
Other questions:
  • The ratio of M &amp; M’s to raisins in a bag of trail mix is 3:5. If there are 36 M &amp; M’s, how many raisins are there?
    9·1 answer
  • Remy, from the blog "Rapping with Remy," asked his readers, "If you had the chance, would you want to be famous?" Of the 2,200 r
    9·1 answer
  • Which best describes a force?
    13·1 answer
  • I don't know the formulas for these problems
    8·1 answer
  • Use the distributive property to find the missing number.<br> __× (9 + 8) = (15 × 9) + (15 × 8)
    13·1 answer
  • What is the angle relationship shown below?
    13·1 answer
  • Plzzzz brainlest I swear
    12·2 answers
  • 18x = ~36?
    14·1 answer
  • I’ll and 20 for the answer
    12·2 answers
  • Simplify Fraction improper 13/8
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!