0% found this document useful (0 votes)
21 views2 pages

U3 Dec2022

The document contains a calculus assignment with various problems related to integrals, area calculations, and numerical methods such as the trapezoid and Simpson's rules. It includes specific tasks to compute integrals, find areas between curves, and determine error bounds for approximations. Additionally, it provides formulas for the trapezoid and Simpson's rules for composite integration.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views2 pages

U3 Dec2022

The document contains a calculus assignment with various problems related to integrals, area calculations, and numerical methods such as the trapezoid and Simpson's rules. It includes specific tasks to compute integrals, find areas between curves, and determine error bounds for approximations. Additionally, it provides formulas for the trapezoid and Simpson's rules for composite integration.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Calculus and Numerical Methods.

Third unit. 19 December 2022

Full name : ..........................................................................

Z ∞
1. (2 p) Compute e−x sin(7x) dx
0

2. (1.5 p.) Compute one of the following integrals:


Z ∞
log(x)
a) dx
1 x2
Z 4
1
b) √ dx
0 x(x + 4)

3. (2.5 p.) Find the area of the region bounded by the graphs of the functions
1 2x + 1
f (x) = and g(x) =
2−x 2

4. We consider the function f (x) = x2 e−x and the integral


2

Z 1
2
I= x2 e−x dx
0

a ) (0.75 p) Find M2 such that |f ′′ (x)| ≤ M2 for all x ∈ [0, 1].


b ) (1.5 p) Calculate two approximations of I by using the trapezoid and Simpson's
rules in the case when we evaluate the function f at the ve points that divide
[0, 1] into four equal parts and determine upper bounds of the errors.
c ) (0.75 p) Determine the number of points at which we have to evaluate the function
f to approximate I up to an error of 10−6 by using the composite trapezoid rule.
d ) (1 p) Knowing that the fourth derivative of f veries

|f (4) (x)| ≤ 24, ∀x ∈ [0, 1] ,

determine the number of points at which we have to evaluate the function f to


approximate I up to an error of 10−6 by using the composite Simpson rule. Write
the formula that gives the approximation.
Formulas
Trapezoid rule (composite) Z b
I= f (x) dx
a
n−1
!
b−a X
I∗ = f (a) + f (b) + 2 f (xk )
2n k=1

b−a
where xk = a + k for k = 0, 1, . . . , n
n
(b − a)3
|I − I ∗ | ≤ M2
12 · n2
where |f ′′ (x)| ≤ M2 , ∀x ∈ [a, b].

Simpson's rule (composite) Z b


I= f (x) dx
a
n n−1
!
b−a X X
I∗ = f (a) + 4 f (x2k−1 ) + 2 f (x2k ) + f (b)
6n k=1 k=1

b−a
where xk = a + k , for k = 0, 1, . . . , 2n
2n
(b − a)5
|I − I ∗ | ≤ M4
25 · 90 · n4
where |f (4) (x)| ≤ M4 , ∀x ∈ [a, b].

You might also like