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
I need help ASAP<br> please and thank you
raketka [301]

Answer:if this don't help you sry

Step-by-step explanation:

5 0
3 years ago
This is due today can anyone help ?
Lorico [155]

Answer:

C

Step-by-step explanation:

you need to start by plugging in -2x+4 every were it says y then solve for x when you have found x plug it into one of the equations and solve for y

7 0
2 years ago
What value of n makes the equation true?
dsp73
SE NÃO ME ENGANO A RESPOSTA É A 10
7 0
2 years ago
Read 2 more answers
a new car is purchased for 207000 dollars. the value of the car depreciates at 11% per year. what will the value of the car be,
kicyunya [14]
Depreciation of 11% per year means that the price is multiplied by 89% (0.89) every year. Do this 11 times or use exponents

Final price:
207000*(0.89^11) = 57446.083
7 0
3 years ago
The mean percent of childhood asthma prevalence in 43 cities is 2.16%. A random sample of 31 of these cities is selected. What i
IceJOKER [234]

Probability that the mean childhood asthma prevalence for the sample is greater than 2.6% is 0.0357 or 3.57 %.

What is Probability ?

Probability is the measure of likelihood of an event.

For a Normal Distribution ,

the z-score formula is given by

\rm Z = \dfrac{X - \mu }{\sigma}

Here \rm \mu\\ is the mean and \rm \sigma\\ is the standard deviation .

It is the measure of the deviation of the data from its central tendency.

Each z-score has a probability value.

It is given in the question that

Mean of 2.16% =  \rm \mu\\ = 2.16

Standard deviation of 1.36% means that  \rm \sigma\\ = 1.36

For Sample of 31 the value of standard deviation is \rm s = \dfrac{\sigma}{\sqrt{n}}

s = 1.36/√31

s = 0.2442

Substituting the values

Z = (2.6 -2.16)/0.2442

Z =1.8

the p value from the graph of z and p , 0.9643

To determine value of probability  more than X is 1 - 0.9643= 0.0357

the

Probability that the mean childhood asthma prevalence for the sample is greater than 2.6% is 0.0357.

To know more about Probability

brainly.com/question/11234923

#SPJ1

6 0
2 years ago
Other questions:
  • You are packing a boxed gift in a larger shipping box. The dimensions of the shipping box are all 1.3 times the dimensions of th
    9·2 answers
  • Marie's Clothing Store had an accounts receivable balance of $ 470 comma 000 at the beginning of the year and a yearminusend bal
    8·1 answer
  • What is the value of (f-g)(5)
    7·2 answers
  • A multivitamin tablet contains 10.5 mg of calcium. How much calcium does a bottle of 50 tablets contain? Write your answer in gr
    14·2 answers
  • The population of a pack of wolves is 88. the population is expected to grow at a rate of 2.5% each year. what function equation
    5·2 answers
  • The larger triangle is a dilation of the smaller triangle with a center of dilation at (1,−1).
    13·1 answer
  • Mary called a plumber to fix her leaky faucet. The plumber charged a $50 service fee and $20 per hour. Mary owed the plumber $95
    6·2 answers
  • Subtract. (a + 2b) – (3a – b)<br> 4a + 3b<br><br> –2a + 3b<br><br> –2a + b<br><br> 4a – b
    15·2 answers
  • Marco's family is renting a cabin by the lake. The cost is $40 per day plus a one-time cleaning fee of $60. How many whole days
    15·1 answer
  • A dairy needs 365 gallons of milk containing 7% butterfat. How many gallons each of milk containing 9% butterfat and milk contai
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!