Back to section

NavArch Handbook

Chapter 4 / Section 4.5

Simpson's rules and numerical integration of ship curves

Ship curves (waterlines, sectional area curves, GZ curves) are defined by tabulated ordinates at equal spacing hhh. Their integrals are found with Simpson's rules, which fit a parabola through each group of ordinates.

Simpson's first rule (1–4–1)

Requires an even number of intervals (odd number of ordinates). Multipliers: 1, 4, 2, 4, 2, …, 4, 1.

A=h3(y0+4y1+2y2+4y3+⋯+4yn−1+yn)A = \frac{h}{3}\left(y_0 + 4y_1 + 2y_2 + 4y_3 + \dots + 4y_{n-1} + y_n\right)A=3h​(y0​+4y1​+2y2​+4y3​+⋯+4yn−1​+yn​)

Simpson's second rule (1–3–3–1)

Requires the number of intervals to be a multiple of three. Multipliers: 1, 3, 3, 2, 3, 3, 2, …, 3, 3, 1.

A=3h8(y0+3y1+3y2+2y3+3y4+⋯+yn)A = \frac{3h}{8}\left(y_0 + 3y_1 + 3y_2 + 2y_3 + 3y_4 + \dots + y_n\right)A=83h​(y0​+3y1​+3y2​+2y3​+3y4​+⋯+yn​)

The 5–8–minus-1 rule

Gives the area between the first two of three equally spaced ordinates (useful for the area between two adjacent stations, e.g. for Bonjean work or the area 30°–40° under a GZ curve):

A0→1=h12(5y0+8y1−y2)A_{0 \to 1} = \frac{h}{12}\left(5y_0 + 8y_1 - y_2\right)A0→1​=12h​(5y0​+8y1​−y2​)

Trapezoidal rule

A=h(12y0+y1+y2+⋯+yn−1+12yn)A = h\left(\tfrac{1}{2}y_0 + y_1 + y_2 + \dots + y_{n-1} + \tfrac{1}{2}y_n\right)A=h(21​y0​+y1​+y2​+⋯+yn−1​+21​yn​)

Less accurate for curved ordinates; acceptable for GZ-curve areas when ordinates are closely spaced (every 5°) and conservative when the curve is concave downward.

Practical rules

  1. Tabulate: Station | Ordinate yyy | Simpson multiplier SM | Product y⋅SMy \cdot SMy⋅SM | Lever | Product × lever | Product × lever².
  2. Half-stations at the ends: use multipliers ½, 2, 1½ … (i.e. the first-rule multipliers halved over the half-interval) or integrate the end portions separately with the 5–8–1 rule.
  3. For half-breadths, multiply the half-waterplane result by 2 for the full area.
  4. Check: ∑SM\sum SM∑SM for the first rule equals 3n3n3n for nnn intervals; the sum of products × levers about midship should be small for a well-balanced ship.
  5. Angles must be in radians when integrating GZ curves (1°=π/180=0.0174531° = \pi/180 = 0.0174531°=π/180=0.017453 rad).

Formulas

01Simpson's first rule
A=h3∑i=0nSMi yi,SM=1,4,2,4,…,2,4,1A = \frac{h}{3}\sum_{i=0}^{n} SM_i\, y_i, \qquad SM = 1,4,2,4,\dots,2,4,1A=3h​i=0∑n​SMi​yi​,SM=1,4,2,4,…,2,4,1
SymbolDescriptionUnit
AAAArea under the curvem^2 (or as per ordinates)
hhhCommon interval between ordinatesm
yiy_iyi​Ordinate at station im
SMiSM_iSMi​Simpson multiplier-
nnnNumber of intervals (even)-

Result unit m^2

02Simpson's second rule
A=3h8∑i=0nSMi yi,SM=1,3,3,2,3,3,2,…,3,3,1A = \frac{3h}{8}\sum_{i=0}^{n} SM_i\, y_i, \qquad SM = 1,3,3,2,3,3,2,\dots,3,3,1A=83h​i=0∑n​SMi​yi​,SM=1,3,3,2,3,3,2,…,3,3,1
SymbolDescriptionUnit
nnnNumber of intervals (multiple of 3)-

Result unit m^2

