0% found this document useful (0 votes)
27 views9 pages

Engineering Mathematics: Simpson's Rule Solutions

1. The document provides solutions to engineering mathematics questions involving integration using Simpson's rule and trapezoidal rule. 2. It calculates integrals of irregularly spaced data using Simpson's rule, and finds integrals of functions over various intervals using Simpson's rule and trapezoidal rule. 3. The solutions show the step-by-step working to arrive at the final numeric answer for each integral calculation.
Copyright
© Attribution Non-Commercial (BY-NC)
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)
27 views9 pages

Engineering Mathematics: Simpson's Rule Solutions

1. The document provides solutions to engineering mathematics questions involving integration using Simpson's rule and trapezoidal rule. 2. It calculates integrals of irregularly spaced data using Simpson's rule, and finds integrals of functions over various intervals using Simpson's rule and trapezoidal rule. 3. The solutions show the step-by-step working to arrive at the final numeric answer for each integral calculation.
Copyright
© Attribution Non-Commercial (BY-NC)
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

ENGINEERING MATHEMATICS 3

JUNE 2011 SESSION

GROUP DISCUSSION 1
CHAPTER 2 : AREA OF IRREGULAR SHAPE
Solution : Question 1
By using Simpsons rule, find the value
x
y
h

x0

7.5
=
=
=

6
2

y dx

=
=

=
=
=
=

6
2

y dx from the table below :

x3
x5
x6
x7
x8
x1
x2
x4
8.2 10.3 11.5 12.4 12.8 12.3 11.7 11.5
ba
n
62
8
0.5

h
[ y 0 + y 8 +4(y 1 + y 3 + y 5 + y 7 )+2(y 2 + y 4 + y 6 )] 1 m
3
0 .5
[ (7.5+11.5) + 4(8.2+11.5+12.8+11.7) +
3
2(10.3+12.4+12.3)]
0 .5
1m
[ 19 + 4(44.2)+2(35)]
3
0 .5
[ 19 + 17.6 + 70]
3
0 .5
[265.8]
3
44.3
1m

----- 3 M ----

ENGINEERING MATHEMATICS 3

JUNE 2011 SESSION

Solution : Question 2
Solve the questions below by using Simpsons rule (n=4)
2

i.

(4 x 2 )

ba
n

20
4

3
2

dx

1m

0.5

(4 x )
y = odd

y0
y1
y2
y3
y4

0
0.5
1.0
1.5
2.0

1
(4 x 2 )

3
2

dx =
=
=
=
=

3
2

dx
y0+ yn
y = even
0.125

0.114
0.089
0.064

0.044
0.178

0.089

0.169

5m

h
[ (y 0 + y 4 ) + 4(y 1 + y 3 ) + 2(y 2 )] 1 m
3
0 .5
[0.169 + 4(0.178) + 2(0.0894)]
3
0 .5
[0.169 + 0.712 + 0.178] 1 m
3
1m
0 .5
[1.059]
3
0.177 1 m

---- 10 M ------

ENGINEERING MATHEMATICS 3
2

ii.

JUNE 2011 SESSION

sin x dx

ba
n
2
0
= 3
4
= 0.524

1m
2

sin x dx

y0
y1
y2
y3
y4

0
0.5
1.0
1.5
2.0

sin x dx

=
=
=

y = even
0.125

0.114
0.089
0.064

0.044
1.707

0.931

h
[ (y 0 + y 4 ) + 4(y 1 + y 3 ) + 2(y 2 )]
3

y0+ yn

y = odd

0.930

5m

1m

0.524
[0.930 + 4(1.707) + 2(0.931)]
3
0.524
[0.930+6.828+1.862] 1 m
3
0.524
[9.62] 1 m
3
1.680 1 m

---- 10 M ------

ENGINEERING MATHEMATICS 3

JUNE 2011 SESSION

Solution : Question 3

1 x dx by using :

1.0

Find the value of y =

0.2

i.

Trapezoidal rule , if h = 0.2

1 x dx

1.0

y=

y0+ yn

0.2

y0

a 0.2
0.4
0.6
0.8
1.0

y1
y2
y3
y4

1 x dx

1.0

1.004
1.032
1.103
1.229
1.414

3.364

h
2

0 .2
[2.418 +2(3.364)]
2

[ y 0 + y 4 +2(y 1 + y 2 + y 3 )]

2.418

5m

1m

0.2

=
=
=

0 .2
[2.418+6.728] 1 m
2
0 .2
[9.146] 1 m
2
0.915

