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
An electronics store is having a 15% off sale. Suppose the sale price(p) of a laptop is $495. Which statement are true for this
valentina_108 [34]

Answer:

The answer to the Question is D

5 0
3 years ago
Read 2 more answers
If m = 35 cm and n = 37 cm, what is the length of l?
ElenaW [278]
Minus m-n = 36 so 36 is your answer.
6 0
3 years ago
Read 2 more answers
Solve for x. Show each step of the solution. Show all work. 4.5(8-x)+36-2.5(3x+24)=102
sergejj [24]

4.5(8 - x) + 36 = 102 - 2.5(3x + 24)

36 - 4.5x + 36 = 102 - 7.5x - 60

72 - 4.5x = 42 - 7.5x

-4.5x + 7.5x = 42 - 72

3x = - 30

x = -30/3

x = -10 <===

Hope this helps!

4 0
3 years ago
Brainlist for correct answer =]
Vesnalui [34]

Answer:

4

Step-by-step explanation:

The mode is the number that appears the most!!!!

Now lets solve :)

2, 2, 3, 3, 4, 4, 4, 4,

There are 2 2s.

There are 2 3s.

There are 4 4s.

The mode is 4!!! :)

Have an amazing day!!

Plese rate and mark brainliest!!

5 0
2 years ago
Read 2 more answers
GUY PLEASE HELP ME FAST, NO LINK PLS. QUESTION IS DUE ASAP
Alekssandra [29.7K]

Answer:

yes it is!!

Step-by-step explanation:

every input goes to an output

5 0
3 years ago
Other questions:
  • Think about the value of 6 in this number:
    5·1 answer
  • What fraction is equivalent to 5/9
    11·2 answers
  • What is the volume of 5cm on each side?
    10·2 answers
  • 6-Relizar alguna de las operaciones básicas en forma algebraica, clasificando los valores de acuerdo a su tipo.
    14·1 answer
  • Frank has $66.50 in his account on Sunday. Over the next week, he makes the following changes to his balance via deposits and pu
    5·2 answers
  • Enrique predicts that he can make additional money from sales of accessories and services for computer products sold by his stor
    10·1 answer
  • Peter has invented a game with paper cups. He lines up 121 cups face down in a straight line from left to right and consecutivel
    9·1 answer
  • Finding the cube roots of REALLY BIG Numbers.
    12·1 answer
  • So many more questions coming in that means more points
    11·2 answers
  • I need help with this​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!