035–8–1 rule (area between first two ordinates)
A0→1=h12(5y0+8y1−y2)A_{0\to1} = \frac{h}{12}\left(5y_0 + 8y_1 - y_2\right)A0→1​=12h​(5y0​+8y1​−y2​)
SymbolDescriptionUnit
y0,y1,y2y_0, y_1, y_2y0​,y1​,y2​Three consecutive equally spaced ordinatesm

Result unit m^2

04Trapezoidal rule
A=h(y0+yn2+∑i=1n−1yi)A = h\left(\frac{y_0 + y_n}{2} + \sum_{i=1}^{n-1} y_i\right)A=h(2y0​+yn​​+i=1∑n−1​yi​)

Result unit m^2

Tables

Simpson multipliers for common numbers of intervals

Intervals nRuleMultipliersFactor
2First1 4 1h/3
4First1 4 2 4 1h/3
6First1 4 2 4 2 4 1h/3
8First1 4 2 4 2 4 2 4 1h/3
10First1 4 2 4 2 4 2 4 2 4 1h/3
3Second1 3 3 13h/8
6Second1 3 3 2 3 3 13h/8
9Second1 3 3 2 3 3 2 3 3 13h/8
20 (half-stations at ends: 0, ½, 1 … 9, 9½, 10)First with half-intervals½ 2 1½ 4 2 4 2 4 2 4 2 4 2 4 2 4 2 4 1½ 2 ½h/3
Source: Rawson & Tupper (2001) Vol. 1 Ch. 2; Barrass & Derrett (2012) Ch. 10.

Examples

#01

Waterplane area, LCF and TPC by Simpson's first rule

Worked example

Problem

A ship of LBP=100L_{BP} = 100LBP​=100 m has the following half-breadths [m] of the design waterplane at 11 equally spaced stations from AP (station 0) to FP (station 10): 0, 3.2, 5.8, 7.4, 8.0, 8.0, 8.0, 7.6, 6.2, 3.8, 0.4. Calculate the waterplane area, the position of the centre of flotation relative to midship, and the TPC in seawater.

Solution

Common interval h=100/10=10h = 100/10 = 10h=100/10=10 m. Tabulate with levers measured from midship (station 5), positive forward.

StnyyySMy⋅SMy\cdot SMy⋅SMLeverProduct × lever
00.010.0−50.0
13.2412.8−4−51.2
25.8211.6−3−34.8
37.4429.6−2−59.2
48.0216.0−1−16.0
58.0432.000.0
68.0216.0+116.0
77.6430.4+260.8
86.2212.4+337.2
93.8415.2+460.8
100.410.4+52.0
Σ176.4+15.6

Half waterplane area: h3∑=103×176.4=588.0\frac{h}{3}\sum = \frac{10}{3} \times 176.4 = 588.03h​∑=310​×176.4=588.0 m².

Full waterplane area: AWP=2×588.0=1176A_{WP} = 2 \times 588.0 = 1176AWP​=2×588.0=1176 m².

Centre of flotation from midship: LCF=h ∑(y⋅SM⋅lever)∑(y⋅SM)=10×15.6176.4=+0.88LCF = h\,\dfrac{\sum (y\cdot SM \cdot \text{lever})}{\sum (y \cdot SM)} = 10 \times \dfrac{15.6}{176.4} = +0.88LCF=h∑(y⋅SM)∑(y⋅SM⋅lever)​=10×176.415.6​=+0.88 m, i.e. 0.88 m forward of midship.

TPC in seawater: TPC=ρ AWP100=1.025×1176100=12.05TPC = \dfrac{\rho\, A_{WP}}{100} = \dfrac{1.025 \times 1176}{100} = 12.05TPC=100ρAWP​​=1001.025×1176​=12.05 t/cm.

Check: CWP=1176/(100×16)=0.735C_{WP} = 1176/(100 \times 16) = 0.735CWP​=1176/(100×16)=0.735 for B=16B = 16B=16 m — consistent with a PSV-type form.

References

Rawson & Tupper, Basic Ship Theory, 5th ed. (2001)Clause Vol. 1, Ch. 2 (Approximate integration)Textbook
Barrass & Derrett, Ship Stability for Masters and Mates, 7th ed. (2012)Clause Ch. 10 (Simpson's Rules for areas and centroids)Textbook