Numerical Integra/on: NAME 117: Hydrosta) Cs and Stability
Numerical Integra/on: NAME 117: Hydrosta) Cs and Stability
Numerical Integra/on
• The trapezoidal rule, using straight lines to replace the actual ship
curves, has limita)ons as to the accuracy achieved.
ℎ
For 3 ordinates y1 , y2 and y3 equally spaced at h units: 9 = <y1 + 4?2 + ?3 @
3
ℎ
For 5 ordinates y1 , y2 , y3 , y4 and y5 : 9 = 3<y1 + 4?2 + 2?3 + 4?4 + ?5 @
ℎ
For 7 ordinates: 9 = <y1 + 4?2 + 2?3 + 4?4 + 2?5 + 4?6 + ?7 @ and so on...
3
theNote that 'h' is also called the common interval or CI, and represents the width of
common interval or CI, and represents the width of each of the area sectio
each of the area sec)ons or strips.
etter understand how to use this formula:
the Next, let us find the value of the common interval 'h' which can be
value of the common interval 'h' which can be calculated by divid
calculated by dividing the length of the water-plane (70m) by the
mbernumber of area sec)ons (6):
of area sections (6):
70 F
ℎ= = 11.7 F
6
6
(HIJKL ) N1 93.23
on:
Solu)on:
We are given 9 half-ordinates and therefore we can use Simpson's First Rule to calculate this water-plane area.
Find the value of "h" :
72
ℎ= = 9 F
8
Draw a diagram:
Water plane area calcula)on : example 2 (cont.)
ete the table:
0.2 1 0.2
2.2 4 8.8
5.0 2 10.0
5.8 4 23.2
6.0 2 12.0
5.9 4 23.6
4.9 2 9.8
2.0 4 8.0
0.2 1 0.2
(HIJKL ) N1 95.8
ℎ 9 F
Area of the water-plane = 2 × Table
× N5.2
1 =2× × 95.8 F = 574.8 F2
3 3
ate the area:
Water plane area calcula)on : example 3
The lengths of the half-ordinates of an 80 m long water-plane
commencing from forward as follows: 0, 3.6, 5.0, 5.3, 4.8, 0.5. There
is a 2.8 m long half-ordinate right midway between the last two
half-ordinates. Find the area of the water-plane.
Water plane area calcula)on : example 3 (cont.)
Solu)on:
he lengths
of the half-ordinates of an 80 m long water-plane commencing from
In this case
lows: there
0, 3.6, are 4.8,
5.0, 5.3, two 0.5
different values of 'h' to consider. The
8 m long half-ordinate right midway between the last two half-ordinates. Find the
green area (Area 1) has 4 strips whose 'h' value is twice that of the 2
lane.
strips in the blue area (Area 2). To obtain the total water-plane area,
we can divide the water-plane into 2 parts, apply Simpson's First
ase there are two different values of 'h' to consider. The green area (Area 1) has 4 strips whose 'h' valu
at ofRule separately to each par)al area, and then add the results to get
the 2 strips in the blue area (Area 2). To obtain the total water-plane area, we can divide the wat
arts,the total area of water-plane.
apply Simpson's First Rule separately to each partial area, and then add the results to get the tota
ane.
value of h :
80 F
80 F
Water plane area calcula)on : example 3 (cont.)
ℎ=
5
= 16 F
e value of h :
Area 1:
Complete the table : 80 F
ℎ= = 16 F
Find the value of h : 80 F
5
Half-ordinates ℎ= = 16 F
Simpson's Multiplier 80 F
te the table : 5
(1) (2) ℎ= =
5
Half-ordinates 0 Simpson's Multiplier 1 Area Function
(1) (2) (3)=(1)*(2)
3.6 4
Complete
0 the table : 1 0
5.0 2
ates 3.6 Simpson's
4 Multiplier 14.4
5.3 2 (2) 4
5.0 Half-ordinates Simpson's
10.0 M
5.3 4.8 (1) 4 1 21.2 (2)
1
4.8 1 4.8
(HIJKL ) N1
0 4 50.4
1
(HIJKL ) N1
3.6
Calculate the partial green area (Area 1): 2 4
e the partial green area (Area 1): ℎ 16 F
× N1 = 2 × 3 × 50.4 F = 537.6 F 2
5.0 ℎ Area =16 F
Area = 2 × × N = 2 ×
2×4 3
× 50.4 F = 537.6 F2
2
3 1 3
ℎ 16 F
× N1 = 2 ×
Area = 2 × 3 16 F × 50.4 F = 537.
Water plane area calcula)on : example 3 (cont.)
ℎ=
2
= 8 F
3
16 F
Complete
Area 2:the table: ℎ= = 8 F
16 F2
Find
e the table: the value of h : ℎ= = 8 FSimpson's Multiplier
Half-ordinates 2
(1) (2)
Half-ordinates Simpson's Multiplier Area Function
(1) 4.8 (2) 1 (3)=(1)*(2)
4.8 1 4.8
es 2.8 Simpson's Multiplier 4 Area F
2.8 (2) 4 11.2 (3)=
0.5 1
0.5 1 0.5
1 (HIJKL ) N2 4
(HIJKL ) N2 16.5
4 1
Calculate the partial blue area (Area 2):
e the partial blue area (Area 2):
ℎ Area 1= 2 × 0
ℎ 8 F
8 F × N = 2 × × 16.5 F = 88 F2
2 2
Area = 2 × × N2 = 2 × 3 × 16.5 F = 88 F3
3 3
Hence,
(HIJKL+ 9VWK 2 FN22+ 88 F2 = 625.6 F2
) = 537.6 1
HIJKL 9VWK = 9VWK 1
HIJKL 9VWK = 9VWK 1 + 9VWK 2 = 537.6 F + 88 F = 625.6 F2
2 2