1m

------ 9 M -----

ENGINEERING MATHEMATICS 3

ii.

JUNE 2011 SESSION

Simpsons rule with n = 8

ba
n
1.0 0.2
=
8
= 0.1

1m

1 x dx

1.0

y0
y1
y2
y3
Y4
Y5
Y6
Y7
y8

0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0

0.2

y = odd

1 x dx =
3

0.2

=
=
=
=

y0+ yn
1.004

1.013
1.032
1.061
1.103
1.159
1.229
1.315
1.414

1.0

y = even

4.548

3.364

2.418

6m

h
[ (y 0 + y 8 )+4(y 1 + y 3 + y 5 + y 7 ) + 2(y 2 + y 4 +y 6 )] 1 m
3
0 .1
[2.418 + 4(4.548) + 2(3.364)]
3
0 .1
[2.418 + 18.192 + 6.728] 1 m
3
0 .1
1m
[27.338]
3
0.911 1 m

---- 11 M ------

ENGINEERING MATHEMATICS 3

JUNE 2011 SESSION

Solution : Question 4
x

Compute the integral

cos 3t dt by Simpsons Rule for :


0

i.

x = 1 if = 4
ba
n
1 0
=
4
= 0.25

1m
x

cos 3t dt

y = odd
y0
y1
y2
y3
y4

0
0.25
0.50
0.75
1.00

y0+ yn

y = even
1.00

0.732
0.071
-0.628

-0.990
0.104

0.071

0.01

5m

cos 3t dt

h
[(y 0 + y 4 ) + 4(y 1 + y 3 ) + 2(y 2 )] 1 m
3

0.25
[0.01 + 4(0.104) + 2(0.071)]
3
0.25
[0.01+0.416+0.142] 1 m
3
0.25
[0.568]
3
0.047 2 m

=
=
=

---- 10 M -----6

ENGINEERING MATHEMATICS 3
ii.

JUNE 2011 SESSION

x = 2 if n = 10
ba
n
20
=
10
= 0.2

1m
x

cos 3t dt

y = odd
y0
y1
y2
y3
y4
y5

0
0.2
0.4
0.6
0.8
1.0

y6

1.2

y7

1.4

y8

1.6

y9

1.8

y 10

2.0

y0+ yn

y = even
1.000

0.825
0.362
-0.227
-0.737
-0.990
-0.897
-0.490
0.087
0.635
0.960

-0.247

-1.185

1.960
6m

cos 3t dt

h
[ (y 0 + y 10 )+4(y 1 + y 3 + y 5 + y 7 + y 9 ) + 2(y 2 + y 4 +y 6 + y 8 )]
3

1m

0 .2
[(1.000 + 0.960)+4(0.825+(-0.227)+(-0.990+(-0.490)+0.635) +
3
2(0.362+ (-0.737)+(-0.897)+0.087)]
1m
0 .2
=
[(1.960)+4(-0.247)+2(-1.185)]
3
0 .2
=
[(1.960)+(-0.988)+(-2.37)] 1 m
3
0 .2
=
[-1.398]
3
=- 0.0932
1m
---- 11 M ------

ENGINEERING MATHEMATICS 3

JUNE 2011 SESSION

Solution : Question 5
Find the value

3
0

(kos x) dx by using Trapezoidal and Simpsons rule with

four intervals
h =

ba
n

= 3
=

0
4

y0
y1
y2
y3
y4

Trapezoidal

i.

3
0

3
0

(kos x)

y = odd

y = even

0
0.262
0.524
0.786
1.048

Simpson

1m

0.262

y0+ yn
1

0.983
0.930
0.841
0.707
1.824

0.930

1.7071

2.754

Trapezoidal rule

h
[ (y 0 + y 4 ) + 2 (y 1 + y 2 +y 3 )]
2
0.262
=
[ (1.707) + 2 (2.754)]
2
0.262
1m
=
[7.215]
2

(kos x) dx =

= 0.945

1m

1m

4m

ENGINEERING MATHEMATICS 3

ii.

Simpson rule

3
0

JUNE 2011 SESSION

(kos x) dx =

h
[ (y 0 + y 4 ) + 4(y 1 + y 3 ) + 2 (y 2 )]
3

0.262
[ 1.707 + 4(1.824) + 2(0.930) ]
3
0.262
=
[1.707 + 7.296 + 1.860]
3
0.262
=
[ 10.863]
3
= 0.949
1m

1m
1m

---- 11 M ------

You might also like