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
Orlov [11]
3 years ago
13

Consider the integral Integral from 0 to 1 e Superscript 6 x Baseline dx with nequals 25 . a. Find the trapezoid rule approximat

ions to the integral using n and 2n subintervals. b. Find the​ Simpson's rule approximation to the integral using 2n subintervals. c. Compute the absolute errors in the trapezoid rule and​ Simpson's rule with 2n subintervals.
Mathematics
1 answer:
photoshop1234 [79]3 years ago
6 0

Answer:

a.

With n = 25, \int_{0}^{1}e^{6 x}\ dx \approx 67.3930999748549

With n = 50, \int_{0}^{1}e^{6 x}\ dx \approx 67.1519320308594

b. \int_{0}^{1}e^{6 x}\ dx \approx 67.0715427161943

c.

The absolute error in the trapezoid rule is 0.08047

The absolute error in the Simpson's rule is 0.00008

Step-by-step explanation:

a. To approximate the integral \int_{0}^{1}e^{6 x}\ dx using n = 25 with the trapezoid rule you must:

The trapezoidal rule states that

\int_{a}^{b}f(x)dx\approx\frac{\Delta{x}}{2}\left(f(x_0)+2f(x_1)+2f(x_2)+...+2f(x_{n-1})+f(x_n)\right)

where \Delta{x}=\frac{b-a}{n}

We have that a = 0, b = 1, n = 25.

Therefore,

\Delta{x}=\frac{1-0}{25}=\frac{1}{25}

We need to divide the interval [0,1] into n = 25 sub-intervals of length \Delta{x}=\frac{1}{25}, with the following endpoints:

a=0, \frac{1}{25}, \frac{2}{25},...,\frac{23}{25}, \frac{24}{25}, 1=b

Now, we just evaluate the function at these endpoints:

f\left(x_{0}\right)=f(a)=f\left(0\right)=1=1

2f\left(x_{1}\right)=2f\left(\frac{1}{25}\right)=2 e^{\frac{6}{25}}=2.54249830064281

2f\left(x_{2}\right)=2f\left(\frac{2}{25}\right)=2 e^{\frac{12}{25}}=3.23214880438579

...

2f\left(x_{24}\right)=2f\left(\frac{24}{25}\right)=2 e^{\frac{144}{25}}=634.696657835701

f\left(x_{25}\right)=f(b)=f\left(1\right)=e^{6}=403.428793492735

Applying the trapezoid rule formula we get

\int_{0}^{1}e^{6 x}\ dx \approx \frac{1}{50}(1+2.54249830064281+3.23214880438579+...+634.696657835701+403.428793492735)\approx 67.3930999748549

  • To approximate the integral \int_{0}^{1}e^{6 x}\ dx using n = 50 with the trapezoid rule you must:

We have that a = 0, b = 1, n = 50.

Therefore,

\Delta{x}=\frac{1-0}{50}=\frac{1}{50}

We need to divide the interval [0,1] into n = 50 sub-intervals of length \Delta{x}=\frac{1}{50}, with the following endpoints:

a=0, \frac{1}{50}, \frac{1}{25},...,\frac{24}{25}, \frac{49}{50}, 1=b

Now, we just evaluate the function at these endpoints:

f\left(x_{0}\right)=f(a)=f\left(0\right)=1=1

2f\left(x_{1}\right)=2f\left(\frac{1}{50}\right)=2 e^{\frac{3}{25}}=2.25499370315875

2f\left(x_{2}\right)=2f\left(\frac{1}{25}\right)=2 e^{\frac{6}{25}}=2.54249830064281

...

2f\left(x_{49}\right)=2f\left(\frac{49}{50}\right)=2 e^{\frac{147}{25}}=715.618483417705

f\left(x_{50}\right)=f(b)=f\left(1\right)=e^{6}=403.428793492735

Applying the trapezoid rule formula we get

\int_{0}^{1}e^{6 x}\ dx \approx \frac{1}{100}(1+2.25499370315875+2.54249830064281+...+715.618483417705+403.428793492735) \approx 67.1519320308594

b. To approximate the integral \int_{0}^{1}e^{6 x}\ dx using 2n with the Simpson's rule you must:

The Simpson's rule states that

