Title: MRS EZRINDA MOHD ZAIHIDEE
1CHAPTER 5 NUMERICAL INTEGRATION
MRS EZRINDA MOHD ZAIHIDEE FAKULTI KEJ. ELEKTRIK
ELEKTRONIK
25.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
2
35.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
3
45.1 INTRODUCTION
Area of the shaded region?
4
55.1 INTRODUCTION
Method 1
Analytical
Method 2
Numerical
5
65.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
6
7LEARNING OUTCOMES
- By the end of this lecture, students should be
able to - derive the formula of Trapezium rule by refer to
the graph. - solve the given questions using the formula.
7
85.2.1 FORMULA OF TRAPEZIUM RULE
y
f(x)
x
xnb
0
x0a
x1
x2
x3
x4
x5
8
95.2.1 FORMULA OF TRAPEZIUM RULE
The area under the curve sum of areas of n
trapezium
a
b
h
9
105.2.1 FORMULA OF TRAPEZIUM RULE
10
115.2.1 FORMULA OF TRAPEZIUM RULE
EXAMPLE 1 Evaluate using
trapezium rule with 5 strips.
11
125.2.1 FORMULA OF TRAPEZIUM RULE
- EXAMPLE 2
- Use the trapezium rule to estimate
- using
- a strip width of 0.2
- a strip width of 0.1
12
135.2.1 FORMULA OF TRAPEZIUM RULE
EXAMPLE 3 Use the trapezium rule to estimate the
value of with
13
145.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
14
15LEARNING OUTCOMES
- By the end of this lecture, students should be
able to - calculate the maximum error using upper bound for
trapezium rule. - solve all the given question.
15
165.2.2 ERROR DUE TO THE TRAPEZIUM RULE
Error ? the difference between the estimated
value of the integral and the true
value of the integral
16
175.2.2 ERROR DUE TO THE TRAPEZIUM RULE
To find the maximum value of error (upper bound
for the error), suppose that
Then,
17
185.2.2 ERROR DUE TO THE TRAPEZIUM RULE
EXAMPLE 4 Find an upper bound for the error in
the estimates calculated in example 2. Hence,
find upper and lower bounds for the true value of
18
195.2.2 ERROR DUE TO THE TRAPEZIUM RULE
EXAMPLE 5 Find an upper bound for the error in
the estimates calculated in example 3. Hence,
find upper and lower bounds for the true value of
19
205.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
20
21LEARNING OUTCOMES
- By the end of this lecture, students should be
able to - relate the formula of Simpsons rule by refer to
the graph. - solve the given questions using the formula.
21
225.3.1 FORMULA OF SIMPSONS RULE
y
D
E
C
F
B
A
f(x)
x
xa
xb
0
22
235.3.1 FORMULA OF SIMPSONS RULE
23
245.3.1 FORMULA OF SIMPSONS RULE
- EXAMPLE 6
- Use the Simpsons rule to estimate
- with
- 4 strips
- 8 strips
24
255.3.1 FORMULA OF SIMPSONS RULE
EXAMPLE 7 Estimate using
Simpsons rule with
25
265.2.1 FORMULA OF TRAPEZIUM RULE
5.3.1 FORMULA OF SIMPSONS RULE
5.3.2 ERROR DUE TO THE SIMPSONS RULE
5.2.2 ERROR DUE TO THE TRAPEZIUM RULE
26
27LEARNING OUTCOMES
- By the end of this lecture, students should be
able to - calculate the maximum error using upper bound for
Simpsons rule. - solve all the given question.
27
285.3.2 ERROR DUE TO THE SIMPSONS RULE
Error ? the difference between the estimated
value of the integral and the true
value of the integral
28
295.3.2 ERROR DUE TO THE SIMPSONS RULE
To find the maximum value of error (upper bound
for the error), suppose that
Then,
29
305.3.2 ERROR DUE TO THE SIMPSONS RULE
EXAMPLE 8 Find an upper bound for the error in
the estimates calculated in example 6. Hence,
find upper and lower bounds for the true value of
30
315.3.2 ERROR DUE TO THE SIMPSONS RULE
EXAMPLE 9 Find an upper bound for the error in
the estimates calculated in example 7. Hence,
find upper and lower bounds for the true value of
31
32EXERCISES
- 1. Use the trapezium rule and Simpsons rule to
estimate - (a)
- (b)
- Find an upper bound for the error in the
estimates calculated in question 1(a) for
trapezium rule. Hence, find upper and lower
bounds for the true value of - 3. Find an upper bound for the error in the
estimates calculated in question 1(b) for
Simpsons rule. Hence, find upper and lower
bounds for the true value of -
32