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, I don't know how to do this and need it done quickly, thanks for your help and time! have a good day :)
Olenka [21]
Sin50° = BC/3
3sin50° = BC
BC = 2.981
Hope this helped!
7 0
3 years ago
(02.06)If 1 pint is equal to 2 cups, then 5 pints would equal ___ cups.
EleoNora [17]

Answer:

If 1 pint is equal to 2 cups, then 5 pints would equal _<u>5</u>_ cups.

Step-by-step explanation:

Let's use a ratio to solve:

pints : cups

  1      :   2

  2     :   4

  3     :   6

  4     :   8

  5     :   10

There would be 10 cups in 5 pints.

3 0
3 years ago
Julie made $22,$55,38,25 how much did she made ?
Dennis_Churaev [7]
Are you trying to add together everything she made in a span of time? If so:
22 + 55 + 38 + 25 = 140

7 0
2 years ago
The difference of the square of a number and 4 is equal to 3 times that number. Find the positive solution.
liberstina [14]

Let the number be 'a':

The difference of the square of a number and 4

a^2 -4

is equal to 3 times that number.

= 3*a

a^2 -4 =3a

a^2 -3a -4=0

(a-4) (a+1)=0

solutions are: 4 and -1

8 0
2 years ago
Read 2 more answers
A grid shows the positions of a subway stop and your house. The subway stop is located at (-1, 0) and your house is located at (
mars1129 [50]
4.47 to the nearest unit would be 4
5 0
3 years ago
Other questions:
  • I need help now!!!!
    12·1 answer
  • Point L has coordinates (3 -5). The coordinates of point L' after a reflection are (-3,-5). Without graphing, tell which axis po
    13·2 answers
  • Take away the parentheses using distributive property.<br> −2(3v − 2x -1)
    10·1 answer
  • 3/4 divided by 5 1/5​
    12·1 answer
  • How do you prove that vertical angles are congruent?
    7·2 answers
  • Need help which of the following appear in the diagram
    14·2 answers
  • I need help with question 8
    12·1 answer
  • Write 2.484848... as a mixed number in simplest form.
    15·1 answer
  • Select the function that represents the simple interest formula.
    6·1 answer
  • -10 + x + 4 - 5 = 7x - 5<br>Step by Step please​
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!