\int_{a}^{b}f(x)dx\approx \\\frac{\Delta{x}}{3}\left(f(x_0)+4f(x_1)+2f(x_2)+4f(x_3)+2f(x_4)+...+2f(x_{n-2})+4f(x_{n-1})+f(x_n)\right)

where \Delta{x}=\frac{b-a}{n}

We have that a = 0, b = 1, n = 50

Therefore,

\Delta{x}=\frac{1-0}{50}=\frac{1}{50}

We need to divide the interval [0,1] into n = 50 sub-intervals of length \Delta{x}=\frac{1}{50}, with the following endpoints:

a=0, \frac{1}{50}, \frac{1}{25},...,\frac{24}{25}, \frac{49}{50}, 1=b

Now, we just evaluate the function at these endpoints:

f\left(x_{0}\right)=f(a)=f\left(0\right)=1=1

4f\left(x_{1}\right)=4f\left(\frac{1}{50}\right)=4 e^{\frac{3}{25}}=4.5099874063175

2f\left(x_{2}\right)=2f\left(\frac{1}{25}\right)=2 e^{\frac{6}{25}}=2.54249830064281

...

4f\left(x_{49}\right)=4f\left(\frac{49}{50}\right)=4 e^{\frac{147}{25}}=1431.23696683541

f\left(x_{50}\right)=f(b)=f\left(1\right)=e^{6}=403.428793492735

Applying the Simpson's rule formula we get

\int_{0}^{1}e^{6 x}\ dx \approx \frac{1}{150}(1+4.5099874063175+2.54249830064281+...+1431.23696683541+403.428793492735) \approx 67.0715427161943

c. If B is our estimate of some quantity having an actual value of A, then the absolute error is given by |A-B|

The absolute error in the trapezoid rule is

The calculated value is

\int _0^1e^{6\:x}\:dx=\frac{e^6-1}{6} \approx 67.0714655821225

and our estimate is 67.1519320308594

Thus, the absolute error is given by

|67.0714655821225-67.1519320308594|=0.08047

The absolute error in the Simpson's rule is

|67.0714655821225-67.0715427161943|=0.00008

You might be interested in
Can someone help me out?
Anna35 [415]

Answer:

I need more information

Step-by-step explanation:

4 0
3 years ago
Answer these 2 questions please
Dmitry [639]
Where’s the question?
8 0
2 years ago
Read 2 more answers
Help needed fast!!!
kicyunya [14]

Answer:

The answer is A

Step-by-step explanation:

It has to exceed not be same or equal to

6 0
3 years ago
Read 2 more answers
What is the value of x?
djverab [1.8K]

Answer:

x = 55°

Step-by-step explanation:

Hello!

The sum of angles in a triangle is 180°.

To solve for x, we have to subtract the given angles from 180°.

<h3>Solve for x</h3>
  • 180° = ∠1 + ∠2 + ∠x
  • 180° = 75° + 50° + x°
  • 180° - 75° - 50° = x°
  • 55° = x°

The value of x is 55°.

6 0
2 years ago
Read 2 more answers
Please, I need help with my homework. I not asking anybody to do it, but I need help for it.
jenyasd209 [6]

Answer:

1) x = -2

Step-by-step explanation:

1) x + 7 + x + 11 = 14

 2x + 18 = 14

        2x = 14 - 18

     2x =  -4

       x = -4/2 = -2

4 0
3 years ago
Other questions:
  • Idk Help meee please
    15·1 answer
  • Find the number of possible outcomes from choosing a number from 11 to 20 and a letter of the alphabet.
    9·1 answer
  • if alexandra increases her usual driving speed by 15 km/h, it will take her 2 hours less to make a trip to her gradnparents hous
    15·1 answer
  • GIVEN BRAINLIEST, 5 STARS, + THANKS
    7·1 answer
  • (−4x <br> 4<br> +6x <br> 2<br> +3)−(5x <br> 2<br> −3)
    7·1 answer
  • Sum of cubes:
    13·2 answers
  • Solve by using substitution. y=-3x+3 6x+2y=6 ​
    15·1 answer
  • What operation would you use to solve the equation below for y? y - 15 = 20
    5·2 answers
  • A cylinder has a radius of 10 m and a height of 8 m.
    9·2 answers
  • AHH I SHALL GIVE U POINTS FOR THIS CAUSE I AM LAZY AND DON'T WANNA DO IT ON MY OWN
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!