0% found this document useful (0 votes)
19 views4 pages

Group 7 Question

Uploaded by

ayomide.adekoya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views4 pages

Group 7 Question

Uploaded by

ayomide.adekoya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

QUESTION 1 4

(a) Use Integration to evaluate ∫ √4x 1

correct to 3 decimal places,


(b)Use the trapezoidal rule with 4
intervals to evaluate the integral in part
(a), correct to 3 decimal places.
(c). Use Simpson’s 1/3 Rule with 4
intervals to evaluate the integral in part
(a), correct to 3 decimal places
(d). From the result above, which of the
numerical integration methods is more
accurate?

4 4
SOLUTION
−1

1a) ∫ √4x dx
1
= ∫4x
1
2
dx

[ ]=[
4
(−12 )+1
4x
]
1 4
2
−1 8x 1
+1
2 1

4
[ 8 √ x ]1 = 8 [ √ 4−√ 1]

= 8.000 (Correct to 3 decimal places)


1b) Given b (upper limit) = 4 and a
(lower limit) = 1 and n (no. of
intervals) = 4
d = b−a
n

d = 4−1
4 = 0.75

4
x √x
x1
1.00 4
x2
1.75 3.024
x3
2.50 2.530
x4
3.25 2.219
x5
4.00 1

Using the Trapezoidal rule:


∫ f (x )dx = d ( 2 ( y + y ) +¿))
b
1
0 n
a

Where d = width of interval


y
= first ordinate
0

y
= last ordinate
n
y 1 +..+ y n
= sum of remaining ordinates

= 0.75( 12 ( 4 +1) +( 3.024+ 2.530+2.219 ) ¿


4

∫ √4x dx
1

= 7.705 (correct to 3 decimal places)

1c) Given b (upper limit) = 4 and a (lower


limit) = 1 and n (no. of intervals) = 4
d = b−a
n
4−1
d = 4 = 0.75

4
X √x
x1
1.00 4
x2
1.75 3.024
x3
2.50 2.530
x4
3.25 2.219
x5
4.00 1

Using Simpson’s rule:


= 13 (width of interval) {(first + last
b

∫ f (x )dx
a

ordinate) + 4(sum of even ordinates) +


2(sum of remaining odd ordinates)}

= 13 (0.75) {(4 + 1) + 4(3.024 + 2.219)


4

∫ √4x dx
1

+ 2(2.530)}

= 7.758 (correct to 3 decimal places)

1d) Comparing the results of trapezoidal


and Simpson’s rule to the integration,
Simpson’s rule gives a higher degree of
accuracy than trapezoidal rule.

You might also like