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
Please help out for a brainly <br> show work!!
Hatshy [7]

Answer:

Step-by-step explanation:

y=−5/2x−11 so slope is -5/2

y-intercept means when x is zero, then what is y? the answer is -11. So the y-intercept is (0 , 11)

mark brainliest plz

6 0
2 years ago
Does the point (7 5) satisfy the equation y = x + -2
masha68 [24]

Answer:

Yes

Step-by-step explanation:

7 = x

5 = y

5 = X + - 2

5 = X - 2

If X is 7 then

5 = 7-2

5=5

yes

3 0
2 years ago
Two thirds as a decimal
larisa [96]
2/3
=0.6666666... is your final answer. Hope it help!
4 0
3 years ago
Read 2 more answers
Suppose that 13 inches of wire costs 78 cents.
GarryVolchara [31]

Answer:

$0.42

Step-by-step explanation:

create a proportion:

13/.78 = 7/x

cross-multiply to get:

13x = 7(.78)

13x = 5.46

x = 5.46/13

x = .42

5 0
2 years ago
-3×1/4-6 please help im losing my mind
lora16 [44]

Answer:

-45/4 or -11.25

I'm pretty sure this is right hope it helps

3 0
3 years ago
Read 2 more answers
Other questions:
  • Chetan wants to make a necklace with 50 beads. He knows that 12 beads take up 5 inches of string but the store only sells string
    12·2 answers
  • PLEASE CAN SOMEONE HELP ME?!
    10·1 answer
  • The _____ of y=-5sin2x is 5<br><br> A. Amplitude <br> B. Period <br> C. Frequency
    10·1 answer
  • 2. Find the<br> y-intercept
    10·1 answer
  • Solve this equation. Enter your answer in the box.<br> 13(y+7)=3(y−1).
    10·2 answers
  • Helppp pleaseeew hurryyy
    14·1 answer
  • Preimage Poster = 9 in by 12 in
    14·1 answer
  • What is the slope of the line that passes through these points in decimal form
    11·1 answer
  • What is the classification of each system? Drag the answers into the boxes to match each system. {4x−2y=102x−y=5 {y=2x−3−2x y=−5
    10·1 answer
  • When Kevin bought a new bike ramp, he borrowed $1,200 at a rate of 18% for 9 months. How much interest did he pay?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!