0% found this document useful (0 votes)
45 views27 pages

Trapezoidal and Simpson's Rule Explained

This document discusses numerical integration techniques for approximating the area under a curve. It introduces the trapezoidal rule and Simpson's rule. The trapezoidal rule approximates the area as the sum of trapezoid areas under the curve, where the trapezoids are formed between the x-values. Simpson's rule is similar but uses a weighted average to achieve better accuracy when there are an odd number of panels. Several examples are given to demonstrate calculating areas using these rules. The document also mentions calculating centroids and centers of gravity.

Uploaded by

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

Trapezoidal and Simpson's Rule Explained

This document discusses numerical integration techniques for approximating the area under a curve. It introduces the trapezoidal rule and Simpson's rule. The trapezoidal rule approximates the area as the sum of trapezoid areas under the curve, where the trapezoids are formed between the x-values. Simpson's rule is similar but uses a weighted average to achieve better accuracy when there are an odd number of panels. Several examples are given to demonstrate calculating areas using these rules. The document also mentions calculating centroids and centers of gravity.

Uploaded by

Arwa Hussein
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

Ship Area

Lec. 3
Dr. Arwa Hussein
Area Under Curve
Trapezoidal Rule

Area of trapezoid = h * (Y
2
+

Y
1
)/2




Area 1 =h* (Y
1
+Y
2
)/2
Area 2 =h* (Y
2
+Y
3
)/2
Area 3 =h* (Y
3
+Y
4
)/2





Area Total = h/2 * (Y
1
+ Y
2
+ Y
2
+Y
3
+ Y
3
+Y
4
)
= h/2 * (Y
1
+ 2Y
2
+ 2Y
3
+Y
4
)


Conditions of Trapezoidal Rule

1. Equal Distances
2. Any Number of Stations

Simpson Rule
Area = h/3 (Y
1
+ Y
2
+ Y
2
)
Conditions of Simpson Rule

1. Equal Distances
2. ODD Number of Stations


Example 1


Area = ( 1*Y
1
+ 4* Y
1.5
+ 1* Y
2
) * (h/2)/3
Or
Area = (0.5 Y
1
+ 2 Y
1.5
+ 0.5 Y
2
) * (h)/3


Example 2



Example 3


Note :

Example 4


Centroids and Center of Gravoty
Centroids = Center of Flotation = CF
= Moment of Area/ Area


Center of Gravity = Moment of volume / Volume
Example 5



Example 6


End of Lecture

You might also like