OpenNAOE homeHydrostatics & StabilityChapter 2Version 1.0 Send feedback

Figures and tables have more room in landscape.

Chapter 2: Numerical integration for ship geometry

Version 1.0 · last revised 5 November 2026 · corrections

Prologue: Chapman’s quarter circle

In 1775 the Swedish shipbuilder Fredrik Henrik Chapman published a treatise on shipbuilding, the Tractat om Skepps-Byggeriet, which his French translator called the first work on the subject by a man of the trade1. Its first chapter is about displacement. A ship, Chapman explains, sinks until it displaces its own weight of water. If the weight of the hull and rigging is known and the displacement is known too, the weight of the cargo is their difference. For warships and privateers, whose ballast and stores were fixed, a reliable displacement allowed a designer to give a ship good stability and good sailing together. The methods in use for calculating it were, in his judgement, imperfect, and he offered another, illustrated by examples, in the hope that shipbuilders would find it simple enough to stop being daunted by the amount of arithmetic the older methods demanded1.

The usual practice, his French translator explained, joined the ends of neighbouring ordinates by straight lines; Chapman’s method treated the curve through three neighbouring ordinates as part of a parabola1. The area under each such piece is then found by geometry: the trapezium under the chord, plus two-thirds of the parallelogram that encloses the parabolic segment above it. Added up along a curve divided into an even number of equal parts, these pieces give a rule that every naval architect still learns. The first and last ordinates are multiplied by 1, the others alternately by 4 and 2, and the sum is multiplied by one-third of the spacing1.

To show that the rule was accurate enough for practice, Chapman applied it to a quarter of a circle of radius 8, whose area he could also find exactly, with five ordinates 1 apart, from the centre out to half the radius (Fig. 2.1). The rule gave 30.611312 for the area under those ordinates. Subtracting the triangle between the centre, the last ordinate and the arc left a sector of 30°, and three such sectors gave 50.2647 for the quadrant, against the exact 16π=50.2654816\pi = 50.26548. The calculation was, in our translation of his words, exact “to the fifth figure”; a footnote in the French edition adds that the ordinary way of calculating gave about a twentieth of a square foot less1.

Two panels. (a) A quarter circle of radius 8 with its centre at the lower left. Five vertical ordinates stand at distances 0, 1, 2, 3 and 4 from the centre, reaching up to the arc, and the region under the arc between the first and last of them is shaded; dashed straight chords join the tops of neighbouring ordinates. Beyond half the radius the arc turns down and meets the horizontal axis at a right angle, as a label beside it notes. A small table gives the area under the arc from 0 to 4: exact 30.6116, Chapman’s rule 30.6113, straight lines 30.5635. (b) The gap between the arc and the chords, magnified a thousand times: four humps, one in each strip, growing towards the last ordinate; together they are the 0.048 that the straight-line method misses.

Figure 2.1 Chapman’s test of his rule: (a) a quarter circle of radius 8 with five ordinates 1 apart; (b) the gap between the arc and the straight chords, magnified 1000 times.

He then turned to a ship. For a privateer whose lines are drawn in the treatise, he measured the half-breadths of seventeen equally spaced sections at seven waterlines, 1.62 feet apart, put the seven ordinates of each section through the rule, and added the small triangle between the lowest waterline and the keel. The section areas were then treated as ordinates in their turn, 6.27 feet apart, and put through the rule again along the length, and the slivers beyond the end sections, towards the stem and the sternpost (the upright timber rising from the after end of the keel), were estimated separately. Doubled for both sides, the result was 16,210 cubic feet (about 420 to 560 m³, depending on the foot used), measured, he noted, to the outside of the frames and excluding the planking, the stem, the sternpost and the keel. In today’s terms this is a moulded volume. The moments of the section areas gave him the longitudinal position of the centre of the displacement, and, rearranging the ordinates by waterline, he found the areas of the seven waterplanes and from them its height1.

Chapman, born in 1721, was the son of the superintendent of the naval dockyard at Gothenburg, and went to England in 1750 to improve his mathematics. In London he took lessons from Thomas Simpson, who taught mathematics at the Royal Military Academy at Woolwich, and Simpson reportedly taught him this rule2. Simpson, a weaver who had taught himself mathematics, never claimed to have invented it; he acknowledged learning it from Newton3, and it had been published in 1730 by James Stirling4. After further study in France and Holland, Chapman returned to Sweden in 1757 and made it his habit to calculate the displacement of his ships, also as a function of draught, and their metacentre, with the parabolic rule2. In Britain it kept Simpson’s name, and by the end of the nineteenth century Attwood4 could describe it as the rule “most extensively used” in ship calculations. Three-quarters of a century later, the International Convention for the Safety of Life at Sea, 1974 (SOLAS), as adopted, required the cubic capacity of a lifeboat to be found by “Simpson’s (Stirling’s) Rule” or by a method of equal accuracy, and the number of persons the boat could carry was based on that capacity5.

Chapman stopped his test at half the radius. Beyond that point the arc turns down ever more steeply and meets the axis at a right angle, and the hull of a ship has places like the end of the quadrant. Where a round bilge leaves the flat bottom along an arc of a circle, the half-breadth of the section, plotted against the height above the keel, starts with a vertical tangent, as Chapman’s arc does where it meets the axis. The forefoot, where the stem curves down into the keel, and the stern turn in profile as a round bilge turns in section. A table of offsets, however, gives no ordinates between its stations from which such places could be found. We return to Chapman’s quadrant in Sec. 2.7, where the error of a rule is estimated.

In this chapter

By the end of this chapter you will be able to:

What it assumes. You need the integrals of Eqs. (1.6) to (1.9) and the table of offsets of Sec. 1.5.3. The Wigley hull of Eq. (1.5) is the test case with exact answers.

A first reading. Sections 2.1 to 2.8 carry the main thread, from offsets to areas, moments, volumes and their error; the rules of Sec. 2.4 for real tables of offsets are used throughout Secs. 2.5 to 2.8. On a first reading Sec. 2.4.5, on the ends of a curve, and Sec. 2.5.5, on the moment of the area between two ordinates, can be skimmed, and the alternatives to Simpson’s rules in Sec. 2.9 can wait for a second reading.

2.1 From offsets to integrals

At the end of Chapter 1 you had the hull as a table of half-breadths at stations and waterlines, or as a surface that can be cut wherever you choose, and the integrals for its volume, waterplane area and centres written down but, for the Series 60 hull, not yet evaluated. Every quantity that the later chapters need is an integral of this geometry. The area of a waterplane is an integral of its half-breadth along the length; the area of a section is an integral of its half-breadth up the height; the volume is an integral of section areas along the length, or of waterplane areas up the height; and the centres and second moments are integrals of half-breadths and areas multiplied by a distance or raised to a power (Sec. 2.5). They are listed in Table 2.1, with the chapters in which each is used.

Table 2.1 The integrals of ship geometry. yW(x)y_W(x) is the half-breadth of the waterline, A(x)A(x) the immersed section area and AW(z)A_W(z) the waterplane area at height zz.

Quantity Integral Integrand Used in chapters
Waterplane area AWA_W 2∫yWdx2\int y_W\,dx half-breadth 3 (tonnes per centimetre immersion), 7
Centre of flotation xFx_F (2/AW)∫xyWdx(2/A_W)\int x\,y_W\,dx xyWx\,y_W 3 (small loads), 4 (longitudinal metacentre), 6 (trim), 7
Transverse second moment ITI_T 23∫yW3dx\tfrac{2}{3}\int y_W^3\,dx yW3y_W^3 4 (metacentric radius), 7
Longitudinal second moment ILI_L 2∫(x−xF)2yWdx2\int (x-x_F)^2\,y_W\,dx (x−xF)2yW(x - x_F)^2\,y_W 4 (longitudinal metacentre, moment to change trim), 6 (trim), 7
Section area to height zz, A(x,z)A(x,z) 2∫0zydη2\int_0^z y\,d\eta half-breadth of the section 1 (Bonjean curves), 7 (trimmed waterlines), 12
Displacement volume ∇\nabla ∫Adx\int A\,dx or ∫AWdz\int A_W\,dz section or waterplane area 3, 4, 7
Centre of buoyancy xBx_B, zBz_B (1/∇)∫xAdx(1/\nabla)\int x\,A\,dx, (1/∇)∫zAWdz(1/\nabla)\int z\,A_W\,dz xAx\,A, zAWz\,A_W 3, 4, 7
Each quantity above, at an angle of heel as above, over inclined waterplanes 8 (GZ)
Area under the curve of righting levers ∫GZdφ\int \mathrm{GZ}\,d\varphi righting lever 9, 11
Volumes of tanks and compartments as ∇\nabla, over a compartment 5, 12
Second moment of the free surface in a tank as ITI_T, about the longitudinal axis through its centroid half-breadth of the free surface 5

Every integrand in the table is known only at a finite set of points. For a lines plan they are the stations and waterlines; for a surface model, they are wherever we choose to cut it; for the righting lever of Chapter 8, they are the angles at which it has been computed. We need a rule that turns a list of ordinates y0,y1,…,yny_0, y_1, \dots, y_n at abscissae x0,x1,…,xnx_0, x_1, \dots, x_n into an approximation of the integral. All the rules of this chapter take the form of a weighted sum of the ordinates,

∫abf(x)dx≈∑i=0nwif(xi),(2.1)\int_a^b f(x)\,dx \approx \sum_{i=0}^{n} w_i\, f(x_i), \qquad (2.1)

in which the weights wiw_i depend only on the positions xix_i, not on the ordinates. Written as small whole numbers with a common factor taken outside, the weights are called multipliers in naval architecture. A rule is a set of positions and weights, chosen once and applied to any curve. The products wif(xi)w_i f(x_i) were traditionally called the functions of the ordinates, and a calculation laid out in a table of ordinates, multipliers and products is still the clearest way to see what a rule does.

There are three ways to arrive at the weights. One is geometric, as Chapman’s was: replace the curve between ordinates by simple pieces whose areas are known. A second replaces the curve by the polynomial that passes through the ordinates and integrates the polynomial exactly; this is the route that generalizes most easily, and it is used below for unequal spacing. A third expands the integrand in a Taylor series about each ordinate, which is how the error of a rule is found; all three lead to the same rules.

Two of the reference hulls of Chapter 1 serve as test cases throughout. The surface of the Wigley hull is given by a formula, so its integrals are known exactly and the error of any rule applied to its offsets can be measured. Its offsets in Table 1.2, eleven stations 10 m apart and five waterlines 1.5625 m apart, are the input. The Series 60 hull is the realistic case, and for it there is no exact answer. Its input is the table of offsets in which Todd6 published it, transcribed in Chapter 1: 25 stations, with half stations near both ends, and waterlines at the baseline and at 0.075, 0.25, 0.5, 0.75 and 1.0 times the design draught, the uneven spacing that a real table often has. Todd’s own tabulated values, and those of the surface that Chapter 1 built through Todd’s table (below called simply the smooth surface), serve for comparison with the results from the table. The three are compared in Sec. 2.6.3, and the difference from Todd’s displacement is discussed in Sec. 2.7.

2.2 The trapezoidal rule

The simplest rule, and the usual practice that Chapman set out to replace, joins the tops of neighbouring ordinates by straight lines and adds up the trapezia underneath. A strip of width xi+1−xix_{i+1} - x_i between ordinates yiy_i and yi+1y_{i+1} has area 12(xi+1−xi)(yi+yi+1)\tfrac{1}{2}(x_{i+1} - x_i)(y_i + y_{i+1}), and the sum over all strips is

∫x0xnfdx≈∑i=0n−1(xi+1−xi)(yi+yi+1)2,(2.2)\int_{x_0}^{x_n} f\,dx \approx \sum_{i=0}^{n-1} \frac{(x_{i+1} - x_i)\,(y_i + y_{i+1})}{2}, \qquad (2.2)

which for equal spacing hh becomes the trapezoidal rule,

∫x0xnfdx≈h(12y0+y1+y2+…+yn−1+12yn).(2.3)\int_{x_0}^{x_n} f\,dx \approx h\left(\tfrac{1}{2}y_0 + y_1 + y_2 + \dots + y_{n-1} + \tfrac{1}{2}y_n\right). \qquad (2.3)

Its multipliers are ½, 1, 1, …, 1, ½, because each strip gives half its width to each of its two ordinates, and every ordinate except the first and the last belongs to two strips. The rule is exact for straight lines but not, in general, for curves, and its error is the sum of the slivers between the chords and the curve (Figs. 2.1(b) and 2.2). Where the curve bulges away from the base, as a waterline does, each chord cuts inside it and the rule underestimates the area; where the curve sags towards the base, each chord passes outside it and the rule overestimates4. To first order, each sliver is the area between a chord of length hh and a parabola with the curvature of the curve, −h3f″/12-h^3 f''/12, and adding the nn slivers over the interval b−a=nhb - a = nh gives

ET=∫abfdx−QT=−(b−a)h212f″(x*),(2.4)E_T = \int_a^b f\,dx - Q_T = -\frac{(b-a)\,h^2}{12}\,f''(x^*), \qquad (2.4)

where QTQ_T is the value given by the rule and x*x^* is some point in the interval7. The sign agrees with the picture. Where f″<0f'' < 0 the curve bulges away from the base, ETE_T is positive and the rule is too small. An error quoted in per cent is that of the rule’s result relative to the exact value, so a rule that is too small has a negative percentage error. The value of f″f'' is not known in general, and the formula is more useful for what it says about spacing. The error is proportional to h2h^2, so halving the spacing reduces it to about a quarter. A rule whose error falls as hph^p is said to be of order pp; the trapezoidal rule is of order 2.

Half of the Wigley design waterline, from the AP at the left to the FP at the right, drawn as a smooth parabola above a horizontal axis. Five ordinates divide it into four equal strips, and straight chords join their tops. The trapezia under the chords are shaded lightly and labelled as the area the rule counts; the thin crescent-shaped slivers between the parabola and the chords are shaded darker and labelled as the slivers the rule misses. A second panel, below the first, shows the error of the rule against the number of strips on logarithmic scales, falling along a straight line of slope minus two.

Figure 2.2 The trapezoidal rule on half of the Wigley design waterline: (a) four strips, with the slivers between chords and curve; (b) the error against the number of strips.

Example 2.1. The trapezoidal rule on the Wigley waterplane. The Wigley hull is 100 m long and 10 m wide, and the half-breadths of its design waterline at stations 0 to 10, 10 m apart, are 0, 1.8, 3.2, 4.2, 4.8, 5.0, 4.8, 4.2, 3.2, 1.8 and 0 m. Find the waterplane area by the trapezoidal rule. Compare it with the exact value 23LB\tfrac{2}{3}LB, and predict the error with 20 strips instead of 10.

Show full solution

Solution.

The rule. The end ordinates are zero, so the trapezoidal rule gives hh times the sum of the others:

one side=10×33.0=330.0m2,AW=2×330.0=660.00m2.\begin{aligned} \text{one side} &= 10 \times 33.0 = 330.0\ \mathrm{m^2}, \\ A_W &= 2 \times 330.0 = 660.00\ \mathrm{m^2}. \end{aligned}

The error. The exact area is 23×100×10=666.67\tfrac{2}{3} \times 100 \times 10 = 666.67 m², so the rule is 1.00 % low, as expected for a curve that bulges away from its base. The waterline is a parabola, f″f'' is constant, and the error formula of the rule is exact. For one side f″=−2(B/2)/(L/2)2=−0.004f'' = -2(B/2)/(L/2)^2 = -0.004 m⁻¹, and

ET=−(b−a)h2f″12=100×100×0.00412=3.333m2,E_T = -\frac{(b-a)\,h^2 f''}{12} = \frac{100 \times 100 \times 0.004}{12} = 3.333\ \mathrm{m^2},

or 6.67 m² for both sides.

With 20 strips. The error falls to a quarter, 1.67 m², and the rule gives 665.00 m², 0.25 % low.

A second-order rule converges slowly; to bring the error of Example 2.1 down to 0.01 % would take about 100 strips, and a real table of offsets has 20 or so. The trapezoidal rule nevertheless remains in use, because it requires only that the curve be close to its chords. It works for any spacing and never overshoots between the ordinates. With the closely spaced ordinates that a computer can supply, its simplicity outweighs its low order. For some integrands the rule is much more accurate than its error formula suggests, for instance when the slope of the integrand is zero at both ends (Sec. 2.5.3).

2.3 Simpson’s first rule

Chapman’s rule replaces the chord by a parabola. His construction (Fig. 2.3) takes three equally spaced ordinates y0y_0, y1y_1, y2y_2, a distance hh apart, and passes a parabola through their tops. The area under the parabola is the trapezium under the chord from y0y_0 to y2y_2, of area 2h⋅12(y0+y2)2h\cdot\tfrac{1}{2}(y_0 + y_2), plus the parabolic segment between the chord and the curve. That segment is two-thirds of the parallelogram that encloses it, a result known since Archimedes, and the parallelogram has width 2h2h and height y1−12(y0+y2)y_1 - \tfrac{1}{2}(y_0 + y_2), the amount by which the middle ordinate rises above the chord. Adding the two,

∫x0x2fdx≈h(y0+y2)+23⋅2h[y1−12(y0+y2)]=h3(y0+4y1+y2).(2.5)\int_{x_0}^{x_2} f\,dx \approx h\,(y_0 + y_2) + \tfrac{2}{3}\cdot 2h\left[y_1 - \tfrac{1}{2}(y_0 + y_2)\right] = \frac{h}{3}\left(y_0 + 4y_1 + y_2\right). \qquad (2.5)

Three ordinates y0, y1 and y2 a distance h apart, with a parabola through their tops. The trapezium under the straight chord from the top of y0 to the top of y2 is shaded lightly. Above the chord, the parabolic segment between chord and curve is shaded more darkly, and a dashed parallelogram of width 2h encloses it, touching the parabola at the top of the middle ordinate. Labels state that the segment is two-thirds of the parallelogram, and that the total area is h/3 times (y0 + 4 y1 + y2).

Figure 2.3 Simpson’s first rule by Chapman’s construction: the trapezium under the chord, plus two-thirds of the enclosing parallelogram.

Applied to successive pairs of strips along a curve divided into an even number nn of equal intervals, the rule for one pair gives Simpson’s first rule,

∫x0xnfdx≈h3(y0+4y1+2y2+4y3+…+2yn−2+4yn−1+yn),(2.6)\int_{x_0}^{x_n} f\,dx \approx \frac{h}{3}\left(y_0 + 4y_1 + 2y_2 + 4y_3 + \dots + 2y_{n-2} + 4y_{n-1} + y_n\right), \qquad (2.6)

with multipliers 1, 4, 2, 4, …, 2, 4, 1. They are found by writing the multipliers 1, 4, 1 of each pair under its own three ordinates and adding each column4, as here for three pairs:

Ordinate y0y_0 y1y_1 y2y_2 y3y_3 y4y_4 y5y_5 y6y_6
First pair 1 4 1
Second pair 1 4 1
Third pair 1 4 1
Multiplier 1 4 2 4 2 4 1

The ordinates at the junctions of the pairs carry 2, because each belongs to two pairs; the rule needs an even number of intervals, that is, an odd number of ordinates.

The rule was built to be exact for a parabola, and symmetry makes it exact for a cubic as well. Measured from the middle ordinate, a cubic term c(x−x1)3c\,(x - x_1)^3 is odd: it contributes equal and opposite amounts on either side, so its integral over the pair is zero, and the rule, whose weights are symmetric about x1x_1, also gives zero for it. The first term the rule cannot integrate exactly is the quartic, and repeating the reasoning that gave the error of the trapezoidal rule, with that term, gives the error of Simpson’s rule7

ES=∫abfdx−QS=−(b−a)h4180f(4)(x*)(2.7)E_S = \int_a^b f\,dx - Q_S = -\frac{(b-a)\,h^4}{180}\,f^{(4)}(x^*) \qquad (2.7)

(the constant is found in Exercise 2.9). Simpson’s rule is of order 4, so halving the spacing reduces the error to about one-sixteenth. With the same ordinates as the trapezoidal rule it gains two orders, at the cost of a constraint on their number, and the gain depends on the curve being smooth (Sec. 2.7).

Simpson’s rule can also be obtained from the trapezoidal rule. Let QhQ_h and Q2hQ_{2h} be the trapezoidal results with spacing hh and with every other ordinate, spacing 2h2h. Both errors are proportional to the square of the spacing, so the error of Q2hQ_{2h} is about four times that of QhQ_h, and the combination (4Qh−Q2h)/3(4Q_h - Q_{2h})/3 cancels the leading term. Written out, the combination is Simpson’s first rule, the trapezoidal rule with its main error removed. Combining two results to cancel the leading error term works for any rule whose order is known, and gives the error estimate of Sec. 2.7.

Example 2.2. Simpson’s rule on the Wigley waterplane. The design waterline of the Wigley hull has half-breadths of 0, 1.8, 3.2, 4.2, 4.8, 5.0, 4.8, 4.2, 3.2, 1.8 and 0 m at stations 0 to 10, 10 m apart. Find the waterplane area by Simpson’s rule.

Show full solution

Solution.

The area. With multipliers 1, 4, 2, …, 4, 1 the ordinates give

Σ=4×(1.8+4.2+5.0+4.2+1.8)+2×(3.2+4.8+4.8+3.2)=68.0+32.0=100.0,AW=2×103×100.0=666.67m2,\begin{aligned} \Sigma &= 4 \times (1.8 + 4.2 + 5.0 + 4.2 + 1.8) + 2 \times (3.2 + 4.8 + 4.8 + 3.2) = 68.0 + 32.0 = 100.0, \\ A_W &= 2 \times \tfrac{10}{3} \times 100.0 = 666.67\ \mathrm{m^2}, \end{aligned}

the exact value. The waterline is a parabola, and the rule is exact for it.

In Example 2.2 the parabolic rule gives the waterplane area exactly, where the straight-line rule of Example 2.1 is 1 % out. The volume of the Wigley hull shows the difference again, because its sections are parabolas in zz and its sectional-area curve is a parabola in xx. Simpson’s rule applied to the five waterlines of each section and then to the eleven section areas gives ∇=2777.78\nabla = 2777.78 m³ exactly. The trapezoidal rule, applied in both directions, gives 2707.03 m³, 2.55 % low.

2.4 Adapting the rules to real tables of offsets

The Wigley offsets used so far have eleven stations at one spacing and an even number of intervals, and a real table of offsets is seldom as tidy. The ends of a ship curve more sharply than its middle, so designers add half stations there, as Todd did at stations 0.5, 1.5, 18.5 and 19.5. Near the bottom the bilge turns through a right angle within a metre or two, so the lowest waterlines are placed closer together, as Todd’s are, at the baseline and 0.075 times the draught. Nor is the number of intervals always even. Each of these cases is handled by keeping in view the idea behind Simpson’s rules, a polynomial through a few neighbouring ordinates (a parabola through each successive pair of intervals, or a cubic through three), integrated exactly. The parabola of a pair also gives the area over a single interval. A curve that ends between ordinates needs, in addition, an assumption about its shape beyond the last ordinate.

2.4.1 Half stations

Where the spacing is halved, each pair of half-intervals is a Simpson pair with spacing h/2h/2, so its multipliers 1, 4, 1 are halved when everything is written over the common factor h/3h/3. Joining the halved pattern ½, 2, 1, 2, ½ at the ends to the normal pattern 1, 4, 2, …, 4, 1 between them, and adding the multipliers where the two meet, gives the sequence for Todd’s 25 stations (Fig. 2.4(b)):

Station 0 0.5 1 1.5 2 3 4 … 16 17 18 18.5 19 19.5 20
Halved pattern ½ 2 1 2 ½ ½ 2 1 2 ½
Normal pattern 1 4 2 … 2 4 1
Multiplier ½ 2 1 2 1½ 4 2 … 2 4 1½ 2 1 2 ½

The sum of the products is multiplied by h/3h/3, where hh is the spacing of the whole stations. Halving the multipliers wherever the interval is halved also serves for quarter stations and for the second rule below4,8. Some tables halve every multiplier, to ½, 2, 1, 2, …, with 1 and 2 instead of 2 and 4 at the whole stations, and multiply the sum by 2h/32h/3 instead of h/3h/3. The result is unchanged, and these half multipliers save a little arithmetic8,9. They are used, for instance, in a worked calculation of displacement from section areas8.

Two panels, one above the other, sharing the station axis of the Series 60 hull, from station 0 at the AP on the left to station 20 at the FP on the right. (a) The half-breadths of the design waterline from Todd’s table, plotted as points at the 25 stations, with the half stations near both ends drawn as open circles, and a short extension aft of the AP to where the cruiser stern ends the waterline 2.06 m behind it. (b) Vertical bars at the 25 stations showing Simpson multipliers: one half, 2, 1, 2 and one and a half at each end, alternating 4 and 2 between.

Figure 2.4 Todd’s table as input to the rules: (a) the design waterline at 25 stations; (b) Simpson multipliers with half stations at both ends.

2.4.2 Simpson’s second rule

A cubic through four equally spaced ordinates, integrated over the three intervals between them, gives Simpson’s second rule,

∫x0x3fdx≈3h8(y0+3y1+3y2+y3),(2.8)\int_{x_0}^{x_3} f\,dx \approx \frac{3h}{8}\left(y_0 + 3y_1 + 3y_2 + y_3\right), \qquad (2.8)

with composite multipliers 1, 3, 3, 2, 3, 3, 2, …, 3, 3, 1 and the factor 3h/83h/8. Its weights follow from the condition that the rule integrate 1, xx, x2x^2 and x3x^3 exactly. With the origin at the middle of the three intervals, the ordinates stand at ±h/2\pm h/2 and ±3h/2\pm 3h/2; by symmetry the inner two carry one weight β\beta and the outer two another, α\alpha, and the odd powers are then integrated exactly whatever α\alpha and β\beta are. The constant and x2x^2 give

2α+2β=3h,2α9h24+2βh24=∫−3h/23h/2x2dx=9h34,2\alpha + 2\beta = 3h, \qquad 2\alpha\,\frac{9h^2}{4} + 2\beta\,\frac{h^2}{4} = \int_{-3h/2}^{3h/2} x^2\,dx = \frac{9h^3}{4},

so that α=3h/8\alpha = 3h/8 and β=9h/8\beta = 9h/8, the weights of the second rule8. Like the first rule, it is exact for cubics and its error is of order 4. The constant of its error is 1/801/80 in place of the 1/1801/180 of the first rule, and at a given spacing its error is about twice as large. It is used for a number of intervals that is a multiple of three, or, combined with the first rule, for any odd number of intervals: three intervals by the second rule and the rest in pairs by the first8.

2.4.3 Unequal intervals

When the two intervals of a pair are not equal, the parabola through the three ordinates can still be integrated exactly. For ordinates y0y_0, y1y_1, y2y_2 with intervals h1h_1 and h2h_2 between them, the result is

∫x0x0+h1+h2fdx≈h1+h26[(2−h2h1)y0+(h1+h2)2h1h2y1+(2−h1h2)y2],(2.9)\int_{x_0}^{x_0 + h_1 + h_2} f\,dx \approx \frac{h_1 + h_2}{6}\left[\left(2 - \frac{h_2}{h_1}\right) y_0 + \frac{(h_1+h_2)^2}{h_1 h_2}\, y_1 + \left(2 - \frac{h_1}{h_2}\right) y_2\right], \qquad (2.9)

which reduces to Simpson’s rule for one pair when h1=h2=hh_1 = h_2 = h (Exercise 2.8). The weight of y0y_0 becomes negative when the second interval is more than twice the first, h2>2h1h_2 > 2h_1, and that of y2y_2 in the opposite case. For Todd’s lowest waterlines, at 0, 0.075 and 0.25 times the draught, h2/h1=7/3h_2/h_1 = 7/3, and the weight of the baseline ordinate is −0.0139T-0.0139\,T. The sign follows from the parabola (Fig. 2.5(a)). Raising y0y_0 while y1y_1 and y2y_2 stay fixed makes the parabola curve upwards more strongly. Over the long second interval it then sags below its chord, and the area lost there is more than the area gained over the short first interval. At the Series 60 draught of 6.5024 m the intervals are 0.488 m and 1.138 m, and a rise of 1 m in y0y_0 adds 0.219 m² under the parabola over the first interval and removes 0.310 m² over the second, a net change of −0.090 m², which is the weight of y0y_0 in metres. The negative weight is a property of the parabola, and it allows the rule to amplify errors in the ordinates, the more so the more unequal the intervals (Fig. 2.5(b)).

For any spacing, the intervals are paired from one end and this rule is applied to each pair; if one interval is left over, its area is taken from the parabola through the last three points. This is the construction behind the simpson function of the SciPy library10: for an odd number of equally spaced ordinates it is Simpson’s first rule, and for any other set it is the piecewise-parabolic rule just described. Version 1.18.1 was checked, and its results agree with this chapter’s scripts to rounding.

Two panels, one above the other. (a) Half-breadth in metres against height above the baseline, over the lowest quarter of the draught of the Series 60 hull. Three points mark Todd’s midship half-breadths: 5.77 m at the baseline, 7.04 m at 0.075 times the draught and 8.01 m at 0.25 times the draught; dimension lines below give the two intervals, h1 = 0.488 m and h2 = 1.138 m. A solid curve, the parabola through the three points, rises steeply and then flattens. An open circle 1 m above the lowest point, with an arrow up to it, marks y0 raised by 1 m, and a dashed curve is the parabola through the raised point and the other two. Over the first interval the dashed curve lies above the solid one, and the hatched area between them is labelled gained, 0.219 square metres. Over the second interval the dashed curve lies below the solid one and below the dotted chord between the upper two points, and the hatched area between the curves is labelled lost, 0.310 square metres. (b) The weights of the two end ordinates of the rule, as fractions of the length of the pair, against the ratio h2 over h1 on a logarithmic scale from one quarter to 4. The weight of y0, solid, falls from about 0.29 to minus 0.33 and crosses zero at a ratio of 2; the weight of y2, dashed, rises from minus 0.33 to about 0.29 and crosses zero at one half. The two curves cross at a ratio of 1, marked as Simpson’s rule, where each weight is one sixth. A point at a ratio of 7/3, marked as Todd’s lowest waterlines, lies on the curve of y0 in the shaded region of negative weights, at minus 1/18.

Figure 2.5 The negative weight of the rule for unequal intervals: (a) the parabola through Todd’s three lowest midship half-breadths, and with the lowest raised by 1 m (dashed); (b) the weights of the end ordinates against the ratio of the intervals.

2.4.4 The area between two ordinates

The parabola through three equally spaced ordinates can also be integrated over its first interval only, which gives the area between y0y_0 and y1y_1:

∫x0x1fdx≈h12(5y0+8y1−y2).(2.10)\int_{x_0}^{x_1} f\,dx \approx \frac{h}{12}\left(5y_0 + 8y_1 - y_2\right). \qquad (2.10)

This is the five-eight rule, sometimes called Simpson’s third rule4,11. The 5 belongs to the end ordinate of the pair that bounds the strip, the 8 to the middle ordinate and the −1 to the other end ordinate of the pair; for the other strip of the pair the order is reversed. Attwood checked it on a curve with ordinates of 8.5, 10.4 and 11.85, 2 apart: the five-eight areas of the two halves, 18.97 and 22.32 in his figures (18.975 and 22.325 before rounding), add up to the 41.3 that Simpson’s rule gives for the pair, as they must, since the two sets of weights add up to those of Simpson’s rule. With unequal intervals, h1h_1 the interval integrated and h2h_2 the next, the weights are

∫x0x0+h1fdx≈h1(2h1+3h2)6(h1+h2)y0+h1(h1+3h2)6h2y1−h136h2(h1+h2)y2.(2.11)\int_{x_0}^{x_0 + h_1} f\,dx \approx \frac{h_1\,(2h_1 + 3h_2)}{6\,(h_1 + h_2)}\,y_0 + \frac{h_1\,(h_1 + 3h_2)}{6\,h_2}\,y_1 - \frac{h_1^3}{6\,h_2\,(h_1 + h_2)}\,y_2. \qquad (2.11)

With the five-eight rule and its form for unequal intervals, a curve can be integrated up to an ordinate that is not at the end of a Simpson pair, as the integral with a variable upper limit requires (Sec. 2.8.1). Neither form is exact for cubics. Simpson’s rule owes its exactness for cubics to the symmetry about the middle ordinate, and that symmetry is lost when only one interval of the pair is integrated.

2.4.5 Curves ending between ordinates

A curve seldom ends at a station. The design waterline of the Series 60 hull carries on 2.06 m aft of the AP, to the cruiser stern6, and a curve of section areas taken to a low waterline may end between stations at both ends. There are four ways of including such a part, each resting on an assumption about the curve beyond the last ordinate, where the table gives nothing.

The first is to measure one extra ordinate, midway between the last station and the extremity, and to integrate the end as a Simpson pair of its own, with a zero ordinate at the extremity. Its multipliers are 1, 4 and 1 times the ratio of the half-length of the end to the station spacing, and they are added to those of the main integration where the two meet, so that one sum gives the whole area8. The US Navy’s Ship Hull Characteristics Program worked in this way: where a curve did not end at a station, it extrapolated the curve to the axis and placed one offset midway between the extremity and the first known offset8. The second is to replace the end by a shape whose area and centroid are known, a triangle or a parabola, as in Example 2.3. The third keeps the stations and changes the end ordinate instead: a reduced ordinate is chosen, by eye or by a construction, with which the rule gives the area under the real curve7. The fourth takes the shape of the end from the table itself. The extremity is taken as an ordinate of zero, and the parabola through it and the two nearest ordinates is integrated over the end by the five-eight rule for unequal intervals, Eq. (2.11). A related rule, for a curve that ends short of a station, also assumes a parabola, fixed by the two last ordinates and a fictitious, negative ordinate read at the station beyond the extremity from the curve continued past it8.

The endings that these assumptions give for the Series 60 waterline are drawn in Fig. 2.6. A parabola with its vertex at the AP leaves the AP without slope, and a parabola with its vertex at the extremity meets the centreline at a right angle. Both enclose two-thirds of the rectangle that bounds them, so each has an area of 1.83 m² for the two sides together, but their centroids lie at 3/8 and at 0.4 of the length of the end aft of the AP. The smooth surface carries the waterline almost straight from the AP to the extremity and encloses 1.39 m². The three curves cross the extra ordinate at 0.500 m, 0.471 m and 0.340 m. With these midway ordinates, Simpson’s rule on the extra pair gives 1.83 m² for the parabola with its vertex at the AP, which it integrates exactly, and 1.39 m² for the surface. For the parabola with its vertex at the extremity it gives 1.75 m², because that curve meets the centreline with a vertical tangent, as Chapman’s arc meets its axis, and the parabola of the rule cannot follow it. In the fourth way the ordinates are 0 at the extremity, 0.666 m at the AP, 2.06 m forward of it, and 1.569 m at station ½, a further 3.048 m forward. Equation (2.11) gives 0.694 m² for one side and 1.39 m² for both, and the first moment of the parabola puts its centroid 0.335 of the length of the end aft of the AP. These are the values of the surface’s ending to the precision printed. Both curves pass through the three points, and between them they hardly differ: the parabola crosses the extra ordinate at 0.339 m, against 0.340 m for the surface, and Fig. 2.6 does not draw it separately. The ordinate at the AP and the length of the end are known, but the shape between them is not, and the possible endings differ in area by about a quarter of the area of the end. That is 0.03 % of the waterplane; its effect on the centre of flotation is found in Example 2.5.

The after end of the design waterline of the Series 60 hull, half-breadth against distance from the AP, from 2.5 m aft of the AP to 3.6 m forward of it. Ordinates stand at the AP, 0.666 m, and at station one half, 1.569 m. Aft of the AP the waterline ends on the centreline 2.06 m behind it. Three endings are drawn between the AP and that point: a parabola with its vertex at the AP, which leaves the AP level and falls ever more steeply to the end; a dashed parabola with its vertex at the end, which rises steeply from the end and flattens towards the AP; and the waterline of the smooth surface built through Todd’s offsets in Chapter 1, almost straight from the end to the AP and continuing forward. A dotted rectangle bounds the two parabolas. A dashed vertical line midway between the AP and the end is the extra ordinate, and the three curves cross it at 0.50, 0.47 and 0.34 m. A note lists the areas aft of the AP for both sides: 1.83 square metres for either parabola, with centroids 0.375 and 0.400 of the length aft of the AP, and 1.39 square metres for the surface, with its centroid 0.335 of the length aft.

Figure 2.6 Three possible endings of the Series 60 design waterline aft of the AP, with the extra ordinate midway between the AP and the end of the waterline.

A volume also has ends beyond its ordinates, the part below the lowest waterline, where the keel rises aft or the hull narrows to a fin, and the parts beyond the end stations. Chapman allowed for both on his privateer, with the small triangle below the lowest waterline in each section and a separate estimate of the slivers beyond the end sections. Such parts are computed separately, each with its volume and centre, and combined with the main body by moments, as in Attwood’s worked calculation of displacement for the appendage below its lowest waterplane4. The volume of the shell and of true appendages, which lie outside the moulded surface, is also added separately (Sec. 3.4.6).

Table 2.2 Waterplane sheet for the design waterline of the Series 60 hull, from Todd’s offsets: the area. yy is the half-breadth (m), printed to 1 mm; products are computed from the unrounded half-breadths. The multipliers are those of Fig. 2.4(b).

Station xx (m) yy (m) Multiplier Product for area
0 0.00 0.666 ½ 0.333
0.5 3.05 1.569 2 3.137
1 6.10 2.503 1 2.503
1.5 9.14 3.454 2 6.909
2 12.19 4.357 1½ 6.535
3 18.29 5.893 4 23.571
4 24.38 6.966 2 13.931
5 30.48 7.616 4 30.464
6 36.58 7.925 2 15.850
7 42.67 8.079 4 32.317
8 48.77 8.128 2 16.256
9 54.86 8.128 4 32.512
10 60.96 8.128 2 16.256
11 67.06 8.128 4 32.512
12 73.15 7.957 2 15.915
13 79.25 7.527 4 30.106
14 85.34 6.836 2 13.671
15 91.44 5.836 4 23.344
16 97.54 4.568 2 9.136
17 103.63 3.178 4 12.712
18 109.73 1.853 1½ 2.780
18.5 112.78 1.300 2 2.601
19 115.82 0.829 1 0.829
19.5 118.87 0.415 2 0.829
20 121.92 0.000 ½ 0.000
Sum 345.01

Example 2.3. The waterplane of the Series 60 hull from Todd’s table. Using the half-breadths of the design waterline at Todd’s 25 stations (Table 2.2), find the waterplane area by Simpson’s rule with half stations, add the small part of the waterplane aft of the AP, where the waterline ends 2.06 m behind it, and find CWPC_{WP}. The hull has LPPL_{PP} = 121.92 m and BB = 16.256 m.

Show full solution

Solution.

Between the perpendiculars. The station spacing is h=121.92/20=6.096h = 121.92/20 = 6.096 m. Multiplying each half-breadth by its multiplier and adding (Table 2.2) gives 345.01, so

AW=2×6.0963×345.01=1402.12m2.A_W = 2 \times \frac{6.096}{3} \times 345.01 = 1402.12\ \mathrm{m^2}.

Aft of the AP. The cruiser stern carries the waterline a further 2.06 m aft6, from a half-breadth of 0.666 m at the AP. Taken as a parabola with its vertex at the AP (Fig. 2.6), which encloses two-thirds of its bounding rectangle, this part adds

2×23×0.666×2.06=1.83m2,2 \times \tfrac{2}{3} \times 0.666 \times 2.06 = 1.83\ \mathrm{m^2},

so that AW=1402.12+1.83=1403.95A_W = 1402.12 + 1.83 = 1403.95 m².

The coefficient. With L=LPPL = L_{PP} and B=16.256B = 16.256 m,

CWP=1403.95121.92×16.256=0.708.C_{WP} = \frac{1403.95}{121.92 \times 16.256} = 0.708.

Comment. The smooth surface gives 1403.31 m², and Todd tabulates CWPC_{WP} = 0.706. The trapezoidal rule on the unrounded half-breadths of Table 2.2, with the part aft of the AP added, gives 1400.87 m². A parabola with its vertex at the end of the waterline also encloses 1.83 m². The nearly straight ending of the surface encloses 1.39 m², and with it AWA_W would be 1403.51 m². None of these endings changes CWPC_{WP} in the third decimal.

2.5 Moments, centroids and second moments

The area of the Series 60 waterplane came from 25 half-breadths and their multipliers in Table 2.2. Its centre of flotation needs one more column on the waterplane sheet, because a centre is a first moment divided by an area, and a first moment is the integral for an area with the integrand multiplied by a distance. The rule that gave the area therefore serves for the moment, applied to the products xyx\,y instead of yy. In a hand calculation the distance is written as a lever in units of the station spacing, here the station number kk, with x=khx = k\,h, and the factor hh is applied once at the end:

xF=2∫xyWdxAW=h∑mikiyi∑miyi,(2.12)x_F = \frac{2\int x\,y_W\,dx}{A_W} = h\,\frac{\sum m_i\,k_i\,y_i}{\sum m_i\,y_i}, \qquad (2.12)

where mim_i are the multipliers. Any reference point for the levers will do, provided that all the products of one moment use it. Levers measured from amidships, positive forward and negative aft, keep the numbers small and were the traditional choice4. In this section the first moment is taken about the AP, the origin of every longitudinal position, and its levers are the station numbers; the second moment is taken about the transverse axis amidships, where the squares of the levers are smaller.

2.5.1 Moments of a strip and the transverse second moment

The integrands come from the moments of a strip (Fig. 2.7(a)). A strip of the waterplane, of width dxdx and half-breadth yy on one side, has area ydxy\,dx, and all of it lies at the distance xx from the AP, so its first and second moments about the AP are xydxx\,y\,dx and x2ydxx^2 y\,dx. About the centreline the distance varies across the strip, from 0 at the centreline to yy at the waterline. The centroid of the strip is at y/2y/2, which gives its first moment about the centreline, 12y⋅ydx=12y2dx\tfrac{1}{2}y \cdot y\,dx = \tfrac{1}{2}y^2\,dx. For any plane area whose ordinates stand on a straight base, the integrand 12y2\tfrac{1}{2}y^2 gives the moment about that base (Exercise 2.6). The second moment of the strip about the centreline adds up the squares of the distances η\eta of its elements dηdxd\eta\,dx,

dx∫0yη2dη=13y3dx,dx \int_0^{y} \eta^2\,d\eta = \tfrac{1}{3}y^3\,dx,

and for both sides of the waterplane it gives the transverse second moment of the waterplane, about the centreline8,9,

IT=23∫yW3dx.(2.13)I_T = \frac{2}{3}\int y_W^3\,dx. \qquad (2.13)

It is called transverse because it governs heel, the inclination of the ship in the transverse plane. How far the centre of buoyancy moves sideways when the ship heels by a small angle depends on ITI_T and on the volume, and that movement fixes the position of the metacentre. Second moments of area are also called moments of inertia, and ITI_T is the transverse moment of inertia of the waterplane12. It depends only on the geometry of the waterplane and is measured in m⁴. The mass moment of inertia of the ship in roll is a different quantity12, the mass of the ship times the square of its radius of gyration about a longitudinal axis through its centre of gravity, measured in t·m². The integrand of ITI_T is the cube of the half-breadth, so the breadth of the waterplane dominates its value.

Historical note: Chapman’s table of cubes

Cubes were tedious to work out by hand, and Chapman printed a table of them at the end of his treatise for stability calculations. His French translator, judging it to be in daily use, checked every entry1.

The transverse inertia coefficient compares ITI_T with B3L/12B^3L/12, the second moment of the rectangle L×BL \times B about its centreline12,13,

CIT=12ITB3L,C_{IT} = \frac{12\,I_T}{B^3 L},

which is 1 for a rectangle, 48/105 = 0.457 for the Wigley waterplane (Example 2.4) and 0.544 for the Series 60 waterplane (Example 2.5). The second moment of the rectangle overstates ITI_T by the factor 1/CIT1/C_{IT}, 2.19 for the Wigley waterplane and 1.84 for the Series 60, and B3L/12B^3L/12 is no substitute for integrating the cubes of the half-breadths.

2.5.2 The longitudinal second moment

The longitudinal second moment ILI_L is the second moment of the waterplane about the transverse axis through its centre of flotation F. It is taken first about a convenient transverse axis, through the AP or amidships, and then moved to F (Fig. 2.7(b)). Writing each distance from the AP as x=(x−xF)+xFx = (x - x_F) + x_F and squaring it,

2∫x2yWdx=2∫(x−xF)2yWdx+4xF∫(x−xF)yWdx+xF2⋅2∫yWdx.2\int x^2 y_W\,dx = 2\int (x - x_F)^2\,y_W\,dx + 4x_F\int (x - x_F)\,y_W\,dx + x_F^2 \cdot 2\int y_W\,dx.

The middle integral is the first moment of the waterplane about an axis through its own centroid, which is zero by the definition of the centroid, and the last term is AWxF2A_W\,x_F^2. What remains is the parallel-axis theorem,

IL=2∫(x−xF)2yWdx=2∫x2yWdx−AWxF2.(2.14)I_L = 2\int (x - x_F)^2\,y_W\,dx = 2\int x^2\,y_W\,dx - A_W\,x_F^2. \qquad (2.14)

The second moment about an axis through the centroid is the smallest of all those about parallel axes: moving the axis a distance dd away from the centroid adds Ad2A\,d^2, where AA is the area, and moving it back to the centroid subtracts it8,14. A sign error here is easy to make and hard to see, because both results look plausible.

Two panels for the design waterline of the Series 60 hull. (a) One side of the waterplane, half-breadth against distance from the AP, with half-breadths drawn at five times the scale of lengths, shaded light blue, with a narrow vertical strip standing on the centreline at about 95 m from the AP and bounded above by the waterline. Its width dx is dimensioned above it, its height is marked y, its distance from the AP x, and a dot at half its height marks its centroid, at y/2 from the centreline. A list in a box above the waterplane gives the strip’s area y dx, its first and second moments about the AP, x y dx and x squared y dx, and its first and second moments about the centreline, one half y squared dx and one third y cubed dx. (b) The whole waterplane, both sides, with half-breadths drawn at two and a half times the scale of lengths, and two parallel transverse axes: one through the AP and one, dashed, through the centre of flotation F, 56 m forward of it. The distance between them is marked x sub F, and the relation I about the AP equals I sub L plus A sub W times x sub F squared is written beside F.

Figure 2.7 Moments of the Series 60 design waterplane: (a) one strip; (b) parallel axes through the AP and through the centre of flotation F. Half-breadths are drawn at 5 times (a) and 2.5 times (b) the scale of lengths.

The longitudinal second moment governs trim, the inclination of the ship in the longitudinal plane, and it is taken about F because a ship at constant displacement trims about F. Only about an axis through the centroid of the waterplane are the wedges immersed and emerged in a small trim equal in volume9. The longitudinal inertia coefficient compares ILI_L with BL3/12BL^3/12, the second moment of the rectangle L×BL \times B about its transverse axis through the centre12,

CIL=12ILBL3.C_{IL} = \frac{12\,I_L}{B L^3}.

The design waterline of the Wigley hull is yW=B2(1−ξ2)y_W = \tfrac{B}{2}(1 - \xi^2) with ξ=2x/L−1\xi = 2x/L - 1, and its centre of flotation is amidships, so that

IL=2∫0L(x−L2)2yWdx=BL38∫−11ξ2(1−ξ2)dξ=BL330,I_L = 2\int_0^L \left(x - \tfrac{L}{2}\right)^2 y_W\,dx = \frac{B L^3}{8}\int_{-1}^{1}\xi^2\left(1 - \xi^2\right)d\xi = \frac{B L^3}{30},

and CILC_{IL} = 0.4; the Series 60 waterplane has CILC_{IL} = 0.428 (Example 2.5).

The two second moments take their value from different parts of the waterplane. In ILI_L each strip is weighted by the square of its distance from F, and in ITI_T by the square of its own half-breadth. The quarters of the length at the two ends of the Wigley waterplane, where |ξ|≥12|\xi| \ge \tfrac{1}{2}, hold 5/16 of its area but give 47/64 of ILI_L, about 73 %, and only 289/2048 of ITI_T, about 14 %:

∫1/21(1−ξ2)dξ∫01(1−ξ2)dξ=5/242/3=516,∫1/21ξ2(1−ξ2)dξ∫01ξ2(1−ξ2)dξ=47/4802/15=4764,∫1/21(1−ξ2)3dξ∫01(1−ξ2)3dξ=289/448016/35=2892048.\begin{aligned} \frac{\int_{1/2}^{1}(1 - \xi^2)\,d\xi}{\int_{0}^{1}(1 - \xi^2)\,d\xi} &= \frac{5/24}{2/3} = \frac{5}{16}, \\ \frac{\int_{1/2}^{1}\xi^2(1 - \xi^2)\,d\xi}{\int_{0}^{1}\xi^2(1 - \xi^2)\,d\xi} &= \frac{47/480}{2/15} = \frac{47}{64}, \\ \frac{\int_{1/2}^{1}(1 - \xi^2)^3\,d\xi}{\int_{0}^{1}(1 - \xi^2)^3\,d\xi} &= \frac{289/4480}{16/35} = \frac{289}{2048}. \end{aligned}

Errors in the end offsets, half stations included, and in the shape assumed aft of the AP matter far more for ILI_L than for ITI_T.

Second moments about other axes are built from strips and moved by the parallel-axis theorem. A waterplane that is not symmetric about the centreline, as at an angle of heel or with one side damaged, also has a product of inertia, and its principal axes are no longer the centreline and a transverse line14. The heeled waterplanes of Chapter 8 and the damaged waterplanes of Chapter 12 are asymmetric in this way. The product of inertia of a polygon is given in Sec. 2.9.3.

2.5.3 Accuracy of the rules for second moments

A rule that is exact for the half-breadth need not be exact for its cube, the integrand of ITI_T, or for x2yWx^2 y_W, the integrand of the second moment about a transverse axis. The accuracy of ITI_T matters because in Chapter 4 it is divided by the volume to give the distance through which the centre of buoyancy moves sideways per radian of a small heel, and a relative error in ITI_T passes unchanged into that distance.

Example 2.4. The transverse second moment of the Wigley waterplane. The design waterline of the Wigley hull, 100 m long and 10 m wide, has half-breadths of 0, 1.8, 3.2, 4.2, 4.8, 5.0, 4.8, 4.2, 3.2, 1.8 and 0 m at stations 0 to 10, 10 m apart. Find ITI_T of the waterplane by Simpson’s rule and by the trapezoidal rule, and compare both with the exact value. Find CITC_{IT}.

Show full solution

Solution.

The exact value. The design waterline of the Wigley hull is yW=B2(1−ξ2)y_W = \tfrac{B}{2}(1 - \xi^2) with ξ=2x/L−1\xi = 2x/L - 1, and dx=L2dξdx = \tfrac{L}{2}\,d\xi, so that

IT=23(B2)3L2∫−11(1−ξ2)3dξ=B3L24⋅3235=4B3L105=3809.52m4,I_T = \tfrac{2}{3}\left(\tfrac{B}{2}\right)^3 \tfrac{L}{2}\int_{-1}^{1}\left(1 - \xi^2\right)^3 d\xi = \frac{B^3 L}{24}\cdot\frac{32}{35} = \frac{4B^3L}{105} = 3809.52\ \mathrm{m^4},

and CIT=12×4/105=48/105=0.457C_{IT} = 12 \times 4/105 = 48/105 = 0.457.

By Simpson’s rule. The cubes of the half-breadths are 0, 5.832, 32.768, 74.088, 110.592, 125.0, 110.592, 74.088, 32.768, 5.832 and 0 m³. Simpson’s multipliers give a sum of 1712.80, so

IT=23×103×1712.80=3806.22m4,I_T = \tfrac{2}{3} \times \tfrac{10}{3} \times 1712.80 = 3806.22\ \mathrm{m^4},

0.087 % low.

By the trapezoidal rule. The sum of the cubes is 571.56, so

IT=23×10×571.56=3810.40m4,I_T = \tfrac{2}{3} \times 10 \times 571.56 = 3810.40\ \mathrm{m^4},

0.023 % high.

Comment. The half-breadth is a parabola, but its cube is a polynomial of degree 6, and neither rule is exact for it. The lower-order rule is the more accurate in this case, because the cube has zero slope at both ends of the waterline.

Simpson’s rule integrated the parabolic Wigley waterline exactly, but the cube of the half-breadth has degree 6 and x2yWx^2 y_W has degree 4. With ten intervals its error is −0.087 % in ITI_T and −0.16 % in ILI_L about amidships; Hamlin warns of such errors in general terms8. The order of a rule is also an incomplete guide to its accuracy. The error of the trapezoidal rule can be expanded as a series, the Euler–Maclaurin formula15, in which the term in h2h^2 is proportional to the difference of the slopes of the integrand at the two ends, −h212[f′(b)−f′(a)]-\tfrac{h^2}{12}\left[f'(b) - f'(a)\right], and the next term, +h4720[f‴(b)−f‴(a)]+\tfrac{h^4}{720}\left[f'''(b) - f'''(a)\right], to the difference of the third derivatives. The cube of a half-breadth that falls to zero at both ends has zero slope there, because d(y3)/dx=3y2dy/dxd(y^3)/dx = 3y^2\,dy/dx, so the h2h^2 term vanishes. The trapezoidal rule then behaves as a rule of order 4, with an error a quarter of Simpson’s and of the opposite sign; in Example 2.4 the trapezoidal rule is 0.88 m⁴ high and Simpson’s rule 3.30 m⁴ low. The effect occurs on fine waterlines with pointed ends and disappears for a waterline that ends in a transom, where yy is not zero.

2.5.4 The Series 60 waterplane

For the Series 60 waterplane the moments are added to the sheet of Table 2.2 as further columns, in Table 2.3.

Table 2.3 Waterplane sheet for the design waterline of the Series 60 hull, continued from Table 2.2: the moments. The lever for the moment is the station number kk (each lever times hh is the distance forward of the AP), and the product for the moment is the product for area times kk. The product for II about amidships is the product for area times (k−10)2(k - 10)^2, the square of the lever from amidships, and the product for ITI_T is the multiplier times y3y^3. As in Table 2.2, products and sums are computed from the unrounded half-breadths; sums formed from the printed entries, or from the rounded half-breadths, differ by less than 0.003 %, which leaves the results of Example 2.5 for xFx_F, ITI_T and ILI_L unchanged at the precision given there.

Station Product for area Product for moment Product for II about amidships y3y^3 (m³) Product for ITI_T
0 0.333 0.000 33.32 0.30 0.15
0.5 3.137 1.569 283.15 3.86 7.72
1 2.503 2.503 202.78 15.69 15.69
1.5 6.909 10.363 499.16 41.22 82.44
2 6.535 13.070 418.23 82.69 124.03
3 23.571 70.714 1154.99 204.63 818.51
4 13.931 55.726 501.53 337.98 675.96
5 30.464 152.319 761.59 441.74 1766.97
6 15.850 95.098 253.59 497.70 995.39
7 32.317 226.218 290.85 527.36 2109.45
8 16.256 130.048 65.02 536.97 1073.94
9 32.512 292.608 32.51 536.97 2147.89
10 16.256 162.560 0.00 536.97 1073.94
11 32.512 357.632 32.51 536.97 2147.89
12 15.915 190.975 63.66 503.85 1007.70
13 30.106 391.379 270.96 426.37 1705.47
14 13.671 191.398 218.74 319.40 638.81
15 23.344 350.154 583.59 198.76 795.03
16 9.136 146.174 328.89 95.31 190.63
17 12.712 216.107 622.90 32.10 128.39
18 2.780 50.036 177.91 6.36 9.55
18.5 2.601 48.118 187.92 2.20 4.40
19 0.829 15.752 67.15 0.57 0.57
19.5 0.829 16.167 74.82 0.07 0.14
20 0.000 0.000 0.00 0.00 0.00
Sum 345.01 3186.69 7125.79 17520.67

Example 2.5. Centre of flotation and second moments of the Series 60 waterplane. From Tables 2.2 and 2.3, find the centre of flotation, ITI_T and CITC_{IT}, and ILI_L about the centre of flotation and CILC_{IL}. The stations are 6.096 m apart, LPPL_{PP} = 121.92 m and BB = 16.256 m. The waterplane area is 1402.12 m² between the perpendiculars and 1403.95 m² with the part aft of the AP, which has an area of 1.83 m² and ends 2.06 m aft of the AP. Take the centroid of that part three-eighths of its length from the AP, and neglect its second moments about its own axes.

Show full solution

Solution.

The centre of flotation. The moment sum of Table 2.3 is 3186.69, so the first moment of the waterplane between the perpendiculars about the AP, and its centroid, are

M=2×h3×h×3186.69=78,947.5m3,x‾=78,947.5/1402.12=56.31m.\begin{aligned} M &= 2 \times \tfrac{h}{3} \times h \times 3186.69 = 78{,}947.5\ \mathrm{m^3}, \\ \bar{x} &= 78{,}947.5/1402.12 = 56.31\ \mathrm{m}. \end{aligned}

The part aft of the AP has area 1.83 m² at x=−38×2.06=−0.77x = -\tfrac{3}{8} \times 2.06 = -0.77 m, and for the whole waterplane

xF=78,947.5−1.83×0.771403.95=56.23m,x_F = \frac{78{,}947.5 - 1.83 \times 0.77}{1403.95} = 56.23\ \mathrm{m},

4.73 m aft of amidships.

The transverse second moment. The sum of the products for ITI_T is 17,520.67 m³, so

IT=23×6.0963×17,520.67=23,735m4,CIT=12ITB3L=0.544.I_T = \tfrac{2}{3} \times \tfrac{6.096}{3} \times 17{,}520.67 = 23{,}735\ \mathrm{m^4}, \qquad C_{IT} = \frac{12\,I_T}{B^3 L} = 0.544.

The second moment about amidships. The products for II about amidships in Table 2.3 carry the square of the lever in units of hh, and their sum is 7125.79. The part aft of the AP adds its area times the square of its distance from amidships, 60.96+0.77=61.7360.96 + 0.77 = 61.73 m, about 6970 m⁴:

Imid=2×6.0963×6.0962×7125.79+1.83×61.732=1,076,159+6970=1.0831×106m4.\begin{aligned} I_{\mathrm{mid}} &= 2 \times \tfrac{6.096}{3} \times 6.096^2 \times 7125.79 + 1.83 \times 61.73^2 \\ &= 1{,}076{,}159 + 6970 = 1.0831 \times 10^6\ \mathrm{m^4}. \end{aligned}

The longitudinal second moment. With xFx_F = 56.2314 m, kept to four decimals because the distance is squared, the distance from amidships to F is 60.96−56.2314=4.728660.96 - 56.2314 = 4.7286 m, and the parallel-axis theorem gives

IL=Imid−AWd2=1.0831×106−1403.95×4.72862=1.0831×106−31,392=1.0517×106m4.\begin{aligned} I_L &= I_{\mathrm{mid}} - A_W\,d^2 = 1.0831 \times 10^6 - 1403.95 \times 4.7286^2 \\ &= 1.0831 \times 10^6 - 31{,}392 = 1.0517 \times 10^6\ \mathrm{m^4}. \end{aligned}

The longitudinal inertia coefficient. With BB = 16.256 m and L=LPPL = L_{PP} = 121.92 m,

CIL=12ILBL3=12×1.0517×10616.256×121.923=0.428.C_{IL} = \frac{12\,I_L}{B\,L^3} = \frac{12 \times 1.0517 \times 10^6}{16.256 \times 121.92^3} = 0.428.

Comment. The smooth surface gives xFx_F = 56.25 m, ITI_T = 23,724 m⁴ and IL=1.0502×106I_L = 1.0502 \times 10^6 m⁴, and Todd tabulates CITC_{IT} = 0.543. Most of the 0.02 m between the two values of xFx_F comes from the ending aft of the AP. With the surface’s ending, 1.39 m² at 0.69 m aft of the AP, in place of the parabola, the table gives xFx_F = 56.25 m, and the fourth way of Sec. 2.4.5 gives that ending with no data beyond the table. A parabola with its vertex at the end of the waterline moves xFx_F by less than 0.1 mm.

2.5.5 The moment of the area between two ordinates

The first moment of a single strip was a familiar source of error in hand calculation. The five-eight rule gives the area between two ordinates, but multiplying its three products by their levers does not give the moment of that area, because the parabola was integrated over only part of its length. The correct moment about y0y_0 of the area between y0y_0 and y1y_1 comes from integrating xx times the parabola through the three ordinates over the first interval,

∫x0x1(x−x0)fdx≈h224(3y0+10y1−y2),(2.15)\int_{x_0}^{x_1} (x - x_0)\,f\,dx \approx \frac{h^2}{24}\left(3y_0 + 10y_1 - y_2\right), \qquad (2.15)

the three-ten rule. Attwood4 showed the error with a curve whose ordinates are 10, 9 and 7, 4 apart: weighting the five-eight products by levers puts the centroid 2.02 from the end ordinate, when the shape of the curve requires slightly less than 2, and the three-ten rule gives 1.965.

2.5.6 An integration sheet, and a waterplane of your own (Calculator 2.1, Explorer 2.1)

Calculator 2.1 sets out the integration of a plane area as a sheet, in the form of Tables 2.2 and 2.3: for each ordinate, the weight of the rule and the products that give the area, the first moment, the second moment and, for a waterplane, the cubes of the half-breadths. The rule is Simpson’s first rule when the ordinates are equally spaced and their number is odd, and otherwise the piecewise-parabolic rule; the trapezoidal rule is shown beside it for comparison. Below the sheet, the working gives the area, the centroid, the second moments and the moment of the area about the centreline or the base.

The calculator walks through the sheets of the worked examples, for the Wigley and Series 60 design waterlines, the waterplane of Exercise 2.5 and Todd’s midship section. The ordinates of each are fixed, so that the working can be followed line by line against the example. It checks each result against what any area whose ordinates are not negative must satisfy: a positive area, a centroid between the first and the last ordinate, and second moments that are not negative. When a result fails these checks, the spacing is too uneven for the rule, as in the problem “Very uneven spacing”, and the calculator says so instead of reporting the number as a property of the area. Passing the checks does not show that a result is accurate; its error has to be estimated separately (Sec. 2.7).

Explorer 2.1 is a waterplane to build: its length, the number of ordinates and each half-breadth are set by hand, the shape is drawn as the rule sees it, through the parabola of each pair of intervals, and the sheet, the area, the centre of flotation, the second moments and the coefficients change with it. It opens on the Wigley waterline of Example 2.2, so the first area shown is 666.67 m². Where the ordinates change sharply, a parabola can dip below zero between them or rise above the largest ordinate, and the Explorer reports it. It gives no results for a waterline that crosses the centreline, and it takes the breadth BB from the widest point of the drawn curve.

2.6 Volumes by integrating twice

The volume was written in Chapter 1 in two ways, as an integral of section areas along the length and as an integral of waterplane areas up the height. Either way needs two integrations, taken in one of the two orders of Fig. 2.8. In the first, each section is integrated up to the waterline to give its area A(x)A(x). Plotted against xx, these areas form the sectional-area curve: the area under it is the displacement volume, and the xx-coordinate of its centroid is the longitudinal centre of buoyancy xBx_B, so integrating the curve along the length, with and without the lever xx, gives both. In the second, each waterline is integrated along the length to give the waterplane area AW(z)A_W(z), and these areas are integrated up the height. The area between the curve of waterplane areas and the height axis is again the volume, and the height of its centroid is zBz_B. Chapman used both, the first for the volume and its longitudinal centre, the second for its vertical centre.

Two three-dimensional views of the Series 60 hull below its design waterline, each beside a graph. (a) By sections. The hull is drawn transparent, with its immersed sections at Todd’s 25 stations shaded blue; the midship section is darker. Below it, aligned with the hull, the sectional-area curve plots the area of each section against its distance from the aft perpendicular, rising from almost zero at the stern to 103.1 square metres amidships and falling to zero at the bow; dotted lines join the sections at the even-numbered stations to their points on the curve, which is a smooth guide through the tabulated areas. Simpson’s rule applied to the tabulated areas gives a displacement volume of 7719.9 cubic metres. (b) By waterplanes. The waterplanes at Todd’s six heights, drawn one above another with the heights greatly exaggerated so that each is seen whole, shaded orange, light at the keel and dark at the design waterline; thin grey lines on the centreplane mark the stem and the stern. Beside it, a graph plots the area of each waterplane against its height, from 610 square metres at the flat of keel to 1402 square metres at the design waterline, with dotted lines joining each waterplane to its point and a smooth guide curve through the points. The rule for Todd’s uneven waterlines, applied to these six areas, also gives 7719.9 cubic metres. The hull drawn is the smooth surface built through Todd’s offsets in Chapter 1.

Figure 2.8 Two routes from Todd’s table to the displacement volume of the Series 60 hull: (a) by sections; (b) by waterplanes. Points are areas from the table, curves smooth guides through them. Heights are drawn 2.5 times (a) and 9 times (b) as large as lengths.

2.6.1 The displacement sheet

When both integrations were done by hand, they were set out together on one large form, the displacement sheet4,8. Its rows are the stations and its columns the waterlines (Fig. 2.9), and every offset of the table is entered once. Each row is multiplied, ordinate by ordinate, by the multipliers of the rule up the height and summed, to give a function of the area of that section. Each column is multiplied by the multipliers along the length and summed, to give a function of the area of that waterplane. The functions of the section areas, multiplied by the multipliers along the length, and the functions of the waterplane areas, multiplied by those up the height, must give equal grand totals, and this equality checks the arithmetic of the sheet. Levers in the margins give the moments: station numbers for the longitudinal centre of buoyancy and waterline numbers for the vertical centre.

A schematic of a displacement sheet laid out as a grid of small squares, one for each offset, with eleven rows for stations 0 to 10 and five columns for waterlines 0 to 4 from the keel. Above the columns are the waterline numbers and their multipliers, 1, 4, 2, 4 and 1; to the left of the rows are the station numbers and their multipliers, 1, 4, 2, 4 and so on, ending in 1. To the right of the grid stand two further columns, function of area and product for volume, and below it two further rows, waterplane function and product for volume. The row of station 3 is shaded and labelled a section; a solid arrow runs along it through the offsets into its function of area and on into its product. The column of waterline 2 is shaded and labelled a waterplane; a dashed arrow runs down it through the offsets into its waterplane function and on into its product. The offset where the shaded row and column cross lies on both arrows. An arrow labelled add runs down the column of products for volume into a box at the lower right labelled grand total, and a second arrow labelled add runs along the row of products for volume into that box.

Figure 2.9 The layout of a displacement sheet for eleven stations and five waterlines, with Simpson’s multipliers. Each square is one offset; one section (solid arrow) and one waterplane (dashed arrow) are followed to the grand total.

For the Wigley hull the sheet is set out in Table 2.4. Its sections are parabolas in zz and its waterlines parabolas in xx, so Simpson’s rule is exact in both directions and every entry can be checked against the formula of the hull. The displacement sheet of the Series 60 hull, from Todd’s table and with the weights of the next subsection up the height, is given with the chapter’s data (Notes on the data).

Table 2.4 Displacement sheet for the Wigley hull. The half-breadths are in metres; the column headings give the height of each waterline above the keel and its multiplier. The station multipliers are Simpson’s, with hh = 10 m, and the waterline multipliers Simpson’s, with hzh_z = 1.5625 m. The lever for the moment along the length is the station number; up the height it is the waterline number, 0 to 4 from the keel or 4 to 0 from the waterline.

Station Multiplier 0 m
(×1)
1.5625 m
(×4)
3.125 m
(×2)
4.6875 m
(×4)
6.25 m
(×1)
Function of area Product for volume Product for moment
0 1 0 0 0 0 0 0.0 0.0 0.0
1 4 0 0.7875 1.3500 1.6875 1.8000 14.4 57.6 57.6
2 2 0 1.4000 2.4000 3.0000 3.2000 25.6 51.2 102.4
3 4 0 1.8375 3.1500 3.9375 4.2000 33.6 134.4 403.2
4 2 0 2.1000 3.6000 4.5000 4.8000 38.4 76.8 307.2
5 4 0 2.1875 3.7500 4.6875 5.0000 40.0 160.0 800.0
6 2 0 2.1000 3.6000 4.5000 4.8000 38.4 76.8 460.8
7 4 0 1.8375 3.1500 3.9375 4.2000 33.6 134.4 940.8
8 2 0 1.4000 2.4000 3.0000 3.2000 25.6 51.2 409.6
9 4 0 0.7875 1.3500 1.6875 1.8000 14.4 57.6 518.4
10 1 0 0 0 0 0 0.0 0.0 0.0
Sum 800.0 4000.0
Waterplane function 0 43.75 75.00 93.75 100.00
Product for volume 0 175.0 150.0 375.0 100.0 800.0
Product, lever from keel 0 175.0 300.0 1125.0 400.0 2000.0
Product, lever from waterline 0 525.0 300.0 375.0 0 1200.0

Example 2.6. The displacement sheet of the Wigley hull. The Wigley hull is 100 m long and 10 m wide and floats at a draught of 6.25 m. From Table 2.4, find the displacement volume by sections and by waterplanes, the longitudinal centre of buoyancy, and the height of the centre of buoyancy above the keel, with a check by moments about the waterline. Compare with the exact values ∇=49LBT\nabla = \tfrac{4}{9}LBT, xB=L/2x_B = L/2 and zB=58Tz_B = \tfrac{5}{8}T.

Show full solution

Solution.

The volume by sections. Each function of area is the sum of its row’s half-breadths times the waterline multipliers; for station 1,

4×0.7875+2×1.3500+4×1.6875+1.8000=14.4,4 \times 0.7875 + 2 \times 1.3500 + 4 \times 1.6875 + 1.8000 = 14.4,

so the half-area of that section is 1.56253×14.4=7.5\tfrac{1.5625}{3} \times 14.4 = 7.5 m². Multiplied by the station multipliers, the functions add up to 800.0, and

∇=2×103×1.56253×800.0=2777.78m3.\nabla = 2 \times \frac{10}{3} \times \frac{1.5625}{3} \times 800.0 = 2777.78\ \mathrm{m^3}.

The volume by waterplanes. Each column, multiplied by the station multipliers and summed, gives the function of a waterplane area: 0, 43.75, 75.00, 93.75 and 100.00 from the keel up. Multiplied by the waterline multipliers they also add up to 800.0, and so give the volume found by sections.

The longitudinal centre. With the station numbers as levers the products add up to 4000.0, and

xB=10×4000.0800.0=50.00m.x_B = 10 \times \frac{4000.0}{800.0} = 50.00\ \mathrm{m}.

The vertical centre. With the waterline numbers 0 to 4 from the keel as levers the products add up to 2000.0, and

zB=1.5625×2000.0800.0=3.906m.z_B = 1.5625 \times \frac{2000.0}{800.0} = 3.906\ \mathrm{m}.

The check. With levers 4 to 0 counted down from the waterline the products add up to 1200.0, which puts B 1.5625×1200.0/800.0=2.3441.5625 \times 1200.0/800.0 = 2.344 m below the waterline, and 3.906+2.344=6.2503.906 + 2.344 = 6.250 m, the draught. The two moment sums add up to 2000.0+1200.0=4×800.02000.0 + 1200.0 = 4 \times 800.0, since the two levers of every waterline add up to 4.

Comment. The exact values are 49×100×10×6.25=2777.78\tfrac{4}{9} \times 100 \times 10 \times 6.25 = 2777.78 m³, 50.00 m and 58×6.25=3.906\tfrac{5}{8} \times 6.25 = 3.906 m. The sheet reproduces them because every row and every column is a parabola, which Simpson’s rule integrates exactly. For another hull the agreement of the two grand totals checks only the arithmetic.

2.6.2 Sections with uneven waterlines

Todd’s waterlines are at 0, 0.075, 0.25, 0.5, 0.75 and 1.0 times the design draught: five intervals, the first two unequal. A suitable rule for them combines two of the rules above. The first two intervals, 0 to 0.075 and 0.075 to 0.25 of the draught, form a pair for the rule for unequal intervals; the remaining three, of 0.25 each, are a case for Simpson’s second rule. In metres, for T=6.5024T = 6.5024 m, the weights of the six ordinates are −0.0903, 1.2902, 1.0354, 1.8288, 1.8288 and 0.6096 (Fig. 2.10(a)); they add up to the draught, as the weights of any rule must add up to the length of the interval, since the rule has to integrate a constant exactly.

Amidships the half-breadths are 5.771 m at the baseline (the half-width of the flat bottom, or flat of keel), 7.039 m at 0.075TT and 8.006 m at 0.25TT, and 8.128 m, the full half-breadth, above. The rule gives a half-area of 51.53 m², so AM=103.07A_M = 103.07 m² and CM=0.975C_M = 0.975. What the rule assumes between the ordinates is drawn in Fig. 2.10(b). Above half the draught the section is wall-sided (its side is vertical), and the rule integrates that part exactly. Below half the draught lies the whole turn of the bilge, where the half-breadth grows from 5.77 m to 8.13 m. The table gives four ordinates there, three of them up to a quarter of the draught, and the area depends on the curves that the rule draws through them: a parabola through the lowest three and a cubic from a quarter of the draught upwards.

The rule is also least reliable at the bilge. A round bilge leaves the flat of keel along an arc of a circle. Measured upwards from the keel, the half-breadth grows at first as the square root of the height, as the ordinate of Chapman’s arc does with the distance from the end of the quadrant, and no parabola can follow it. Todd gives the bilge radius as R=0.229BT=2.35R = 0.229\sqrt{BT} = 2.35 m. If all six ordinates are taken from a circular bilge of that radius, whose section has an exact area of 103.32 m², the rule gives 103.52 m², 0.19 % too much, and the trapezoidal rule 102.74 m², 0.56 % too little. The table adds an uncertainty of its own. The circle passes 0.075TT at 7.208 m, where the table gives 7.039 m, and the ordinates give no means of deciding which is correct. Both effects amount to a few tenths of a per cent of the section area.

Two panels. (a) A bar chart of the weights of the rule at the six heights of Todd’s table, from the baseline to the design waterline, given as fractions of the draught: −0.090 m at the baseline, 1.290 m at 0.075 T, 1.035 m at 0.25 T, 1.829 m at 0.5 T and at 0.75 T, and 0.610 m at the design waterline; the weight at the baseline is slightly negative. (b) The midship section of the Series 60 hull below the design waterline, one half of the section, with height on the vertical axis and half-breadth on the horizontal. The six tabulated points are marked: on the flat of keel at the baseline, at 0.075 times the draught, at 0.25 times the draught and three on the vertical side above. The curves that the rule draws through them are shown: a parabola through the lowest three points and a cubic through the upper four. Beside them, dashed, is the circular bilge of Todd’s tabulated radius, which passes outside the 0.075 point. An enlarged inset of the bilge shows the tabulated ordinate at 0.075 times the draught, 7.039 m, and the 7.208 m at which the circle passes that height.

Figure 2.10 The rule for Todd’s waterlines: (a) the weights of the six ordinates; (b) the curves it draws through the midship ordinates of the Series 60 hull, with the circular bilge of Todd’s tabulated radius (dashed).

2.6.3 The volume, both ways

Applying the rule for Todd’s waterlines at all 25 stations gives the sectional-area curve, which agrees with Todd’s tabulated area fractions to within 0.004 of AMA_M at every station. Integrated along the length with Simpson’s multipliers, half stations included, it gives ∇=7719.9\nabla = 7719.9 m³. By the other route, the six waterplane areas from the baseline to the design waterline are 610.02, 885.48, 1115.05, 1228.47, 1299.65 and 1402.12 m² between the perpendiculars, and integrating them up the height with the rule for Todd’s waterlines also gives 7719.9 m³.

That the two routes agree should not be taken as a check of accuracy. Both use every ordinate of the table, each multiplied by a weight wiw_i in xx and a weight vjv_j in zz; the volume is the double sum 2∑i∑jwivjyij2\sum_i \sum_j w_i\,v_j\,y_{ij}, and the order of summation does not change it. The agreement checks the arithmetic, and that was its use when the arithmetic was done by hand8,9; it does not show whether the rules suit the hull. The comparison of the two routes becomes informative only when they use different information, for instance when the ends beyond the end stations are added in one route and not in the other. The cruiser stern adds a part of the volume aft of the AP, above about 0.9TT, that is in neither sum; the smooth surface puts it at 0.42 m³, which is negligible.

Nor does the agreement show whether the offsets are right. An offset misread from the drawing or mistyped enters both routes alike and leaves the totals in agreement. Such an error shows instead as a point off a fair curve when the section areas or the waterplane areas are plotted4,8. Where the values are equally spaced, it also shows in their second differences, the differences between successive differences, as one value out of line, with its neighbours moved half as far the other way.

Taken with levers, the sums of the two routes give the centre of buoyancy: xB=59.17x_B = 59.17 m, 1.47 % of the length aft of amidships, and zB=3.48z_B = 3.48 m.

A third route to zBz_B uses the vertical moment of each section area about the base, 2∫zydz2\int z\,y\,dz up to the waterline; integrating these moments along the length gives ∇zB\nabla z_B. With Simpson’s multipliers along the length and the rule for Todd’s waterlines up the height, it is again the double sum of the table, now with the lever zjz_j as well, and it also gives 3.48 m. This route is useful because each section is integrated up to the point where the waterline cuts it. It works equally for a waterline that is not parallel to the base, when the ship is trimmed, and for a ship flooded over part of its length8 (Chapters 7 and 12).

Todd’s values and those of the smooth surface complete the comparison:

Quantity Todd’s table, this section Smooth surface Todd6
∇\nabla (m³) 7719.9 7709.1 7737.4
CBC_B 0.599 0.598 0.60
xBx_B, aft of amidships 1.47 % of LL 1.49 % of LL 1.5 % of LL
zBz_B (m) 3.48 3.49

Example 2.7. Midship section and displacement from Todd’s table. The Series 60 hull has LPPL_{PP} = 121.92 m, BB = 16.256 m and a design draught TT = 6.5024 m. (a) At Todd’s six waterlines, from the baseline to the design waterline, the half-breadths of the midship section are 5.771, 7.039, 8.006, 8.128, 8.128 and 8.128 m, and the weights of the rule for these waterlines are −0.0903, 1.2902, 1.0354, 1.8288, 1.8288 and 0.6096 m. Find the area of the midship section and its CMC_M. (b) The sum of the products of the 25 section areas and their multipliers, with stations 6.096 m apart, is 3799.18 m². Find ∇\nabla, CBC_B and the displacement mass in sea water.

Show full solution

Solution.

(a) The midship section. The products of the six weights and half-breadths are −0.521, 9.082, 8.289, 14.864, 14.864 and 4.955, which add up to 51.53 m², so

AM=2×51.53=103.07m2,CM=103.0716.256×6.5024=0.975.A_M = 2 \times 51.53 = 103.07\ \mathrm{m^2}, \qquad C_M = \frac{103.07}{16.256 \times 6.5024} = 0.975.

(b) The volume. With the station spacing of 6.096 m,

∇=6.0963×3799.18=7719.9m3,CB=7719.9121.92×16.256×6.5024=0.599,Δm=1.025×7719.9=7913t.\begin{aligned} \nabla &= \tfrac{6.096}{3} \times 3799.18 = 7719.9\ \mathrm{m^3}, \\ C_B &= \frac{7719.9}{121.92 \times 16.256 \times 6.5024} = 0.599, \\ \Delta_m &= 1.025 \times 7719.9 = 7913\ \mathrm{t}. \end{aligned}

Comment. The weight at the baseline is negative. With the other ordinates unchanged, a wider flat of keel would therefore give a slightly smaller section, because the parabola through the three lowest ordinates would sag further over the long second interval; the effect is 0.18 m² of AMA_M per metre of half-breadth at the baseline.

2.7 Estimating the error

For the Wigley hull the error of every result so far could be read off against the exact value. For the Series 60 results there is no exact value, and the error has to be estimated. The error formulae of the trapezoidal rule and Simpson’s rule show how an error changes with the spacing, but not how large it is, because the derivatives they contain are not known. In practice the error is assessed by separate checks, each catching a different source of error. The error that arises where the table does not define the hull closely enough cannot be revealed by comparing rules and needs a check of its own.

Whether the rules have been applied correctly is settled by a test case with a known answer. The Wigley hull is such a case; a scheme that does not return ∇=49LBT\nabla = \tfrac{4}{9}LBT and AW=23LBA_W = \tfrac{2}{3}LB from its offsets by Simpson’s rule is wrong. The size of the rule’s error for a given hull and spacing is estimated by repeating the calculation with a different spacing. If QhQ_h and Q2hQ_{2h} are results with spacing hh and 2h2h from a rule of order pp, their errors are in the ratio 1:2p1 : 2^p, and eliminating the error between them gives an estimate both of the error and of a better value,

∫abfdx≈Qh+Qh−Q2h2p−1.(2.16)\int_a^b f\,dx \approx Q_h + \frac{Q_h - Q_{2h}}{2^p - 1}. \qquad (2.16)

This is Richardson extrapolation, and for the trapezoidal rule (p=2p = 2) it is the combination that gave Simpson’s rule. For Simpson’s rule (p=4p = 4) the correction is one-fifteenth of the difference between the two results.

On Todd’s table the test can be made by dropping stations. With the eleven even-numbered stations, spacing 2h2h, Simpson’s rule gives ∇\nabla = 7729.6 m³; with all 21 whole stations, 7722.2 m³; with the half stations as well, 7719.9 m³. By Richardson extrapolation, the error of the 21-station result is about (7722.2−7729.6)/15=−0.5(7722.2 - 7729.6)/15 = -0.5 m³, which would put the integral at 7721.7 m³. The half stations give 7719.9 m³, 2.3 m³ below the 21-station result and 1.8 m³ below the extrapolated value. They add information near the ends, where the sectional-area curve changes too quickly for its error to fall as h4h^4 at this spacing, and the halving test cannot detect that part of the error. The error of the integration along the length is estimated at a few hundredths of a per cent. The integration up the height is less certain: replacing the second rule on the upper three intervals by parabolas through pairs, with the last interval taken from the parabola through the last three ordinates, which is equally a rule of order 4, changes ∇\nabla to 7724.9 m³, a difference of 0.06 %. Replacing the rules of order 4 by the trapezoidal rule in one direction or in both shows which direction carries the error:

Along the length Up the height ∇\nabla (m³) Difference from 7719.9 (m³)
Simpson’s rule, half stations included rule for Todd’s waterlines 7719.9 0
Simpson’s rule, half stations included trapezoidal rule 7658.5 −61.4
trapezoidal rule rule for Todd’s waterlines 7708.4 −11.5
trapezoidal rule trapezoidal rule 7646.9 −73.0

The trapezoidal rule in both directions is nearly 1 % low, and most of that comes from the vertical integration, where the straight lines cut the corner at the bilge. Todd’s own displacement, from his faired lines, is 7737.4 m³, 0.23 % above our result. That difference is of the order of the two effects found at the bilge, the rule’s error where the half-breadth grows as the square root of the height and the table’s own uncertainty there. Between them they account for most of it. With a rule of order 4 and stations as close as Todd’s, the accuracy of the volume is limited by the bilge rather than by the integration along the length.

The error of a good integration is small beside the other uncertainties of a displacement. The density of sea water varies with temperature and salinity, and the 1025 kg/m³ used in design is a convention7; the moulded volume differs from the true displacement by the shell and appendages, typically by 0.5 % to 1 %. A ship may also carry a stability instrument, an approved onboard computer that calculates the ship’s hydrostatics and stability for the loading carried. When such an instrument computes from a model of the hull, the IMO Guidelines for the approval of stability instruments, MSC.1/Circ.1229, accept a displacement that differs by up to 2 % from the ship’s approved data16 (Sec. 2.10.2). An error of 0.01 % from an integration rule is negligible on either scale, and an error of about 1 %, such as the trapezoidal rule made on Todd’s table, would be within that tolerance. It is not small in other terms: 1 % of the Series 60 volume is 77 m³, or 5.5 cm of mean draught, a large amount in a lightweight survey or an inclining experiment (Chapter 10).

Richardson extrapolation assumes that the error falls as hph^p, and the assumption should be checked, for instance on Chapman’s quadrant of the prologue. On his five ordinates, 1 apart from the centre to half the radius, Simpson’s rule missed the exact area, 30.6116, by 0.00025, less than a thousandth of a per cent. Had he carried ordinates 1 apart to the end of the quadrant, where the arc meets the axis at a right angle, nine ordinates would have given 49.939 against the exact 50.265, an error of 0.65 %, nearly eight hundred times the relative error of his own test. Over half the radius Chapman’s curve is smooth and Simpson’s rule converges as h4h^4; over the whole quadrant every derivative of the integrand is unbounded at the end of the arc, and the error falls only as h1.5h^{1.5} (Fig. 2.11). With ordinates 4, 2 and 1 apart, Simpson’s rule gives 47.617, 49.338 and 49.939 for the quadrant. Extrapolating the last two with p=4p = 4 gives 49.979, still 0.57 % low, and the estimate of the error is too small by a factor of eight. The order can be found from the three results. The ratio of successive differences, (49.338−47.617)/(49.939−49.338)=2.86(49.338 - 47.617)/(49.939 - 49.338) = 2.86, is 2p2^p with p=1.52p = 1.52, and extrapolating with that order gives 50.262, within 0.006 %. Three results at halving spacings allow the assumption to be tested before it is used; two results do not.

Logarithmic plot of the relative error of numerical integration against the number of intervals, from 2 to 256. Five sets of points with straight-line trends are labelled directly. The trapezoidal rule on the Wigley waterplane area falls with slope minus 2. Simpson’s rule on the Wigley longitudinal second moment falls with slope minus 4, as does the trapezoidal rule on the Wigley transverse second moment, which lies below it. Simpson’s rule on Chapman’s quarter circle to half the radius falls with slope minus 4 at much smaller errors. Simpson’s rule on the whole quadrant falls only with slope minus 1.5, ending far above the others.

Figure 2.11 How the error falls as the spacing is reduced, for five pairs of rule and integrand. The slope of each line is the order of the rule for that integrand.

Explorer 2.2 applies the trapezoidal rule or Simpson’s first rule, with any even number of intervals up to 64, to the five integrands of Fig. 2.11, and shows the pieces that the rule integrates, its true error beside the error estimated by halving the number of intervals, and the error of both rules against the number of intervals.

Three faults spoil the result of a rule. The first is a point where the curve is not smooth: a jump in the slope, at a knuckle or chine; a jump in the ordinate, at the end of a transom; or a derivative that becomes infinite, as at the end of the quadrant or where a round bilge leaves the flat of keel. The edge of a flat of side, a part of the side that is flat, need not be one of these, since a fair transition keeps its slope and changes only its curvature, which lowers the order less. Attwood4 gave the remedy for a corner: “If the curvature changes abruptly at any point, this point must be at a dividing ordinate”, that is, at the end of a Simpson pair, and then no parabola spans the corner. An infinite derivative can be removed by a change of coordinates: measured from the centre of the bilge radius, a circular bilge has a constant radius, which polar integration (Sec. 2.9.2) integrates exactly. A parametric description of the section (Sec. 1.5.4) removes the difficulty in general. Both coordinates are then smooth functions of a parameter along the curve, and their derivatives stay finite where the section has a vertical tangent, so the area becomes an integral along the curve with the parameter as the variable14.

A second fault is a stretch where the curve changes too quickly for the spacing, which closer ordinates cure; half stations and Todd’s 0.075TT waterline serve this purpose, and in the quarter circle, halving only the last two intervals reduces the error of the nine-ordinate result from 0.65 % to 0.23 %. The third fault lies in the domain of integration rather than in the rule. A part of the hull beyond the end ordinates, such as a cruiser stern or a bulb, is not included by any rule applied between the perpendiculars. Such a part is added separately, as Chapman did and as we did for the cruiser stern, and the result depends on the shape assumed for it (Fig. 2.6).

2.8 Integrals with a variable upper limit

Many of the quantities of later chapters are curves. The volume of the hull to every draught, from which the draught at which a loaded ship floats is read (Chapter 3) and the hydrostatic curves are drawn (Chapter 7), is ∇(z)=∫0zAWdη\nabla(z) = \int_0^z A_W\,d\eta; Chapman already calculated displacement as a function of draught. The Bonjean curves are the section areas to every height. The work done in heeling a ship to a given angle (Chapter 9) is its weight times the area under the curve of righting levers up to that angle. Each of these is an integral with a variable upper limit, wanted at every ordinate and not only at the last.

2.8.1 Running totals and the volume curve

The trapezoidal rule gives such a running total directly: each new strip adds 12(xi−xi−1)(yi−1+yi)\tfrac{1}{2}(x_{i} - x_{i-1})(y_{i-1} + y_i) to the total so far7. With YiY_i for the approximation to ∫x0xifdx\int_{x_0}^{x_i} f\,dx and Y0=0Y_0 = 0,

Yi=Yi−1+(xi−xi−1)(yi−1+yi)2.(2.17)Y_i = Y_{i-1} + \frac{(x_i - x_{i-1})\,(y_{i-1} + y_i)}{2}. \qquad (2.17)

With Simpson’s rule the total is available directly only at the end of each pair. The value at the ordinate inside a pair comes from the five-eight rule, or its form for unequal spacing: the first strip of the pair is integrated under the parabola of that pair and added to the total at the end of the previous pair8. The pair is then completed by the rule for the whole pair. The running total is the integral of one piecewise parabola at every ordinate, and at the end of each pair it is the result of the rule for unequal intervals, or of Simpson’s rule when the intervals are equal. When the number of intervals is odd, the last strip has no pair of its own and is taken from the parabola through the last three ordinates. SciPy’s cumulative_simpson10, checked in version 1.18.1, follows this scheme and returns running totals identical to those of the chapter’s scripts.

Example 2.8. The volume curve of the Series 60 hull from Todd’s waterplanes. The waterplane areas of the Series 60 hull between the perpendiculars at Todd’s six heights, 0, 0.075, 0.25, 0.5, 0.75 and 1.0 times the design draught of 6.5024 m, are 610.02, 885.48, 1115.05, 1228.47, 1299.65 and 1402.12 m². Find the volume of the hull up to each of those heights, and compare it with the smooth surface, which gives 1544.6, 3461.9 and 5516.8 m³ at a quarter, half and three-quarters of the design draught.

Show full solution

Solution.

The heights. They are 0, 0.488, 1.626, 3.251, 4.877 and 6.502 m. The first two intervals form an unequal pair, and the rest are 1.626 m apart.

The first pair. The volume up to 0.075TT is the first strip of the pair, by the five-eight rule for unequal intervals with h1=0.488h_1 = 0.488 m and h2=1.138h_2 = 1.138 m, and the volume up to 0.25TT is the whole pair, by the rule for unequal intervals:

∇(0.075T)=369.0m3,∇(0.25T)=1562.1m3.\nabla(0.075T) = 369.0\ \mathrm{m^3}, \qquad \nabla(0.25T) = 1562.1\ \mathrm{m^3}.

The second pair. It runs from 0.25TT to 0.75TT with h=1.626h = 1.626 m. Its first strip, by the five-eight rule, and the whole pair, by Simpson’s rule, bring the totals to

∇(0.5T)=3472.6m3,∇(0.75T)=5533.2m3.\nabla(0.5T) = 3472.6\ \mathrm{m^3}, \qquad \nabla(0.75T) = 5533.2\ \mathrm{m^3}.

The last strip. It has no pair of its own and is taken from the parabola through the last three waterplanes, by the five-eight rule with the ordinates in reverse order:

∇(T)=7724.9m3.\nabla(T) = 7724.9\ \mathrm{m^3}.

The 7719.9 m³ found earlier differs because it used the second rule on the upper three intervals.

Comment. The table-based curve is 1.1 % higher than the surface at a quarter of the draught and 0.3 % higher at half and three-quarters. Low down the waterplane area changes fastest, from 610 m² on the flat of keel to 1115 m² a quarter of the way up, and the two interpolations of Todd’s offsets differ most there.

In Animation 2.1 the route by waterplanes is followed as a running integral. As the waterline rises, each waterplane adds its area to the curve, and the area between the curve and the height axis, the volume below the waterline, grows with it.

Animation 2.1 The waterline of the Series 60 hull rising from the keel to the design waterline. Above, the profile with the rising waterline; below it, the waterplane at that height in plan, with its height and its area AW; on the right, the curve of waterplane areas traced against height, with the area between it and the height axis shaded and stated as the volume below the waterline. The waterplane area grows from 610 m² on the flat of keel to 1403 m² at the design waterline, and the volume reaches 7709 m³, with its centroid at zB = 3.49 m. These are values of the smooth surface built through Todd’s offsets; Todd’s table itself gives 7719.9 m³ and 3.48 m. Heights in the profile are drawn 2.5 times, and breadths in the plan twice, as large as lengths. No sound; 12.5 s.

The volume curve is least reliable near the keel7,8, and for this hull the reason can be seen in Fig. 2.12(a). The waterplane area rises out of the flat of keel as the half-breadth does at a round bilge, at first roughly as the square root of the height, and the parabola through the three lowest waterplanes cannot follow that rise. Below about 0.5 m it lies under the curve of the surface, and above that height it lies over it, peaking at about 1118 m² just below a quarter of the draught, above the tabulated 1115 m². Up to 0.075TT the table-based volume is 14 m³ less than that of the surface, and from there to a quarter of the draught 31 m³ more, which leaves the difference of 1.1 % found in Example 2.8. The remedy, as for the bilge, is to place the waterlines closer together where the area changes fastest, and Chapter 7 applies it to the hydrostatic curves.

Two panels for the Series 60 hull with height above the baseline on the vertical axis. (a) Waterplane area against height: six points from Todd’s table, joined by the parabolic pieces of the integration rule, rising steeply from 610 square metres at the baseline to about 1115 at a quarter of the draught and then more slowly to 1402 at the design waterline; the curve of the smooth surface built through Todd’s offsets in Chapter 1 is drawn dashed for comparison; from about 0.5 m above the baseline up to a quarter of the draught it lies at smaller areas than the lowest parabolic piece, which rises to about 1118 square metres just below the point at a quarter of the draught. (b) Volume against height from the running integral: points at the six heights from the table and the continuous curve of the surface, almost coinciding above half the draught. A dotted rectangle of height T and width equal to the volume at the design waterline is divided by the curve into two shaded areas: the area between the curve and the height axis, labelled as the integral of the volume from 0 to T, equal to the volume times T minus z sub B, and the area to the right of the curve, equal to the volume times z sub B.

Figure 2.12 The Series 60 hull from Todd’s table and from the smooth surface (dashed): (a) waterplane area against height; (b) volume to each height, with the two areas that give the centre of buoyancy shaded.

2.8.2 The centre of buoyancy from the volume curve

The volume curve also gives the height of the centre of buoyancy. The vertical moment of the volume below a waterline at height TT is ∫0TzAWdz\int_0^T z\,A_W\,dz, and since AWdzA_W\,dz is the volume d∇d\nabla of the layer between zz and z+dzz + dz, integration by parts turns it into an integral of the volume curve:

∇zB=∫0∇zd∇=T∇−∫0T∇(z)dz,zB=T−1∇∫0T∇(z)dz,(2.18)\nabla\,z_B = \int_0^{\nabla} z\,d\nabla = T\,\nabla - \int_0^T \nabla(z)\,dz, \qquad z_B = T - \frac{1}{\nabla}\int_0^T \nabla(z)\,dz, \qquad (2.18)

where ∇(z)\nabla(z) is the volume up to height zz and ∇\nabla its value at TT. In Fig. 2.12(b) the integral is the area between the volume curve and the height axis. The curve divides the rectangle of height TT and width ∇\nabla into that area, ∇(T−zB)\nabla(T - z_B), and the area to its right, ∇zB\nabla z_B, so the depth of the centre of buoyancy below the waterline is the first area divided by the volume4,8. Once the volume curve has been computed as a running integral, this relation gives zBz_B with one more integration and no moments (Exercise 2.18); it needs the curve to be well defined at its lower end, where it is least reliable.

2.9 Other rules and methods

Everything so far has taken the ordinates where the table of offsets gives them, at fixed stations and waterlines. The rules below either use more of those ordinates at once, or place the ordinates where a surface that can be cut anywhere allows, or do without ordinates, by describing the section as a polygon or tracing it with an instrument. The rules used so far belong to a family, the Newton–Cotes rules, which integrate the polynomial through equally spaced ordinates. With five ordinates the family gives Boole’s rule, exact for polynomials of degree 5, with weights proportional to 7, 32, 12, 32 and 7; Hamlin8 tabulates the family up to nine ordinates. Adding ordinates does not improve the family indefinitely. The nine-ordinate rule, and every rule with eleven or more, has negative weights. The absolute values of its weights then add up to more than the length of the base, and errors in the ordinates can be amplified rather than averaged. For tables of offsets, composite Simpson rules on closely spaced stations are the better choice.

2.9.1 Tchebycheff and Gauss rules

Two other families drop the equal spacing. The Chebyshev rules, which naval architecture traditionally spells Tchebycheff, give all the ordinates equal weights and place them where equal weighting is most accurate. A hand calculation with them needs no multipliers, only a sum, and this was their attraction when ordinates were measured from a drawing8,9. For two ordinates, measure xx from the middle of a base of half-length ss, and place the ordinates at ±λ\pm\lambda, each with the weight ω\omega. Odd powers of xx are then integrated exactly by symmetry, and the rule must also integrate 1 and x2x^2 exactly:

2ω=2s,2ωλ2=∫−ssx2dx=23s3,2\omega = 2s, \qquad 2\omega\,\lambda^2 = \int_{-s}^{s} x^2\,dx = \tfrac{2}{3}s^3,

so that ω=s\omega = s and λ=s/3=0.57735s\lambda = s/\sqrt{3} = 0.57735\,s. The area is the mean of the two ordinates times the length of the base, and since x3x^3 is integrated exactly as well, two ordinates are exact for cubics, as the three of Simpson’s first rule are. With more ordinates the conditions become equations of higher degree in the positions, whose solutions are tabulated (Table 2.5). Classical Tchebycheff rules, in which nn equally weighted ordinates integrate every polynomial up to degree nn exactly, have all their ordinates real for up to seven ordinates and for nine, and for no other number15. The eight- and ten-ordinate Tchebycheff spacings in the tables of Hamlin and Tupper are two four- or five-ordinate rules placed side by side on the two halves of the base. The Gauss rules choose both the positions and the weights, and nn ordinates then integrate a polynomial of degree 2n−12n - 1 exactly, the highest degree that nn ordinates can reach; the positions are the roots of the degree-nn Legendre polynomial9,15. For two ordinates the Gauss and Tchebycheff rules coincide, and three Gauss ordinates are as exact as the five of Boole’s rule.

Table 2.5 Positions of the ordinates of the Tchebycheff and Gauss rules, as fractions of the half-length of the base measured from its middle, and the weights of the Gauss rules as fractions of the length of the base. Each Tchebycheff ordinate has the weight 1/n1/n; the integral is the length of the base times the weighted sum of the ordinates.

Ordinates nn Tchebycheff positions Gauss positions Gauss weights
2 ±0.57735 ±0.57735 0.50000
3 0; ±0.70711 0; ±0.77460 0.44444; 0.27778
4 ±0.18759; ±0.79465 ±0.33998; ±0.86114 0.32607; 0.17393
5 0; ±0.37454; ±0.83250 0; ±0.53847; ±0.90618 0.28444; 0.23931; 0.11846

Positions that are not equally spaced are of no use for a table of offsets measured at fixed stations, but they are useful when the hull is a surface that can be cut anywhere, as it is in every modern design system. The rules, each with five ordinates or fewer, are compared on two integrands in Table 2.6. On Chapman’s smooth arc the errors fall as the degree of exactness rises, and the Gauss rule with five ordinates is better than Simpson’s rule by a factor of twenty thousand. On the cube of the Wigley half-breadth that ranking breaks down. Of the five-ordinate rules, only the Gauss rule is better than the trapezoidal rule, which gains here for the reason found earlier for ITI_T, and Boole’s rule is the worst. Four Gauss ordinates give the exact answer, since the integrand has degree 6 and four Gauss ordinates are exact up to degree 7. The degree of exactness is a reliable guide on the arc, but not on an integrand whose slope vanishes at both ends, as that of the cubed Wigley half-breadth does; there only a test on that integrand shows which rule is better (Exercise 2.19).

Table 2.6 Errors of five rules on two integrands: Chapman’s arc, ∫0464−x2dx=30.6116\int_0^4 \sqrt{64 - x^2}\,dx = 30.6116, and the cube of the Wigley half-breadth, ∫−11(1−ξ2)3dξ=32/35\int_{-1}^{1} (1 - \xi^2)^3\,d\xi = 32/35.

Rule Ordinates Exact for degree Rule minus exact, arc (absolute) Rule minus exact, Wigley cube (%)
Trapezoidal 5 1 −0.048 +0.83 %
Simpson’s first 5 3 −0.00025 −2.02 %
Boole 5 5 −0.000034 −5.21 %
Tchebycheff 5 5 +0.000012 +1.88 %
Gauss 3 5 +0.000032 +5.00 %
Gauss 5 9 +0.00000001 0 (exact from 4 ordinates)

Example 2.9. Tchebycheff and Gauss by hand. Find the area under Chapman’s arc, y=64−x2y = \sqrt{64 - x^2} from x=0x = 0 to 4, with the two-ordinate Tchebycheff rule and with the three-ordinate Gauss rule, and compare their errors with those of the trapezoidal rule and Simpson’s rule with five ordinates, −0.048 and −0.00025.

Show full solution

Solution.

Two Tchebycheff ordinates. The middle of the base is at x=2x = 2 and its half-length is 2, so the ordinates stand at 2±0.57735×22 \pm 0.57735 \times 2:

x=0.8453and3.1547,y=7.9552and7.3517,A=4×12(7.9552+7.3517)=30.614.\begin{aligned} x &= 0.8453 \ \text{and}\ 3.1547, \qquad y = 7.9552 \ \text{and}\ 7.3517, \\ A &= 4 \times \tfrac{1}{2}\,(7.9552 + 7.3517) = 30.614. \end{aligned}

Three Gauss ordinates. The ordinates stand at 2 and at 2±0.77460×22 \pm 0.77460 \times 2, with weights of 4/9 and 5/18 of the base (0.44444 and 0.27778):

x=0.4508,2,3.5492,y=7.98729,7.74597,7.16960,A=418[5(7.98729+7.16960)+8×7.74597]=30.6116.\begin{aligned} x &= 0.4508,\ 2,\ 3.5492, \qquad y = 7.98729,\ 7.74597,\ 7.16960, \\ A &= \tfrac{4}{18}\,[\,5\,(7.98729 + 7.16960) + 8 \times 7.74597\,] = 30.6116. \end{aligned}

Comment. The exact area is 30.6116. Two Tchebycheff ordinates are 0.0023 too high, about twenty times better than the trapezoidal rule with five ordinates, and about nine times worse than Simpson’s rule with five. Three Gauss ordinates are 0.00003 too high, about eight times better than Simpson’s rule with five.

2.9.2 Polar integration

A boundary that is closer to a circle about some point than to a curve over a straight base is integrated more accurately in polar coordinates. Take a pole O and measure the radius rr to the boundary at angles ψ\psi, in radians, measured downwards from the horizontal through O. The thin triangle between ψ\psi and ψ+dψ\psi + d\psi has the area 12r2dψ\tfrac{1}{2}r^2\,d\psi, and its centroid lies two-thirds of the way out, at 23rcosψ\tfrac{2}{3}r\cos\psi across from O and 23rsinψ\tfrac{2}{3}r\sin\psi below it. Adding the triangles,

A=12∫r2dψ,Ay‾=13∫r3cosψdψ,Ad‾=13∫r3sinψdψ,(2.19)A = \frac{1}{2}\int r^2\,d\psi, \qquad A\,\bar{y} = \frac{1}{3}\int r^3\cos\psi\,d\psi, \qquad A\,\bar{d} = \frac{1}{3}\int r^3\sin\psi\,d\psi, \qquad (2.19)

where y‾\bar{y} is the distance of the centroid across from O and d‾\bar{d} its depth below O4,8. Any rule of this chapter evaluates the integrals, with the angular spacing as the interval and 12r2\tfrac{1}{2}r^2, 13r3cosψ\tfrac{1}{3}r^3\cos\psi and 13r3sinψ\tfrac{1}{3}r^3\sin\psi as the ordinates. For a transverse section the pole is usually placed on the centreline, and a radius is passed through every point where the outline turns sharply, such as the deck edge9.

The method also meets the difficulty found at the bilge of the Series 60 midship section. With the pole at the centre of the bilge radius, a circular bilge has a constant radius, which any rule integrates exactly. Seen from that centre (Fig. 2.13(b)), two of Todd’s three lowest midship offsets lie within 6 mm of the circle of Todd’s radius, and the third, at 0.075TT, lies 0.10 m inside it; this is the uncertainty of the table at the bilge. Radial ordinates were also used for ships heeled to large angles: Barnes’s method, introduced in 1861, found the volumes of the wedges between the upright and the inclined waterplanes by integrating over radial planes at intervals of angle4.

Two panels. (a) One side of the midship section of the Wigley hull, a parabola from 5 m out at the design waterline down to the keel, shaded light blue. A pole O stands on the centreline at the waterline, and seven radii fan out from it to the section at 15 degree intervals, from along the waterline down to the keel, labelled 0 to 90 degrees; the angle psi is marked from the waterline. One thin wedge between two neighbouring directions is shaded orange, with a dot two-thirds of the way out marking its centroid, and a label gives its area as one half r squared d psi. (b) The lower corner of the Series 60 midship section: the flat of keel, the circular bilge of Todd’s radius, dashed, and the vertical side. The pole C is at the centre of the bilge radius, 2.35 m above the baseline and 2.35 m in from the side. Radii run from C to Todd’s offsets at the baseline, at 0.075 T and at 0.25 T, labelled 2.35, 2.26 and 2.35 m; the offset at 0.075 T lies visibly inside the circle.

Figure 2.13 Polar integration: (a) the Wigley midship section, one side, with radii 15° apart from a pole O on the waterline; (b) the Series 60 bilge seen from the centre C of the bilge radius.

Example 2.10. The Wigley midship section in polar coordinates. From a pole on the centreline at the design waterline, the radii to the midship section of the Wigley hull (BB = 10 m, TT = 6.25 m) at 15° intervals, from the waterline (ψ=0\psi = 0) down to the keel (ψ\psi = 90°), are 5.000, 4.958, 4.890, 4.899, 5.068, 5.477 and 6.250 m (Fig. 2.13(a)). Find the area of the half-section, the depth of its centroid below the waterline and its distance from the centreline by polar integration, and compare them with the exact values 23⋅B2T\tfrac{2}{3}\cdot\tfrac{B}{2}T, 38T\tfrac{3}{8}T and 25⋅B2\tfrac{2}{5}\cdot\tfrac{B}{2}.

Show full solution

Solution.

The area. The interval is 15° = 0.26180 rad. The squares of the radii are 25.0000, 24.5818, 23.9121, 24.0002, 25.6846, 29.9975 and 39.0625 m²; with Simpson’s multipliers their sum is 477.57, and

A=12×0.261803×477.57=20.838m2.A = \frac{1}{2} \times \frac{0.26180}{3} \times 477.57 = 20.838\ \mathrm{m^2}.

The depth of the centroid. The products r3sinψr^3\sin\psi are 0, 31.544, 58.465, 83.139, 112.730, 158.698 and 244.141 m³, with a Simpson sum of 1680.06, so that

d‾=13×0.261803×1680.0620.838=48.87120.838=2.345m.\bar{d} = \frac{\tfrac{1}{3} \times \tfrac{0.26180}{3} \times 1680.06}{20.838} = \frac{48.871}{20.838} = 2.345\ \mathrm{m}.

The distance from the centreline. The products r3cosψr^3\cos\psi are 125.000, 117.724, 101.264, 83.139, 65.085, 42.523 and 0 m³, with a Simpson sum of 1431.24, so that

y‾=13×0.261803×1431.2420.838=41.63320.838=1.998m.\bar{y} = \frac{\tfrac{1}{3} \times \tfrac{0.26180}{3} \times 1431.24}{20.838} = \frac{41.633}{20.838} = 1.998\ \mathrm{m}.

Comment. The exact values are 20.833 m², 2.344 m and 2.000 m, so seven radii give errors of +0.02 %, +0.06 % and −0.1 %. In Cartesian coordinates Simpson’s rule is exact for this section, which is a parabola. Polar coordinates are the better choice where the outline is closer to a circle about the pole, as at the bilge of Fig. 2.13(b).

2.9.3 Polygons and Green’s theorem

A section, or any other plane figure, can be described by a polygon instead of by ordinates, and the area and moments of the polygon are then found exactly. Take a closed polygon with vertices (yj,zj)(y_j, z_j), j=1,…,Nj = 1, \dots, N, in order round the boundary, with vertex N+1N + 1 taken as vertex 1, and write cj=yjzj+1−yj+1zjc_j = y_j z_{j+1} - y_{j+1} z_j. The triangle with its corners at the origin and at vertices jj and j+1j + 1 has the area 12cj\tfrac{1}{2}c_j, positive when its corners run counter-clockwise and negative otherwise, and its centroid is at a third of the sum of the two vertices. Added over all the edges, the triangles cover the polygon once; where they reach outside it, triangles of opposite signs cancel. The area and its first moments are therefore

A=12∑j=1Ncj,Ay‾=16∑j=1N(yj+yj+1)cj,Az‾=16∑j=1N(zj+zj+1)cj,(2.20)\begin{aligned} A &= \frac{1}{2}\sum_{j=1}^{N} c_j, \qquad A\,\bar{y} = \frac{1}{6}\sum_{j=1}^{N}\left(y_j + y_{j+1}\right)c_j, \qquad A\,\bar{z} = \frac{1}{6}\sum_{j=1}^{N}\left(z_j + z_{j+1}\right)c_j, \end{aligned} \qquad (2.20)

which is Green’s theorem, turning an integral over an area into an integral round its boundary, applied to straight edges14. The triangles also give the second moments. A point of the triangle can be written u(yj,zj)+v(yj+1,zj+1)u\,(y_j, z_j) + v\,(y_{j+1}, z_{j+1}) with u,v≥0u, v \ge 0 and u+v≤1u + v \le 1, an element dudvdu\,dv then has the area cjdudvc_j\,du\,dv, and the integrals of u2u^2, uvuv and v2v^2 over that unit triangle are 1/12, 1/24 and 1/12. For one triangle, therefore,

∬y2dA=cj∬(uyj+vyj+1)2dudv=112cj(yj2+yjyj+1+yj+12),\iint y^2\,dA = c_j \iint (u\,y_j + v\,y_{j+1})^2\,du\,dv = \tfrac{1}{12}\,c_j\,(y_j^2 + y_j y_{j+1} + y_{j+1}^2),

and, over all the edges,

∬y2dA=112∑j=1N(yj2+yjyj+1+yj+12)cj,∬z2dA=112∑j=1N(zj2+zjzj+1+zj+12)cj,∬yzdA=124∑j=1N(2yjzj+yjzj+1+yj+1zj+2yj+1zj+1)cj.(2.21)\begin{aligned} \iint y^2\,dA &= \frac{1}{12}\sum_{j=1}^{N}\left(y_j^2 + y_j\,y_{j+1} + y_{j+1}^2\right)c_j, \\ \iint z^2\,dA &= \frac{1}{12}\sum_{j=1}^{N}\left(z_j^2 + z_j\,z_{j+1} + z_{j+1}^2\right)c_j, \\ \iint y\,z\,dA &= \frac{1}{24}\sum_{j=1}^{N}\left(2y_j z_j + y_j z_{j+1} + y_{j+1} z_j + 2y_{j+1} z_{j+1}\right)c_j. \end{aligned} \qquad (2.21)

These are second moments about axes through the origin, which the parallel-axis theorem moves to the centroid. Written in (x,y)(x, y) for a waterplane instead of (y,z)(y, z) for a section, these sums give the second moments of a waterplane of any shape, including the product of inertia when the waterplane is not symmetric about the centreline, which Chapters 8 and 12 need (Exercise 2.20).

The vertices are taken counter-clockwise when yy is drawn to the right and zz upwards. Since yy points to port, this is the section seen from forward. Taken the other way round, each of these sums changes sign; the area comes out negative, but the centroid, a ratio of two sums, is unchanged. Applied to the half-section through Todd’s six midship ordinates, closed along the centreline and the waterline, Green’s theorem gives 51.22 m², as the trapezoidal rule does, since both join the six ordinates by straight lines. The polygon is useful because it can have any shape and can be cut by a waterline at any angle; the heeled sections of Chapter 8, whose immersed parts are bounded by the hull on one side and an inclined waterline on the other, are integrated in this way (Fig. 2.14). As the vertices are brought closer together, the polygon converges to the curve at the rate of the trapezoidal rule.

The midship section of the Series 60 hull seen from forward, so that port is on the right, drawn as a polygon through Todd’s offsets on both sides from the keel up to the deck at one and a half times the draught, and heeled 20 degrees with the starboard side down, on the left. A horizontal waterline crosses it, and the immersed part of the polygon below the waterline is shaded, its boundary formed partly by the hull and partly by the waterline. Arrows run counter-clockwise round the immersed part to show the order of the vertices in Green’s theorem. At this angle the starboard deck edge is about 0.3 m above the waterline. The centroid of the immersed area is marked; it lies on the starboard side of the centreline of the section.

Figure 2.14 The Series 60 midship section as a polygon, seen from forward and heeled 20° to starboard. The arrows show the counter-clockwise order of the vertices of the immersed part.

2.9.4 The planimeter

Before computers, areas were also measured mechanically. The polar planimeter, the form most used in naval architecture, was invented by Jakob Amsler-Laffon in the 1850s8,14. It has two arms hinged together (Fig. 2.15). The pole arm turns about a point held down by a weight. The tracer arm carries a measuring wheel whose axis lies along the arm, and the wheel therefore rolls only with the part of the motion that is across the arm. When the tracer point is taken once round an outline, with the pole outside it, the distance rolled by the wheel is the enclosed area divided by the length of the tracer arm. The wheel adds up a line integral round the boundary, and the instrument works because of Green’s theorem, which turns such an integral into the area inside, as it does for a polygon14. On a body plan, the tracer was taken round each section up to the waterline in turn, or, to save work, round the two end sections together, then round all the sections with Simpson’s multiplier 4 and then all those with 2; the three readings, multiplied by 1, 4 and 2, gave the volume4. Amsler’s integrator, a development of the planimeter, gave the first and second moments of the area as well7, and its main use was for the cross curves of stability8, the subject of Chapter 8.

A schematic of a polar planimeter on a drawing. On the right is the outline of a ship section below its waterline, shaded, with arrows along it showing that it is traced clockwise. At the lower left a round weight holds the pole. A straight pole arm runs up from the pole to a hinge, and a straight tracer arm runs down from the hinge to a tracer point that rests on the outline of the section. Near the hinge the tracer arm carries a measuring wheel, drawn edge-on across the arm, whose axis lies along the arm. Labels name the pole, the pole arm, the hinge, the tracer arm of length l, the measuring wheel and the tracer point.

Figure 2.15 The polar planimeter (schematic). The tracer point is taken clockwise round the outline, with the pole outside it; the area is ll times the distance rolled by the wheel.

Historical note: the planimeter

The sources differ on the year in which the Swiss Jakob Amsler-Laffon (1823–1912) invented the polar planimeter. Biran14 gives 1854, and Biran and López-Pulido7 1856. Hamlin8 writes about 1856. Amsler gave a proof that the instrument measures the area, and other proofs followed in the next decades, but Guido Ascoli, in a report of 1947, was the first to relate it to Green’s theorem14. Amsler went on to develop the integrator. The first properly working one reached Britain in 1878, and it shortened stability calculations considerably while being simple enough to be operated by apprentices14.

2.9.5 Integration by computer

Hydrostatics programs did not at once abandon the table of offsets. The US Navy’s Ship Hull Characteristics Program, described in 1988 as widely used in American design offices and shipyards, took offsets at 2 to 29 points on each station and integrated each section by Simpson’s first rule8. Programs today usually work from a surface model of the hull instead17. One approach fits a spline through the offsets, or takes the spline surface of the design system, and integrates it, either exactly or by a rule on a much finer grid than any table; the smooth surface, built from shape-preserving cubics, was integrated in the second way. Another approach describes each section as a polygon and integrates the polygon exactly, by Green’s theorem.

Simpson’s rule on the offsets does not give the integral of a spline through them, although the rule is exact for a cubic. An interpolating spline usually changes from one cubic to the next at every data point17. Each Simpson pair spans two cubics, whose cubic terms on the two sides of the middle ordinate no longer cancel. On the Series 60 design waterline the rule gives 1402.12 m² between the perpendiculars and the smooth surface 1401.92 m². The difference is small because the waterline is smooth and the stations are close; the rule does not integrate the spline exactly.

The volume of a closed surface can be found from its triangles by the divergence theorem, the three-dimensional counterpart of Green’s theorem, as was done in Chapter 1 to check the Series 60 surface. Whatever the method, a hydrostatics program should be tested first on a hull with exact answers and then by refining its spacing until the results stop changing. A comparison with an independent calculation, such as Todd’s displacement, completes the test. Simpson’s rule applied by hand to a few sections and waterplanes cut from the program’s own model of the hull is such a calculation, independent of the program’s integration, although not of its model.

2.10 Hydrostatic integration in industry today

Most of the rules of this chapter were made for hand calculation from a table of offsets. What has passed into software is mostly the approaches of Sec. 2.9, applied to a surface model or a mesh, and the testing against known answers. Simpson’s rule itself, once worked by hand, is also implemented in programs14. A rule such as those of this chapter is still needed wherever a quantity is known only at fixed points, as when a stability instrument stores its stability data at fixed angles of heel and reports the areas under the curve of righting levers16. The table of offsets is also still accepted for approval. When a stability instrument is approved for a particular ship, the International Code on Intact Stability, 2008 (the IS Code; Resolution MSC.267(85)) allows the hull form to be submitted as a table of offsets, among other forms, where the program needs it to model the ship18. The practice described here is that of 2026, and the section is revised with each release. Programs are named only as documented examples of methods that many systems share.

2.10.1 Sections, polygons and meshes

Few makers of hydrostatics programs state the rules they use, but several document whether their programs integrate polygonal sections or a mesh. The GHS program represents each volume by a series of closed polylines at stations19, that is, by polygonal sections such as those integrated by Green’s theorem. Orca3D computes its hydrostatics on a mesh of the surface model. Since version 2.0.18 of 2020 the user has been able to display and adjust that mesh20. In the research solver Calcoque the displacement and its centre are computed by cutting a watertight volume mesh with the waterplane21. Two open-source libraries show their methods in their source code. Capytaine computes the volume of a mesh as a sum over its faces, by the divergence theorem22,23. Meshmagick takes the waterplane area and its moments from the polygon in which the waterplane cuts the mesh, by boundary sums like those of Green’s theorem for a polygon24.

2.10.2 Stability instruments

The integrals are also evaluated on board, by a stability instrument. MSC.1/Circ.1229 defines a stability instrument as the hardware and software fitted to one particular ship to show, for whatever loading condition the ship is in, whether it meets the stability requirements of its own stability booklet16. The loading condition is the cargo, ballast, fuel and stores on board at the time, and where they are stowed. The instrument’s software is approved for that ship once the accuracy of its results, and of the ship data it uses, has been verified16. Oil and chemical tankers, among others, must carry such an instrument under MARPOL Annex I and the IBC Code, unless the Administration, the government of the state whose flag the ship flies, waives the requirement25. The requirement applies to such tankers constructed on or after 1 January 2016, and to existing tankers from their first scheduled renewal survey on or after that date (the periodic survey at which a ship’s certificates are renewed), but not later than 1 January 2021, as set out in Resolution MEPC.248(66) and MGN 611 (M)25,26. According to MGN 611 (M), a waiver may be granted, for example, to a tanker on a dedicated service with a few approved loading conditions, or to a tanker whose stability is checked remotely by a method the Administration has approved; such a ship shows compliance by that method instead25.

Classification societies set technical rules for the construction and maintenance of ships and check by survey that the ships registered with them meet those rules. The International Association of Classification Societies (IACS) sets a unified requirement for onboard stability software, IACS UR L5, Rev. 4, issued in 2020. UR L5 does not itself require a stability instrument to be fitted; it specifies the requirements for the software where one is fitted27. UR L5 distinguishes four types of software, from Type 1, which calculates intact stability only, the stability of the undamaged ship, to Type 4. Type 4 calculates damage stability, the stability of the ship with one or more compartments flooded (Chapter 12), for the actual loading condition and an actual flooding case, the set of compartments actually flooded, to give operational information for a safe return to port of the damaged ship. For Types 3 and 4 the damage stability must be calculated directly from a full three-dimensional model of the hull (UR L5, Section 3). For approval on a particular ship, the society and the applicant agree at least four loading conditions from the approved stability information, the hydrostatic and stability data approved for the ship and supplied to its master. The results for these conditions must agree with that information within set tolerances, and for Type 4 software for a safe return to port the society also checks at least three damage cases, each with at least three loading conditions (UR L5, para. 6.2).

The tolerances of MSC.1/Circ.1229 depend on how the program obtains its results. A program that uses only data stored from the approved stability information should print those data exactly. Its results may differ from the approved ones only by rounding or abridged input, or, after review by the Administration, where it uses data for trims other than those of the approved information16. A program that computes from a model of the hull is compared with the approved stability information or with the model used by the approving authority, and its results must agree within the tolerances that the Circular tabulates, each percentage being taken of the approved value16. Table 2.7 gives them, as the Circular prints them in the table that follows its para. 4.6, for the quantities used in the following chapters16: the displacement may differ by up to 2 %, the vertical centre of buoyancy by 1 % / 5 cm max and the areas under the curve of righting levers by 5 % or 0.0012 m·rad. The Circular does not say how the two values of such a tolerance are combined. IACS UR L5 prints the same pairs of values, without “max”, and states that where a tolerance has two values the allowable tolerance is the greater of the two27. Larger differences are accepted only where the Administration finds them satisfactorily explained and without adverse effect on the safety of the ship16.

Table 2.7 Tolerances of MSC.1/Circ.1229 for a stability program that computes from a model of the hull, for the quantities of the following chapters, in the Circular’s form; a percentage is of the approved value16. Where a tolerance has two values, IACS UR L5 allows the greater of the two27.

Quantity (chapter where treated) Tolerance
Displacement (Chapters 2 and 3) 2 %
Draughts, forward, aft and mean (Chapter 3) 1 % / 5 cm max
Longitudinal centres of buoyancy and flotation, from the AP (Chapter 2) 1 % / 50 cm max
Vertical centre of buoyancy (Chapter 2) 1 % / 5 cm max
Height of the transverse metacentre above the keel, KM, the Circular’s “transverse metacentric height” among its hull-form data (Chapter 4) 1 % / 5 cm max
Moment to change trim 1 cm (Chapter 6) 2 %
Cross curves of stability, KN (Chapter 8) 50 mm
Free surface correction (Chapter 5) 2 %
Metacentric height, GM (Chapter 4) 1 % / 5 cm max
Righting levers, GZ (Chapter 8) 5 % / 5 cm max
Areas under the curve of righting levers (Chapters 9 and 11) 5 % or 0.0012 m·rad

Recent programs compute from three-dimensional models of the hull and its compartments. In July 2022 the classification society DNV type-approved NAPA Stability, onboard software for passenger ships. Type approval certifies that the design of a product meets stated requirements, here DNV’s own intact and damage stability requirements, the UR L5 Type 4 requirements for a safe return to port and those of DNV’s class notation LCS(DC), an optional addition to a ship’s classification that records that it meets further rules28. Bureau Veritas offers software of all four types with calculations “based on 3D ship models”29. Liu et al.30 describe a direct damage stability method for a Type 3 onboard loading computer, that is, a stability instrument, in which the hull and the compartments are stored as STL triangle meshes. For an asphalt tanker of 7500 t deadweight, the mass of cargo, fuel and stores it can carry, they calculated 18 loading conditions, each with one damage case, and compared the results with the ship’s loading manual, a document that the ship carries on board and that a loading computer supplements7. The mean difference in GZ was 0.002 m and the largest 0.013 m. These figures describe that test only and do not establish the accuracy of such software in general.

2.10.3 Testing hydrostatics software

A published study illustrates testing by comparison with independent calculations. Dawson31 compared the tank tables, the volume and centre of a tank’s contents at each depth of filling, that Maxsurf Stability computes for four identical cubic tanks in a box-shaped benchmark barge with those of two other programs, Paramarine and Rhinoceros 3D. Such shapes also have exact answers, against which the programs can be tested as well.

2.11 From geometry to hydrostatics

You can now evaluate every integral of Table 2.1 from a table of offsets, a surface or a polygon, and say how far to trust the result. In Fig. 2.16 those integrals are grouped by the waterplanes, sections or volumes over which they are taken, with the later chapters that use them. In Chapter 3 the displacement volume and the volume curve are set against the weight of the ship, to find the draught at which it floats, and the centre of buoyancy against the centre of gravity. Chapman began from the comparison of displacement and weight, in which the weight of the cargo is the difference between the displacement and the weight of the hull and rigging. In Chapter 4 the transverse second moment of the waterplane gives the metacentric radius, and the longitudinal second moment gives the longitudinal metacentric radius, from which Chapter 6 finds the trim. Chapter 5 applies these integrals to the liquid in tanks and Chapter 12 to flooded compartments. Chapter 7 repeats them at every draught and Chapter 8 at every angle of heel. Chapter 9 integrates the righting lever over the angle of heel, and Chapter 11 sets minimum values for the area under its curve. Each of these steps uses the rules of this chapter and the checks of Sec. 2.7, whether the hull is described by offsets, a surface or a polygon.

A flow diagram. At the top left, a box labelled hull description: table of offsets, surface or polygon. A line runs down from it, with arrows into three boxes in a column below it: waterplane integrals (area, centre of flotation, transverse and longitudinal second moments), section integrals (section areas, Bonjean curves), and volume integrals (volume and centre of buoyancy, at every draught or angle of heel). From these, arrows lead to the later chapters that use them, listed in a column on the right: Chapter 3 weight, buoyancy and flotation; Chapter 4 initial stability and the metacentres; Chapter 5 moving and liquid loads; Chapter 6 trim and longitudinal stability; Chapter 7 hydrostatic curves; Chapter 8 stability at large angles; Chapter 9 dynamic stability; Chapter 11 stability criteria; and Chapter 12 damage stability.

Figure 2.16 Where the integrals of Chapter 2 lead. Each arrow from the hull description is an integral evaluated by a rule of this chapter.

Summary

The quantities of hydrostatics are integrals of half-breadths. A hull is known only at a finite number of points, and each of these integrals is evaluated by a rule that is a weighted sum of ordinates. The trapezoidal rule joins the points by straight lines and is of order 2 on a smooth curve. Simpson’s first rule, with which Chapman began his treatise, fits parabolas to pairs of equal intervals, is exact for cubics and is of order 4 on such a curve. Half stations, the second rule, the rule for unequal intervals and the five-eight rule extend it to the spacings that real tables have, and a part beyond the last ordinate is added with an extra ordinate or an assumed shape, on which the result depends.

These rules also give first and second moments, from the moments of a strip, with care for integrands such as y3y^3, and the parallel-axis theorem moves a second moment to the centroid; the inertia coefficients compare the second moments of a waterplane with those of its rectangle L×BL \times B. A volume is integrated twice, on a displacement sheet whose two grand totals agree by construction, and their agreement checks only the arithmetic; the centre of buoyancy follows from moments of the sections or of the waterplanes, or from the area between the volume curve and the height axis.

Tchebycheff and Gauss rules choose the positions of the ordinates and need fewer of them, and polar coordinates suit an outline that is nearly a circle about a point, such as a bilge. Green’s theorem gives the area and moments of a polygon of any shape, with its vertices taken in counter-clockwise order, and the planimeter also rests on it.

Accuracy is judged by test cases with exact answers and by repeating the calculation at a different spacing or with a different rule; where the curve has a corner or a vertical tangent, the order falls and the estimate must be checked. These results give seven rules for practice:

Notes on the data

Chapman’s treatise. The quotations are our translations of the French edition1; its numbers are given as printed.

Wigley hull. The offsets, radii and other data of the Wigley hull in this chapter are computed from its formula, Eq. (1.5).

Series 60. Values are computed from the offsets of Todd6, up to the design waterline. Values of the smooth surface are given for comparison only, as is its ending of the design waterline aft of the AP in Fig. 2.6, which is a choice made in Chapter 1 and not part of Todd’s data. Stations are numbered from the AP, the reverse of Todd’s numbering. The displacement sheet of the Series 60 hull, in the layout of Table 2.4 with the weights for Todd’s waterlines up the height, is in the chapter’s data file series60_displacement_sheet.csv; it reproduces ∇\nabla = 7719.9 m³ and zBz_B = 3.48 m. The section areas of Exercise 2.16 are computed from Todd’s offsets with the rule of Example 2.8 and rounded to 0.1 m²; Exercise 2.21 alters one of them on purpose.

Exercises

Under each exercise, “Show answers” opens its short answers and “Show full solution” its worked solution; an exercise without answer boxes gives its short answers in brackets at its end. Exercises 2.1 to 2.7 are adapted from Attwood4 (public domain). Use ρ\rho = 1025 kg/m³ for sea water.

2.1 A curve has ordinates 0.4 m apart of 3.31, 4.12, 4.44, 4.59, 4.65, 4.66 and 4.64 m. Find the area under it by Simpson’s first rule and by Simpson’s second rule. Adapted from Attwood4.

Show answers

10.615 m²; 10.611 m²

Show full solution

Simpson’s first rule. With multipliers 1, 4, 2, 4, 2, 4, 1,

Σ=3.31+16.48+8.88+18.36+9.30+18.64+4.64=79.61,A=0.43×79.61=10.615m2.\begin{aligned} \Sigma &= 3.31 + 16.48 + 8.88 + 18.36 + 9.30 + 18.64 + 4.64 = 79.61, \\ A &= \tfrac{0.4}{3} \times 79.61 = 10.615\ \mathrm{m^2}. \end{aligned}

The second rule. Six intervals are also a multiple of three, so the second rule applies with multipliers 1, 3, 3, 2, 3, 3, 1:

Σ=3.31+12.36+13.32+9.18+13.95+13.98+4.64=70.74,A=3×0.48×70.74=10.611m2.\begin{aligned} \Sigma &= 3.31 + 12.36 + 13.32 + 9.18 + 13.95 + 13.98 + 4.64 = 70.74, \\ A &= \tfrac{3 \times 0.4}{8} \times 70.74 = 10.611\ \mathrm{m^2}. \end{aligned}

Comment. The two agree to 0.04 %, as two rules of order 4 should on a smooth curve.

2.2 A curve has ordinates 5.5 m apart of 1.89, 4.21, 6.68, 8.05, 6.81, 4.48 and 2.24 m. Taking the result of Simpson’s first rule as correct, find the percentage error of the trapezoidal rule and of Simpson’s second rule. Adapted from Attwood4.

Show answers

−1.21 %; −0.46 %

Show full solution

Simpson’s first rule. The sum of the products is 98.07, and

A=5.53×98.07=179.80m2.A = \tfrac{5.5}{3} \times 98.07 = 179.80\ \mathrm{m^2}.

The trapezoidal rule. With the end ordinates halved,

A=5.5×(0.945+4.21+6.68+8.05+6.81+4.48+1.12)=5.5×32.295=177.62m2,A = 5.5 \times (0.945 + 4.21 + 6.68 + 8.05 + 6.81 + 4.48 + 1.12) = 5.5 \times 32.295 = 177.62\ \mathrm{m^2},

1.21 % low.

The second rule. The sum of the products is 86.77, and

A=3×5.58×86.77=178.96m2,A = \tfrac{3 \times 5.5}{8} \times 86.77 = 178.96\ \mathrm{m^2},

0.46 % low.

Comment. The curve bulges away from its base, so the trapezoidal rule falls short, and with only six intervals over a curve that rises and falls the two fourth-order rules still differ by half a per cent.

2.3 A quadrant of a circle of radius 1 m is divided by ordinates parallel to one radius, at distances 0.25, 0.5, 0.625, 0.75, 0.8125, 0.875 and 0.9375 m from it, as well as the radius itself and the point where the arc meets the other radius. Find the area (a) exactly, (b) with the ordinates 0.25 m apart only, (c) adding the ordinates at 0.625 and 0.875 m, (d) with all the ordinates, and (e) with all except the ordinate at 0.625 m, using the second rule from 0 to 0.75 m. Comment on the results. Adapted from Attwood4.

Show answers

0.7854; 0.7709; 0.7802; 0.7835; 0.7832 m²

Show full solution

(a) Exact. The area is π/4=0.7854\pi/4 = 0.7854 m². The ordinates 1−x2\sqrt{1 - x^2} at 0, 0.25, 0.5, 0.625, 0.75, 0.8125, 0.875, 0.9375 and 1 m are 1, 0.9682, 0.8660, 0.7806, 0.6614, 0.5830, 0.4841, 0.3480 and 0.

(b) Ordinates 0.25 m apart. Simpson’s rule gives

A=0.253(1+3.8730+1.7321+2.6458+0)=0.7709m2,A = \tfrac{0.25}{3}\,(1 + 3.8730 + 1.7321 + 2.6458 + 0) = 0.7709\ \mathrm{m^2},

1.85 % low.

(c) With the ordinates at 0.625 and 0.875 m. The second half is two pairs at half spacing. In units of 0.25/30.25/3 the multipliers are 1, 4, 1½, 2, 1, 2, ½, the sum is 9.3628, and the area is 0.7802 m², 0.66 % low.

(d) With all the ordinates. The last quarter is two pairs at quarter spacing; the multipliers are 1, 4, 1½, 2, ¾, 1, ½, 1, ¼, the sum is 9.4024, and the area is 0.7835 m², 0.24 % low.

(e) Without the ordinate at 0.625 m. The second rule from 0 to 0.75 m and Simpson’s rule at quarter spacing from 0.75 to 1 m give

A=3×0.258(1+2.9047+2.5981+0.6614)+0.1115=0.6716+0.1115=0.7832m2,\begin{aligned} A &= \tfrac{3 \times 0.25}{8}\,(1 + 2.9047 + 2.5981 + 0.6614) + 0.1115 \\ &= 0.6716 + 0.1115 = 0.7832\ \mathrm{m^2}, \end{aligned}

0.28 % low.

Comment. The error is concentrated at the end, where the arc meets the radius at right angles. Extra ordinates there reduce it more than the ordinate at 0.625 m does, and with nine ordinates an error of a quarter of a per cent remains.

2.4 The waterplane areas of a vessel, 0.45 m apart from the load waterline downwards, are 186, 186, 149, 116 and 28 m². Neglecting the small volume below the lowest, find the displacement volume and the displacement mass in sea water. Adapted from Attwood4.

Show answers

258.0 m³; 264.5 t

Show full solution

The volume and the mass. With multipliers 1, 4, 2, 4, 1 from the load waterline down,

∇=0.453(186+744+298+464+28)=0.15×1720=258.0m3,Δm=1.025×258.0=264.5t.\begin{aligned} \nabla &= \tfrac{0.45}{3}\,(186 + 744 + 298 + 464 + 28) = 0.15 \times 1720 = 258.0\ \mathrm{m^3}, \\ \Delta_m &= 1.025 \times 258.0 = 264.5\ \mathrm{t}. \end{aligned}

2.5 The half-breadths of a waterplane, 4.6 m apart from the after end, are 1.58, 3.11, 4.39, 5.46, 6.28, 6.92, 7.41, 7.77, 7.99, 8.08, 8.11, 8.02, 7.74, 7.28, 6.64, 5.73, 4.69, 3.51, 2.19, 1.01 and 0.67 m. Find the area of the waterplane and the position of its centre of flotation relative to the middle ordinate. Adapted from Attwood4 (one ordinate corrected).

Show answers

1044.8 m²; 3.11 m aft of the middle ordinate

Show full solution

The area. With 20 intervals and Simpson’s multipliers, the sum of the products is 340.69, so

AW=2×4.63×340.69=1044.8m2.A_W = 2 \times \tfrac{4.6}{3} \times 340.69 = 1044.8\ \mathrm{m^2}.

The centre of flotation. With levers k−10k - 10 from the middle ordinate, negative aft, the moment sum is −230.66, and

x‾=4.6×−230.66340.69=−3.11m,\bar{x} = 4.6 \times \frac{-230.66}{340.69} = -3.11\ \mathrm{m},

that is, 3.11 m aft of the middle ordinate.

2.6 A plane area bounded by a curve and a straight base has ordinates 1.2 m apart of 0, 3.81, 4.36, 4.60, 4.72, 4.69, 4.51, 4.27 and 0 m. Find its area, the distance of its centroid from the first ordinate, and its height above the base. Adapted from Attwood4.

Show answers

38.66 m²; 4.88 m; 2.21 m

Show full solution

The area. Simpson’s multipliers for eight intervals give a sum of 96.66, and

A=1.23×96.66=38.66m2.A = \tfrac{1.2}{3} \times 96.66 = 38.66\ \mathrm{m^2}.

The centroid along the base. With levers 0 to 8 from the first ordinate the moment sum is 393.12, and the centroid is

x‾=1.2×393.1296.66=4.88m\bar{x} = 1.2 \times \frac{393.12}{96.66} = 4.88\ \mathrm{m}

from the first ordinate.

The height of the centroid. The moment about the base is 12∫y2dx\tfrac{1}{2}\int y^2\,dx. The sum of the squares times the multipliers is 426.88, so

y‾=12×426.8896.66=2.21m.\bar{y} = \frac{\tfrac{1}{2} \times 426.88}{96.66} = 2.21\ \mathrm{m}.

2.7 The half-breadths of a waterplane, 8.5 m apart, are 0.02, 1.42, 3.06, 4.36, 5.11, 5.38, 5.30, 4.94, 4.13, 2.94 and 1.11 m. Find its transverse second moment about the centreline by Simpson’s rule and by the trapezoidal rule, and explain why the two are so close. Adapted from Attwood4.

Show answers

4370.7 m⁴; 4360.6 m⁴

Show full solution

Simpson’s rule. The cubes are 0.000, 2.863, 28.653, 82.882, 133.433, 155.721, 148.877, 120.554, 70.445, 25.412 and 1.368 m³. With Simpson’s multipliers their sum is 2313.91, and

IT=23×8.53×2313.91=4370.7m4.I_T = \tfrac{2}{3} \times \tfrac{8.5}{3} \times 2313.91 = 4370.7\ \mathrm{m^4}.

The trapezoidal rule. With the end cubes halved the sum is 769.52, and

IT=23×8.5×769.52=4360.6m4,I_T = \tfrac{2}{3} \times 8.5 \times 769.52 = 4360.6\ \mathrm{m^4},

0.23 % lower.

Why they are close. The h2h^2 term of the trapezoidal rule’s error, −h212[f′]ab-\tfrac{h^2}{12}\left[f'\right]_a^b, depends only on the slopes of f=23y3f = \tfrac{2}{3}y^3 at the two ends, and f′=2y2dy/dxf' = 2y^2\,dy/dx is small wherever yy is small. At the after end, where yy = 0.02 m, it is practically zero. At the forward end yy = 1.11 m, and with dy/dx≈−0.25dy/dx \approx -0.25 from the parabola through the last three ordinates, f′≈−0.62f' \approx -0.62 m², so the h2h^2 term is about

8.5212×0.62≈4m4,\tfrac{8.5^2}{12} \times 0.62 \approx 4\ \mathrm{m^4},

which is small but not zero.

Comment. Which of the two is nearer the true value cannot be told from these data, because at a spacing of 8.5 m the higher terms of the trapezoidal rule’s error are not negligible, and the error of Simpson’s rule is not known either.

2.8 Derive the rule for a pair of unequal intervals, Eq. (2.9), by integrating the parabola through three ordinates at 0, h1h_1 and h1+h2h_1 + h_2, and show that it reduces to Simpson’s rule when h1=h2h_1 = h_2. Then derive the five-eight rule and show that the five-eight areas of the two halves of a Simpson pair add up to the Simpson area. [h3(1,4,1)\tfrac{h}{3}(1, 4, 1); h12(5,8,−1)\tfrac{h}{12}(5, 8, -1) and h12(−1,8,5)\tfrac{h}{12}(-1, 8, 5)]

Show full solution

The conditions. A rule w0y0+w1y1+w2y2w_0 y_0 + w_1 y_1 + w_2 y_2 integrates every parabola exactly if it integrates 1, xx and x2x^2 exactly. With the ordinates at x=0x = 0, h1h_1 and s=h1+h2s = h_1 + h_2,

w0+w1+w2=s,h1w1+sw2=s22,h12w1+s2w2=s33.w_0 + w_1 + w_2 = s, \qquad h_1 w_1 + s\,w_2 = \frac{s^2}{2}, \qquad h_1^2 w_1 + s^2 w_2 = \frac{s^3}{3}.

The weights. Subtracting h1h_1 times the second equation from the third leaves sh2w2=s2(2h2−h1)/6s h_2 w_2 = s^2 (2h_2 - h_1)/6, so

w2=s6(2−h1/h2),w1=s36h1h2,w0=s6(2−h2/h1),w_2 = \tfrac{s}{6}\,(2 - h_1/h_2), \qquad w_1 = \frac{s^3}{6 h_1 h_2}, \qquad w_0 = \tfrac{s}{6}\,(2 - h_2/h_1),

the second from the second equation and the third from the first: the weights of the rule for unequal intervals. For intervals of 1 and 3, for example, they are −2/3-2/3, 32/932/9 and 10/910/9, and the first is negative because h2>2h1h_2 > 2h_1.

Equal intervals. With h1=h2=hh_1 = h_2 = h the weights become 2h6(1,4,1)=h3(1,4,1)\tfrac{2h}{6}(1, 4, 1) = \tfrac{h}{3}(1, 4, 1), which is Simpson’s rule.

The five-eight rule. Integrating the parabola through the three ordinates, with h1=h2=hh_1 = h_2 = h, from 0 to hh only gives h12(5,8,−1)\tfrac{h}{12}(5, 8, -1), which is the five-eight rule; from hh to 2h2h it gives, by symmetry, h12(−1,8,5)\tfrac{h}{12}(-1, 8, 5). The two add up to

h12(4,16,4)=h3(1,4,1).\tfrac{h}{12}\,(4, 16, 4) = \tfrac{h}{3}\,(1, 4, 1).

2.9 Show that Simpson’s rule is exact for f=x3f = x^3 on [−h,h][-h, h], and find the constant in its error formula, Eq. (2.7), by applying the rule to f=x4f = x^4 on [−h,h][-h, h]. Find the constant of the second rule from f=x4f = x^4 as well, and show that it is 1/801/80. [C=180C = 180; C=80C = 80]

Show full solution

A cubic. For f=x3f = x^3 on [−h,h][-h, h] the integral is zero, and the rule gives h3(−h3+0+h3)=0\tfrac{h}{3}(-h^3 + 0 + h^3) = 0.

The constant of the first rule. For f=x4f = x^4 the integral is 2h5/52h^5/5 and the rule gives h3(h4+h4)=2h5/3\tfrac{h}{3}(h^4 + h^4) = 2h^5/3, so that ES=2h5/5−2h5/3=−4h5/15E_S = 2h^5/5 - 2h^5/3 = -4h^5/15. In the error formula, b−a=2hb - a = 2h and f(4)=24f^{(4)} = 24, so

−2h⋅h4⋅24C=−4h515,C=180.-\frac{2h \cdot h^4 \cdot 24}{C} = -\frac{4h^5}{15}, \qquad C = 180.

The constant of the second rule. On [0,3h][0, 3h] the integral of x4x^4 is 243h5/5=48.6h5243h^5/5 = 48.6h^5 and the rule gives 3h8(0+3h4+48h4+81h4)=49.5h5\tfrac{3h}{8}(0 + 3h^4 + 48h^4 + 81h^4) = 49.5h^5, so the error is −0.9h5-0.9h^5. With b−a=3hb - a = 3h,

−3h⋅h4⋅24C=−0.9h5,C=80.-\frac{3h \cdot h^4 \cdot 24}{C} = -0.9h^5, \qquad C = 80.

2.10 For the Wigley waterline, yW=B2(1−ξ2)y_W = \tfrac{B}{2}(1 - \xi^2) with ξ=2x/L−1\xi = 2x/L - 1, show that Simpson’s rule with nn intervals gives the longitudinal second moment about amidships, 2∫(x−L/2)2yWdx2\int (x - L/2)^2\,y_W\,dx, with a relative error of exactly −16/n4-16/n^4, and evaluate it for n=10n = 10. [−0.16 %]

Show full solution

The integral. With ξ=2x/L−1\xi = 2x/L - 1, the second moment about amidships is 2⋅B2(L2)3∫−11gdξ2\cdot\tfrac{B}{2}\left(\tfrac{L}{2}\right)^3\int_{-1}^{1} g\,d\xi with g=ξ2−ξ4g = \xi^2 - \xi^4, whose exact integral is 23−25=415\tfrac{2}{3} - \tfrac{2}{5} = \tfrac{4}{15}.

The error. The fourth derivative of gg is the constant −24, so the error formula of Simpson’s rule is exact. With spacing 2/n2/n in ξ\xi,

ES=−2×(2/n)4×(−24)/180=6415n4.E_S = -2 \times (2/n)^4 \times (-24)/180 = \frac{64}{15\,n^4}.

The rule gives the integral minus ESE_S, and its relative error is −ES/(4/15)=−16/n4-E_S/(4/15) = -16/n^4.

Comment. For n=10n = 10 this is −0.0016, or −0.16 %, the error quoted for ILI_L of the Wigley waterplane.

2.11 For a function whose slope is zero at both ends of the interval, the h2h^2 term of the error of the trapezoidal rule vanishes. Using the expansion ET=−h212[f′]ab+h4720[f‴]ab−…E_T = -\tfrac{h^2}{12}\left[f'\right]_a^b + \tfrac{h^4}{720}\left[f'''\right]_a^b - \dots, predict the error of the trapezoidal rule with ten intervals for ITI_T of the Wigley design waterplane, yW=B2(1−ξ2)y_W = \tfrac{B}{2}(1 - \xi^2) with ξ=2x/L−1\xi = 2x/L - 1, LL = 100 m and BB = 10 m, and compare it with the actual error of the rule, −0.88 m⁴. [−0.89 m⁴, against −0.88 m⁴]

Show full solution

The derivatives. The integrand is f=23y3=c(1−ξ2)3f = \tfrac{2}{3}y^3 = c\,(1 - \xi^2)^3 with c=23(B/2)3=83.33c = \tfrac{2}{3}(B/2)^3 = 83.33 m³, and f′=0f' = 0 at both ends. In xx, f‴=c(2/L)3(72ξ−120ξ3)f''' = c\,(2/L)^3\,(72\xi - 120\xi^3), which is −0.032-0.032 at the FP (ξ=1\xi = 1) and +0.032+0.032 at the AP, so [f‴]ab=−0.064[f''']_a^b = -0.064; with ff in m³ and xx in m, f‴f''' has no unit.

The error. With hh = 10 m,

ET=104720×(−0.064)=−0.89m4:E_T = \tfrac{10^4}{720} \times (-0.064) = -0.89\ \mathrm{m^4}:

the rule exceeds the integral by 0.89 m⁴.

Comment. The actual error is 3809.52−3810.40=−0.883809.52 - 3810.40 = -0.88 m⁴; the small difference is the next term of the series.

2.12 The trapezoidal rule gives 43.713, 47.931 and 49.437 for the area of Chapman’s quadrant of radius 8 with ordinates 4, 2 and 1 apart. Estimate the order of convergence from the three results, and an improved value by Richardson extrapolation. Then extrapolate the last two results with p=2p = 2, the order of the trapezoidal rule on a smooth curve, and compare with Simpson’s rule on the nine ordinates 1 apart.

Show answers

p=1.486p = 1.486; 50.273; 49.939, equal to Simpson’s result; exact 50.265

Show full solution

The order. From the unrounded results, the successive differences are 4.2185 and 1.5058; their ratio, 2.802, is 2p2^p with p=log22.802=1.486p = \log_2 2.802 = 1.486.

The improved value. By Richardson extrapolation,

49.437+1.505821.486−1=49.437+1.50581.802=50.273,49.437 + \frac{1.5058}{2^{1.486} - 1} = 49.437 + \frac{1.5058}{1.802} = 50.273,

against the exact 16π=50.26516\pi = 50.265, a residual error of 0.015 %.

With p=2p = 2. The correction is 1.5058/3=0.5021.5058/3 = 0.502, and the result, 49.939, is Simpson’s rule on the nine ordinates 1 apart, since extrapolation with p=2p = 2 turns the trapezoidal rule into Simpson’s rule. It is still 0.65 % low.

Comment. The extrapolation with p=2p = 2 assumes an error that falls four-fold at each halving, while here it falls less than three-fold, because the arc meets the axis with a vertical tangent and the derivatives in the error formula are unbounded. The order found from the three results is 1.49 rather than 1.5, since at these spacings the error has not yet settled to its limiting behaviour.

2.13 The waterplane areas of the Wigley hull, LL = 100 m, BB = 10 m and TT = 6.25 m, are 23LB(1−ζ2)\tfrac{2}{3}LB(1 - \zeta^2) with ζ=(T−z)/T\zeta = (T - z)/T. At five waterlines 1.5625 m apart, from the keel to the design waterline, find the volume up to each waterline by the running Simpson integral, and compare with the exact ∇(z)=23LBT[(1−ζ)−13(1−ζ3)]\nabla(z) = \tfrac{2}{3}LBT\left[(1 - \zeta) - \tfrac{1}{3}(1 - \zeta^3)\right]. Explain why the results are exact even at the odd waterlines. [238.7, 868.1, 1757.8 and 2777.8 m³, all exact]

Show full solution

The waterplane areas. The areas 23LB(1−ζ2)\tfrac{2}{3}LB(1 - \zeta^2) at zz = 0, 1.5625, 3.125, 4.6875 and 6.25 m are 0, 291.67, 500.00, 625.00 and 666.67 m², and hh = 1.5625 m.

The running integral. Up to the first waterline by the five-eight rule, up to the second by Simpson’s rule, and so on:

∇1=h12(0+8×291.67−500.00)=238.7m3,∇2=h3(0+1166.67+500.00)=868.1m3,∇3=868.1+h12(2500.0+5000.0−666.67)=1757.8m3,∇4=868.1+h3(500.0+2500.0+666.67)=2777.8m3.\begin{aligned} \nabla_1 &= \tfrac{h}{12}\,(0 + 8 \times 291.67 - 500.00) = 238.7\ \mathrm{m^3}, \\ \nabla_2 &= \tfrac{h}{3}\,(0 + 1166.67 + 500.00) = 868.1\ \mathrm{m^3}, \\ \nabla_3 &= 868.1 + \tfrac{h}{12}\,(2500.0 + 5000.0 - 666.67) = 1757.8\ \mathrm{m^3}, \\ \nabla_4 &= 868.1 + \tfrac{h}{3}\,(500.0 + 2500.0 + 666.67) = 2777.8\ \mathrm{m^3}. \end{aligned}

Comment. The four values agree with the exact formula. The waterplane area of the Wigley hull is a parabola in zz, and both the five-eight rule and Simpson’s rule are exact for a parabola.

2.14 The half-section of a barge is a polygon with vertices at (y,z)(y, z) = (0, 0), (4, 0), (5, 1), (5, 3) and (0, 3) m, taken counter-clockwise. Find its area and the height of its centroid by Green’s theorem, and check both by dividing the section into two rectangles and a triangle.

Show answers

14.5 m²; 1.54 m

Show full solution

The area. With the vertices in order, the terms yjzj+1−yj+1zjy_j z_{j+1} - y_{j+1} z_j are 0, 4, 10, 15 and 0, so A=12×29=14.5A = \tfrac{1}{2} \times 29 = 14.5 m².

The height of the centroid. The terms times (zj+zj+1)(z_j + z_{j+1}) are 0, 4, 40, 90 and 0, so

Az‾=1346=22.33m3,z‾=1.54m.A\bar{z} = \frac{134}{6} = 22.33\ \mathrm{m^3}, \qquad \bar{z} = 1.54\ \mathrm{m}.

The check. A rectangle 4 m × 3 m (12 m², centroid at 1.5 m), a rectangle 1 m × 2 m above the sloping part (2 m², 2.0 m) and the triangle with vertices (4, 0), (5, 1) and (4, 1) (0.5 m², 0.67 m) give 14.5 m² and

z‾=18+4+0.3314.5=1.54m.\bar{z} = \frac{18 + 4 + 0.33}{14.5} = 1.54\ \mathrm{m}.

2.15 At intervals of 7°, the righting levers of HMS Captain and HMS Monarch, the two ships of the prologue of Chapter 1, were as follows4:

φ\varphi (°) 0 7 14 21 28 35 42
GZ\mathrm{GZ}, Captain (m) 0 0.108 0.216 0.273 0.254 0.197 0.133
GZ\mathrm{GZ}, Monarch (m) 0 0.102 0.210 0.311 0.464 0.552 0.559

Find the area under each curve up to 28° and up to 42°, in metre-radians, and the area between 28° and 35° by the five-eight rule. Multiplied by the ship’s weight, such an area is the work needed to heel the ship to that angle (Chapter 9), and Chapter 11 sets minimum values for it. Compare the two ships.

Show answers

Captain: 0.0900, 0.1379 and 0.0276 m·rad; Monarch: 0.1033, 0.2349 and 0.0629 m·rad

Show full solution

Up to 28°. The spacing is 7°=0.122177° = 0.12217 rad. Simpson’s multipliers 1, 4, 2, 4, 1 give sums of 2.210 for Captain and 2.536 for Monarch, so the areas are

0.122173×2.210=0.0900m⋅rad,0.1033m⋅rad.\tfrac{0.12217}{3} \times 2.210 = 0.0900\ \mathrm{m{\cdot}rad}, \qquad 0.1033\ \mathrm{m{\cdot}rad}.

Up to 42°. With multipliers 1, 4, 2, 4, 2, 4, 1 the sums are 3.385 and 5.767, and the areas 0.1379 and 0.2349 m·rad.

Between 28° and 35°. The five-eight rule, with the ordinates at 28°, 35° and 42°, gives

𝐶𝑎𝑝𝑡𝑎𝑖𝑛:0.1221712(5×0.254+8×0.197−0.133)=0.0276m⋅rad,𝑀𝑜𝑛𝑎𝑟𝑐h:0.1221712(5×0.464+8×0.552−0.559)=0.0629m⋅rad.\begin{aligned} \textit{Captain}: &\quad \tfrac{0.12217}{12}\,(5 \times 0.254 + 8 \times 0.197 - 0.133) = 0.0276\ \mathrm{m{\cdot}rad}, \\ \textit{Monarch}: &\quad \tfrac{0.12217}{12}\,(5 \times 0.464 + 8 \times 0.552 - 0.559) = 0.0629\ \mathrm{m{\cdot}rad}. \end{aligned}

Comment. Up to 28° Monarch’s area is 15 % larger, although at 7° and 14° Captain’s lever was slightly the larger. Up to 42° it is 70 % larger, and between 28° and 35° more than twice Captain’s. The difference between the two ships, which the levers at small angles do not show, appears in the areas only when they are taken to larger angles.

2.16 At a ballast draught of 4.877 m, three-quarters of its design draught, the immersed section areas of the Series 60 hull at its even-numbered stations, 12.192 m apart from the AP (station 0) to the FP (station 20), are 0, 16.8, 41.9, 63.6, 74.5, 76.7, 72.7, 57.8, 34.7, 14.1 and 0 m². (a) Find the displacement volume and the displacement mass in sea water by Simpson’s first rule. (b) Find the position of the centre of buoyancy relative to amidships. (c) Taking the largest section as the midship section, find the prismatic coefficient at this draught. (d) Find the volume by the trapezoidal rule, and its difference from (a) as a percentage, and explain why the difference is small. (e) The volume to the ballast draught found from the waterplanes, which use all 25 stations, is 5533.2 m³. Explain the difference from (a).

Show answers

5541.7 m³; 5680.2 t; 1.22 m aft of amidships; 0.593; 5520.5 m³, −0.38 %; (a) is 8.5 m³, 0.15 %, larger

Show full solution

(a) The volume and the mass. Eleven ordinates make ten intervals of 12.192 m. With Simpson’s multipliers the products are 0, 67.2, 83.8, 254.4, 149.0, 306.8, 145.4, 231.2, 69.4, 56.4 and 0, which add up to 1363.6 m², so

∇=12.1923×1363.6=5541.7m3,Δm=1.025×5541.7=5680.2t.\begin{aligned} \nabla &= \tfrac{12.192}{3} \times 1363.6 = 5541.7\ \mathrm{m^3}, \\ \Delta_m &= 1.025 \times 5541.7 = 5680.2\ \mathrm{t}. \end{aligned}

(b) The centre of buoyancy. Multiplying the products by the number of intervals from the AP, 0 to 10, gives a sum of 6681.6, so

xB=12.192×6681.61363.6=59.74mx_B = 12.192 \times \frac{6681.6}{1363.6} = 59.74\ \mathrm{m}

from the AP, that is, 60.96−59.74=1.2260.96 - 59.74 = 1.22 m aft of amidships.

(c) The prismatic coefficient. The largest section is at station 10, 76.7 m², and

CP=5541.776.7×121.92=0.593.C_P = \frac{5541.7}{76.7 \times 121.92} = 0.593.

(d) The trapezoidal rule. The end ordinates are zero, the areas add up to 452.8 m², and

∇T=12.192×452.8=5520.5m3,\nabla_T = 12.192 \times 452.8 = 5520.5\ \mathrm{m^3},

0.38 % less than Simpson’s rule. Over one Simpson pair of spacing hh the two rules differ by h6(2y1−y0−y2)\tfrac{h}{6}(2y_1 - y_0 - y_2), which is positive when the middle ordinate lies above the chord joining the outer two. The five values of 2y1−y0−y22y_1 - y_0 - y_2 are −8.3, 10.8, 6.2, 8.2 and −6.5 m²: the middle ordinate lies below the chord in the two end pairs, where the curve of areas is hollow, and above it in the three middle pairs. The terms partly cancel, leaving a difference of 12.1926×10.4=21.1\tfrac{12.192}{6} \times 10.4 = 21.1 m³ between the two rules.

(e) Comparison with the volume from the waterplanes. The volume of (a) is 8.5 m³, 0.15 %, larger than 5533.2 m³. Both use the rule of Example 2.8 up the height, so the difference is in the integration along the length; without the rounding of the areas to 0.1 m² it would be 10.2 m³. It comes from leaving out the odd and half stations, since near the ends the curve of areas changes too quickly for a spacing of 12.2 m, as was found at the design draught (7729.6 against 7719.9 m³).

2.17 The Wigley hull, LL = 100 m, BB = 10 m and design draught TT = 6.25 m, has the half-breadths y=B2(1−ξ2)(1−ζ2)y = \tfrac{B}{2}(1 - \xi^2)(1 - \zeta^2), with ξ=2x/L−1\xi = 2x/L - 1 and ζ=(T−z)/T\zeta = (T - z)/T. Set out a displacement sheet, in the layout of Table 2.4, for the hull floating at half its design draught, 3.125 m, with eleven stations 10 m apart and five waterlines 0.78125 m apart from the keel. Find the volume by sections and by waterplanes, the longitudinal centre of buoyancy, and the height of the centre of buoyancy above the keel, with the check from the waterline. Compare the height with the exact value, 0.325 times the design draught.

Show answers

868.06 m³ both ways; 50.00 m; 2.031 m, exact; B 1.094 m below the waterline

Show full solution

The offsets. At the heights 0, 0.78125, 1.5625, 2.34375 and 3.125 m, (1−ζ2)(1 - \zeta^2), with ζ=(6.25−z)/6.25\zeta = (6.25 - z)/6.25, is 0, 0.234375, 0.4375, 0.609375 and 0.75, and each offset is 5(1−ξ2)5(1 - \xi^2) times these; at station 5 they are 0, 1.1719, 2.1875, 3.0469 and 3.7500 m.

The volume by sections. Each function of area is 5(1−ξ2)5(1 - \xi^2) times 4×0.234375+2×0.4375+4×0.609375+0.75=5.04 \times 0.234375 + 2 \times 0.4375 + 4 \times 0.609375 + 0.75 = 5.0, that is, 0, 9, 16, 21, 24 and 25 from station 0 to 5. With the station multipliers they add up to 500.0, and

∇=2×103×0.781253×500.0=868.06m3.\nabla = 2 \times \frac{10}{3} \times \frac{0.78125}{3} \times 500.0 = 868.06\ \mathrm{m^3}.

The volume by waterplanes. The functions of the waterplane areas are 0, 23.44, 43.75, 60.94 and 75.00 from the keel up; with the waterline multipliers they also add up to 500.0, and give the volume found by sections.

The centres. By symmetry the station moments give xB=10×2500.0/500.0=50.00x_B = 10 \times 2500.0/500.0 = 50.00 m. With waterline levers 0 to 4 from the keel the products add up to 1300.0, and with levers 4 to 0 from the waterline to 700.0, so

zB=0.78125×1300.0500.0=2.031m,0.78125×700.0500.0=1.094mz_B = 0.78125 \times \frac{1300.0}{500.0} = 2.031\ \mathrm{m}, \qquad 0.78125 \times \frac{700.0}{500.0} = 1.094\ \mathrm{m}

below the waterline; the two add up to 3.125 m.

Comment. The volume is the 868.1 m³ found by the running integral to 3.125 m in Exercise 2.13, and 0.325×6.25=2.0310.325 \times 6.25 = 2.031 m; Simpson’s rule is again exact, since rows and columns are still parabolas.

2.18 (a) The waterplane areas of a vessel, 0.45 m apart from the load waterline downwards, are 186, 186, 149, 116 and 28 m². Find the height of the centre of buoyancy above the lowest waterplane from the moments of the waterplane areas, and check it by moments about the load waterline. (b) Find the volume up to each waterplane by the running Simpson integral, and from these volumes the depth of the centre of buoyancy below the load waterline, from the area between the volume curve and the height axis. (c) The volumes of the Wigley hull up to its waterlines at 0, 1.5625, 3.125, 4.6875 and 6.25 m above the keel are 0, 238.7, 868.1, 1757.8 and 2777.8 m³. Find zBz_B from them by Eq. (2.18), and compare it with 58T\tfrac{5}{8}T.

Show answers

1.056 m; 34.46, 96.15, 172.91 and 258.0 m³, 0.744 m below the load waterline; 3.906 m, exact

Show full solution

(a) Moments of the waterplane areas. From the lowest waterplane up the areas are 28, 116, 149, 186 and 186 m², 0.45 m apart, with Simpson’s multipliers 1, 4, 2, 4, 1 and a sum of products of 1720. With levers 0 to 4 from the lowest waterplane the products add up to 4036, and with levers 4 to 0 from the load waterline to 2844, so

z‾=0.45×40361720=1.056m,0.45×28441720=0.744m\bar{z} = 0.45 \times \frac{4036}{1720} = 1.056\ \mathrm{m}, \qquad 0.45 \times \frac{2844}{1720} = 0.744\ \mathrm{m}

below the load waterline; the two add up to 1.80 m, the height of the load waterline above the lowest.

(b) The running integral and the volume curve. By the five-eight rule and Simpson’s rule in turn, the volumes up to the four waterplanes above the lowest are

∇1=0.4512(5×28+8×116−149)=34.46m3,∇2=0.453(28+4×116+149)=96.15m3,∇3=96.15+0.4512(5×149+8×186−186)=172.91m3,∇4=96.15+0.453(149+4×186+186)=258.0m3.\begin{aligned} \nabla_1 &= \tfrac{0.45}{12}\,(5 \times 28 + 8 \times 116 - 149) = 34.46\ \mathrm{m^3}, \\ \nabla_2 &= \tfrac{0.45}{3}\,(28 + 4 \times 116 + 149) = 96.15\ \mathrm{m^3}, \\ \nabla_3 &= 96.15 + \tfrac{0.45}{12}\,(5 \times 149 + 8 \times 186 - 186) = 172.91\ \mathrm{m^3}, \\ \nabla_4 &= 96.15 + \tfrac{0.45}{3}\,(149 + 4 \times 186 + 186) = 258.0\ \mathrm{m^3}. \end{aligned}

Simpson’s rule on these volumes gives

∫∇dz=0.15(0+4×34.46+2×96.15+4×172.91+258.0)=191.97m4,\int \nabla\,dz = 0.15\,(0 + 4 \times 34.46 + 2 \times 96.15 + 4 \times 172.91 + 258.0) = 191.97\ \mathrm{m^4},

and by Eq. (2.18) the depth of B below the load waterline is 191.97/258.0=0.744191.97/258.0 = 0.744 m.

(c) The Wigley hull. Simpson’s rule on these volumes gives

∫0T∇dz=1.56253(0+4×238.7+2×868.1+4×1757.8+2777.8)=6510.4m4,\int_0^T \nabla\,dz = \tfrac{1.5625}{3}\,(0 + 4 \times 238.7 + 2 \times 868.1 + 4 \times 1757.8 + 2777.8) = 6510.4\ \mathrm{m^4},

and zB=6.25−6510.4/2777.8=3.906z_B = 6.25 - 6510.4/2777.8 = 3.906 m, which is 58T\tfrac{5}{8}T.

Comment. The two routes of (a) and (b) agree exactly, because both rest on the parabolas through the waterplane areas. The first integrates zAWz\,A_W, a cubic on each pair, and the second the running volume, also a cubic on each pair, and Simpson’s rule is exact for cubics.

2.19 Tupper9 states that the four-ordinate Tchebycheff rule is more accurate than the five-ordinate Simpson rule. Test the statement on Chapman’s arc, ∫0464−x2dx=30.6116\int_0^4 \sqrt{64 - x^2}\,dx = 30.6116, and on the cube of the Wigley half-breadth, ∫−11(1−ξ2)3dξ=32/35\int_{-1}^{1}(1 - \xi^2)^3\,d\xi = 32/35, and explain the result. The four ordinates of the Tchebycheff rule stand at ±0.18759 and ±0.79465 of the half-length of the base from its middle.

Show answers

Arc: 30.61159, +0.00002 against −0.00025 for Simpson’s rule; Wigley cube: 0.94815, +3.70 % against −2.02 %

Show full solution

Chapman’s arc. The positions ±0.18759 and ±0.79465 of the half-length 2 put the ordinates at xx = 0.41069, 1.62482, 2.37518 and 3.58931, where yy is 7.98945, 7.83326, 7.63927 and 7.14961. Their mean times the length of the base is

A=4×14(7.98945+7.83326+7.63927+7.14961)=30.61159,A = 4 \times \tfrac{1}{4}\,(7.98945 + 7.83326 + 7.63927 + 7.14961) = 30.61159,

0.00002 more than the exact 30.61157, against −0.00025 for Simpson’s rule with five ordinates.

The Wigley cube. At ξ\xi = ±0.18759 and ±0.79465, (1−ξ2)3(1 - \xi^2)^3 is 0.89810 and 0.05005, and the rule gives

2×14(2×0.89810+2×0.05005)=0.94815,2 \times \tfrac{1}{4}\,(2 \times 0.89810 + 2 \times 0.05005) = 0.94815,

3.70 % above 32/35=0.9142932/35 = 0.91429, against −2.02 % for Simpson’s rule.

Comment. The statement holds on the arc, a smooth curve without special behaviour at its ends, because the four-ordinate Tchebycheff rule is exact up to degree 5 and Simpson’s up to degree 3. It fails on the Wigley cube, an integrand whose slope vanishes at both ends; there the degree of exactness is not a guide, and only a test on that integrand shows which rule is better.

2.20 The half-section of a barge is a polygon with vertices at (y,z)(y, z) = (0, 0), (4, 0), (5, 1), (5, 3) and (0, 3) m, taken counter-clockwise. Find ∬y2dA\iint y^2\,dA, ∬z2dA\iint z^2\,dA and ∬yzdA\iint y\,z\,dA by Green’s theorem, and check the first two by dividing the section into two rectangles and a triangle. Then find the second moment of the half-section about a horizontal axis through its centroid.

Show answers

114.08 m⁴; 44.92 m⁴; 55.46 m⁴; 10.52 m⁴

Show full solution

By Green’s theorem. With the vertices in order the terms cjc_j are 0, 4, 10, 15 and 0. The factors yj2+yjyj+1+yj+12y_j^2 + y_j y_{j+1} + y_{j+1}^2 are 16, 61, 75, 25 and 0, the factors zj2+zjzj+1+zj+12z_j^2 + z_j z_{j+1} + z_{j+1}^2 are 0, 1, 13, 27 and 9, and the factors 2yjzj+yjzj+1+yj+1zj+2yj+1zj+12y_j z_j + y_j z_{j+1} + y_{j+1} z_j + 2y_{j+1} z_{j+1} are 0, 14, 60, 45 and 0, so

∬y2dA=112(244+750+375)=114.08m4,∬z2dA=112(4+130+405)=44.92m4,∬yzdA=124(56+600+675)=55.46m4.\begin{aligned} \iint y^2\,dA &= \tfrac{1}{12}\,(244 + 750 + 375) = 114.08\ \mathrm{m^4}, \\ \iint z^2\,dA &= \tfrac{1}{12}\,(4 + 130 + 405) = 44.92\ \mathrm{m^4}, \\ \iint y\,z\,dA &= \tfrac{1}{24}\,(56 + 600 + 675) = 55.46\ \mathrm{m^4}. \end{aligned}

The check. For the rectangle 4 m × 3 m, ∬y2dA=3×43/3=64\iint y^2\,dA = 3 \times 4^3/3 = 64 and ∬z2dA=4×33/3=36\iint z^2\,dA = 4 \times 3^3/3 = 36; for the rectangle from yy = 4 to 5 m and zz = 1 to 3 m, 2×(53−43)/3=40.6672 \times (5^3 - 4^3)/3 = 40.667 and 1×(33−13)/3=8.6671 \times (3^3 - 1^3)/3 = 8.667; for the triangle, of area 0.5 m², the formula A6(Σyi2+Σyiyk)\tfrac{A}{6}(\Sigma y_i^2 + \Sigma y_i y_k), with the second sum over the three pairs of vertices, gives 0.56×113=9.417\tfrac{0.5}{6} \times 113 = 9.417 and 0.56×3=0.250\tfrac{0.5}{6} \times 3 = 0.250. The sums are 64+40.667+9.417=114.0864 + 40.667 + 9.417 = 114.08 and 36+8.667+0.250=44.9236 + 8.667 + 0.250 = 44.92 m⁴.

About the centroid. With z‾=22.333/14.5=1.5402\bar{z} = 22.333/14.5 = 1.5402 m, by the parallel-axis theorem,

I=44.92−14.5×1.54022=44.92−34.40=10.52m4.I = 44.92 - 14.5 \times 1.5402^2 = 44.92 - 34.40 = 10.52\ \mathrm{m^4}.

2.21 At a ballast draught of 4.877 m, the immersed section areas of the Series 60 hull at its even-numbered stations, 12.192 m apart from the AP (station 0) to the FP (station 20), were entered on a sheet as 0, 16.8, 41.9, 63.6, 74.5, 76.7, 77.2, 57.8, 34.7, 14.1 and 0 m², with two digits of one value interchanged. (a) Find the second differences of the areas and locate the faulty value. (b) The correct value is 72.7 m². Find, by Simpson’s first rule, how much the faulty value changes the displacement volume and the position of the centre of buoyancy. (c) Had the area of that station come out too large from a mistyped offset on a displacement sheet, the two grand totals of the sheet would still agree. Explain why.

Show answers

Station 12, with a second difference of −19.9 m² against −1.7 and −3.7 m² at stations 10 and 14; 5578.2 m³ instead of 5541.7 m³, 36.6 m³ or 0.66 % too large; B 1.13 m instead of 1.22 m aft of amidships, 0.09 m too far forward

Show full solution

(a) The second differences. At each station between the ends the second difference, not divided by h2h^2 here since only its pattern matters, is Ai−1−2Ai+Ai+1A_{i-1} - 2A_i + A_{i+1}, and from station 2 to station 18 the values are 8.3, −3.4, −10.8, −8.7, −1.7, −19.9, −3.7, 2.5 and 6.5 m². An error ee in one area changes three neighbouring second differences, by ee, −2e-2e and ee, so it shows as one value out of line, with the values on either side moved half as far the other way. Here the value at station 12, −19.9 m², is nearly twice as large in magnitude as any other, so the faulty value is the area at station 12, 77.2 m². With two digits interchanged it reads 72.7 m², 4.5 m² less, and with that value the second differences at stations 10, 12 and 14 become −6.2, −10.9 and −8.2 m², in line with the others.

(b) The volume. Station 12, the seventh ordinate, carries Simpson’s multiplier 2, so the faulty value adds 2×4.5=9.02 \times 4.5 = 9.0 to the sum of the products, 1363.6 with the correct value and 1372.6 with the faulty value:

∇=12.1923×1363.6=5541.7m3with the correct value,∇=12.1923×1372.6=5578.2m3with the faulty value,\begin{aligned} \nabla &= \tfrac{12.192}{3} \times 1363.6 = 5541.7\ \mathrm{m^3}\ \text{with the correct value}, \\ \nabla &= \tfrac{12.192}{3} \times 1372.6 = 5578.2\ \mathrm{m^3}\ \text{with the faulty value}, \end{aligned}

so the faulty value makes the volume 12.1923×9.0=36.6\tfrac{12.192}{3} \times 9.0 = 36.6 m³, or 0.66 %, too large.

(b) The centre of buoyancy. With the number of intervals from the AP as the lever, 6 for station 12, the moment sum rises from 6681.6 to 6681.6+6×9.0=6735.66681.6 + 6 \times 9.0 = 6735.6, and

xB=12.192×6735.61372.6=59.83mx_B = 12.192 \times \frac{6735.6}{1372.6} = 59.83\ \mathrm{m}

from the AP, 1.13 m aft of amidships, against 12.192×6681.6/1363.6=59.7412.192 \times 6681.6/1363.6 = 59.74 m, or 1.22 m aft, with the correct value. The faulty value places B 0.09 m too far forward.

(c) The grand totals. Every offset enters both routes of a displacement sheet once, multiplied by its weight along the length and by its weight up the height, and the two grand totals are one double sum taken in two orders. A mistyped offset changes both by the same amount, so they still agree; only the curve of areas, or its second differences, shows the error.

2.22 The Wigley hull, LL = 100 m, BB = 10 m and TT = 6.25 m, has a tank on the port side of a centreline bulkhead, between stations 3 and 7, 30 m and 70 m from the AP, whose outer boundary is the hull side. The liquid in it stands at the height of the design waterline, where the half-breadths at stations 3, 4, 5, 6 and 7, 10 m apart, are 4.2, 4.8, 5.0, 4.8 and 4.2 m. For the free surface of the liquid, find by Simpson’s rule (a) its area, (b) the distance of its centroid from the centreline, (c) its second moment about the centreline, and (d) its second moment about the longitudinal axis through its centroid.

Show answers

189.33 m²; 2.373 m; 1425.5 m⁴; 359.1 m⁴

Show full solution

(a) The area. With Simpson’s multipliers 1, 4, 2, 4, 1 the products of the half-breadths add up to 56.8, and

A=103×56.8=189.33m2.A = \tfrac{10}{3} \times 56.8 = 189.33\ \mathrm{m^2}.

(b) The centroid. The moment of the area about the centreline, its base, is 12∫y2dx\tfrac{1}{2}\int y^2\,dx. The squares of the half-breadths are 17.64, 23.04, 25.00, 23.04 and 17.64 m², with a Simpson sum of 269.6, so

M=12×103×269.6=449.33m3,y‾=449.33/189.33=2.373m.\begin{aligned} M &= \tfrac{1}{2} \times \tfrac{10}{3} \times 269.6 = 449.33\ \mathrm{m^3}, \\ \bar{y} &= 449.33/189.33 = 2.373\ \mathrm{m}. \end{aligned}

(c) About the centreline. The second moment of a strip about its base is 13y3dx\tfrac{1}{3}y^3\,dx. The cubes of the half-breadths are 74.088, 110.592, 125.000, 110.592 and 74.088 m³, with a Simpson sum of 1282.91, so the second moment is

13×103×1282.91=1425.5m4.\tfrac{1}{3} \times \tfrac{10}{3} \times 1282.91 = 1425.5\ \mathrm{m^4}.

(d) About the centroid. The parallel-axis theorem subtracts the area times the square of the distance between the two axes, Ay‾2A\bar{y}^2, written here as M2/AM^2/A so that y‾\bar{y} is not rounded:

1425.5−449.332189.33=1425.5−1066.4=359.1m4.1425.5 - \frac{449.33^2}{189.33} = 1425.5 - 1066.4 = 359.1\ \mathrm{m^4}.

Comment. The second moment about the centroid is about a quarter of that about the centreline. For a rectangle the second moment about the axis through its centroid is exactly a quarter of that about a side parallel to it, and the free surface of this tank is nearly a rectangle.

Symbols introduced in this chapter

Symbol Meaning Unit
AA area of a plane figure, a polygon or a polar figure m²
cjc_j yjzj+1−yj+1zjy_j z_{j+1} - y_{j+1} z_j, twice the signed area of the triangle of edge jj and the origin m²
CITC_{IT}, CILC_{IL} transverse and longitudinal inertia coefficients, 12IT/(B3L)12\,I_T/(B^3 L) and 12IL/(BL3)12\,I_L/(B L^3) –
dd distance between two parallel axes m
d‾\bar{d} depth of the centroid of a figure below the pole, in polar integration m
ETE_T, ESE_S error of the trapezoidal rule and of Simpson’s rule: integral minus rule as the integral
ff; f′f', f″f'', f‴f''', f(4)f^{(4)} integrand, a function of xx; its first to fourth derivatives, each dividing the unit of ff by one more power of the unit of xx (for a half-breadth yy in m against xx in m: m, –, m⁻¹, m⁻², m⁻³; for 23y3\tfrac{2}{3}y^3: m³, m², m, –, m⁻¹) unit of ff; unit of ff over m, m², m³, m⁴
hh; hzh_z spacing of the ordinates (station or waterline spacing); waterline spacing on a displacement sheet m
h1h_1, h2h_2 lengths of two neighbouring, possibly unequal, intervals m
ITI_T transverse second moment of the waterplane area, about the centreline m⁴
ILI_L longitudinal second moment of the waterplane area, about the transverse axis through F m⁴
ImidI_{\mathrm{mid}}, IAPI_{AP} second moment of the waterplane area about a transverse axis amidships; about the transverse axis through the AP m⁴
ii; jj index of an ordinate; index of a waterline or of a vertex of a polygon –
kk station number, used as a lever in units of hh –
ll length of the tracer arm of a planimeter m
MM first moment of a plane area about an axis m³
mim_i; wiw_i, vjv_j multiplier (weight written as a small number with a common factor outside); weight in xx and in zz –; m
NN number of vertices of a polygon –
nn number of intervals; number of ordinates of a Tchebycheff or Gauss rule –
pp order of a rule: its error falls as hph^p –
QQ, QTQ_T, QSQ_S, QhQ_h, Q2hQ_{2h} value given by a rule; by the trapezoidal rule and Simpson’s rule; with spacing hh and 2h2h as the integral
RR bilge radius m
rr, ψ\psi radius from a pole and its angle below the horizontal through the pole m, rad
ss half-length of the base of a Tchebycheff or Gauss rule m
uu, vv coordinates in a triangle of a polygon –
x*x^* an unknown point within the interval of integration, in the error formulae m
yiy_i ordinate: half-breadth, area or other integrand at xix_i m, m², …
YiY_i running integral: the approximation to ∫x0xifdx\int_{x_0}^{x_i} f\,dx as the integral
x‾\bar{x}, y‾\bar{y}, z‾\bar{z} coordinates of the centroid of a plane area m
α\alpha, β\beta weights of the outer and inner ordinates of the second rule m
η\eta variable of integration: a distance from the centreline or a height m
λ\lambda, ω\omega position, from the middle of the base, and weight of a two-ordinate Tchebycheff rule m
∇(z)\nabla(z) displacement volume up to the height zz m³

Corrections

Corrections to version 1.0, released on 3 November 2026, with their dates.

References

  1. Chapman, F. H. af. (1781). Traité de la construction des vaisseaux (H.-S. Vial du Clairbois, Trans.). Malassis. (Original work published 1775 as Tractat om Skepps-Byggeriet; public domain.) https://archive.org/details/bub_gb_KdnWSHfxqmUC Cited: ↑ translator's preface · ↑ ch. I, pp. 1–2 · ↑ translator's preface · ↑ ch. I, Section 1 · ↑ ch. I, Section 1 · ↑ ch. I, Section 4 · ↑ translator's preface · ↑
  2. Nowacki, H., & Ferreiro, L. D. (2003). Historical roots of the theory of hydrostatic stability of ships. In Proceedings of the 8th International Conference on the Stability of Ships and Ocean Vehicles (STAB 2003) (pp. 1–30). Escuela Técnica Superior de Ingenieros Navales. Cited: ↑ pp. 24–25 · ↑ p. 25
  3. O’Connor, J. J., & Robertson, E. F. (2005). Thomas Simpson. MacTutor History of Mathematics Archive, University of St Andrews. https://mathshistory.st-andrews.ac.uk/Biographies/Simpson/ Cited: ↑
  4. Attwood, E. L. (1899). Text-book of theoretical naval architecture. Longmans, Green, and Co. (Public domain.) Cited: ↑ p. 6 · ↑ p. 7 · ↑ p. 6 · ↑ p. 10 · ↑ pp. 13–14 · ↑ pp. 12–13 · ↑ pp. 65–71 · ↑ p. 54 · ↑ pp. 55–56 · ↑ pp. 64–71 · ↑ p. 18 · ↑ p. 7 · ↑ p. 64 · ↑ pp. 15–16 · ↑ pp. 171–172 and 177 · ↑ pp. 77–79 · ↑ · ↑ ch. I, Ex. 14 · ↑ ch. I, Ex. 26 · ↑ ch. I, Ex. 48 · ↑ ch. I, Ex. 29 · ↑ ch. II, Ex. 5 · ↑ ch. II, Ex. 3 · ↑ ch. III, p. 102 · ↑ pp. 160–162
  5. IMO. (1974). International Convention for the Safety of Life at Sea, 1974 (as adopted, 1 November 1974). International Maritime Organization. Cited: ↑ regs. III/6(a) and III/7
  6. Todd, F. H. (1963). Series 60: Methodical experiments with models of single-screw merchant ships (Report No. 1712). David Taylor Model Basin. https://apps.dtic.mil/sti/pdfs/AD0419990.pdf Cited: ↑ Table 3 · ↑ Fig. 11 · ↑ Fig. 11 · ↑ · ↑ Table 3
  7. Biran, A., & López-Pulido, R. (2014). Ship hydrostatics and stability (2nd ed.). Butterworth-Heinemann. Cited: ↑ Section 3.2.1, p. 81 · ↑ Section 3.3.1 · ↑ Section 3.6 · ↑ Section 3.2.1, p. 82 · ↑ Section 3.4 · ↑ Section 4.2 · ↑ Section 13.1, pp. 321–322 · ↑ Section 13.1, p. 321 · ↑ Section 13.7, p. 355
  8. Hamlin, N. A. (1988). Ship geometry. In E. V. Lewis (Ed.), Principles of naval architecture: Vol. I. Stability and strength (2nd rev., ch. I). Society of Naval Architects and Marine Engineers. Cited: ↑ Section 4.8, p. 26 · ↑ Section 4.4, p. 24 · ↑ Section 5.7, Table 7, p. 35 · ↑ Section 4.5, p. 25 · ↑ Section 4.11, p. 28 · ↑ Section 5.7, Table 7, p. 35 · ↑ Section 5.16, p. 43 · ↑ Section 4.10, pp. 27–28 · ↑ Section 4.2, p. 23 · ↑ Section 4.2, p. 23 · ↑ Section 4.4, p. 25 · ↑ Section 5.2, p. 32 · ↑ Section 5.2, p. 32 · ↑ Section 5.3, p. 34 · ↑ Section 6.1, p. 45 · ↑ Section 5.8, pp. 36–37 · ↑ Section 5.7, p. 36 · ↑ Section 5.9, pp. 37–38 · ↑ Section 4.7, Table 3, p. 26 · ↑ Section 4.9, pp. 26–27 · ↑ Section 4.12, pp. 28–30 · ↑ Section 4.14, p. 30 · ↑ Section 4.15, p. 31 · ↑ Section 4.14, p. 30 · ↑ Section 5.16, pp. 42–43
  9. Tupper, E. C. (2013). Introduction to naval architecture (5th ed.). Butterworth-Heinemann. Cited: ↑ ch. 3, p. 39 · ↑ ch. 3, pp. 37–38 · ↑ ch. 4, p. 55 · ↑ app. B, p. 419 · ↑ ch. 3, pp. 41–42 · ↑ ch. 3, pp. 42–43 · ↑ ch. 3, pp. 43–44 · ↑ ch. 3, p. 43
  10. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … SciPy 1.0 Contributors. (2020). SciPy 1.0: Fundamental algorithms for scientific computing in Python. Nature Methods, 17, 261–272. https://doi.org/10.1038/s41592-019-0686-2 Cited: ↑ · ↑
  11. Barrass, C. B., & Derrett, D. R. (2006). Ship stability for masters and mates (6th ed.). Butterworth-Heinemann. Cited: ↑ ch. 10
  12. ITTC. (2024a). ITTC dictionary of hydromechanics (Version 2024). International Towing Tank Conference. Cited: ↑ s.v. "Moment of area, second" · ↑ s.v. "Moments of inertia" · ↑ s.v. "waterplane inertia coefficients" · ↑ s.v. "waterplane inertia coefficients"
  13. ITTC. (2024b). ITTC symbols and terminology list (Version 2024). International Towing Tank Conference. Cited: ↑
  14. Biran, A. (2019). Geometry for naval architects. Butterworth-Heinemann. Cited: ↑ Section 3.5.2, p. 136 · ↑ Sections 3.5.3–3.5.7, pp. 137–146 · ↑ Section 3.8, pp. 164–165 · ↑ Section 3.8, pp. 163–169 · ↑ Section 3.10.1, p. 178 · ↑ Section 3.10.1, pp. 178–181 · ↑ Section 3.10.1, p. 178 · ↑ Section 3.10.1, pp. 178–179 · ↑ Section 3.10.1, pp. 181–182 · ↑ Section 3.9.1, p. 171
  15. Abramowitz, M., & Stegun, I. A. (Eds.). (1964). Handbook of mathematical functions with formulas, graphs, and mathematical tables (Applied Mathematics Series 55). National Bureau of Standards. Cited: ↑ Section 25.4 · ↑ Section 25.4 · ↑ Section 25.4
  16. IMO. (2007). Guidelines for the approval of stability instruments (MSC.1/Circ.1229, 11 January 2007). International Maritime Organization. Cited: ↑ annex, para. 4.6 · ↑ annex, paras. 4.2 and 4.3 · ↑ annex, Section 2 · ↑ annex, Section 3 · ↑ annex, para. 4.5 · ↑ annex, para. 4.6 · ↑ annex, para. 4.6 and table · ↑ annex, para. 4.1 · ↑ annex, para. 4.6 and table
  17. Letcher, J. S., Jr. (2009). The geometry of ships (J. R. Paulling, Ed.; Principles of Naval Architecture Series). Society of Naval Architects and Marine Engineers. Cited: ↑ Section 8.7, p. 37 · ↑ Section 3.5, p. 13
  18. IMO. (2020). International Code on Intact Stability, 2008 (2020 ed.). International Maritime Organization. (Includes the Explanatory Notes, MSC.1/Circ.1281.) Cited: ↑ Part B, para. 4.1.6.2.3.4
  19. Robert McNeel & Associates. (n.d.). AttachGHSData (Rhino 7 help). Retrieved October 7, 2026, from https://docs.mcneel.com/rhino/7/help/en-us/commands/attachghsdata.htm Cited: ↑
  20. Orca3D. (2020, October 22). New Orca3D version 2.0.19 available [Release notes, including version 2.0.18]. Retrieved October 10, 2026, from https://orca3d.com/blogs/news/new-orca3d-version-2-0-19-available Cited: ↑
  21. Grinnaert, F., Billard, J.-Y., & Laurens, J.-M. (2015). Calcoque: A fully 3D ship hydrostatic solver. In Proceedings of the 12th International Conference on the Stability of Ships and Ocean Vehicles (STAB 2015) (pp. 203–212). https://shipstab.org/files/Proceedings/STAB/STAB2015/Papers/5.1-3-Grinnaert.pdf Cited: ↑
  22. Ancellin, M. (2026). Capytaine (Version 3.0.0) [Computer software]. https://capytaine.org (Apache-2.0; source code inspected for the hydrostatic integrals.) Cited: ↑
  23. Ancellin, M., & Dias, F. (2019). Capytaine: A Python-based linear potential flow solver. Journal of Open Source Software, 4(36), 1341. https://doi.org/10.21105/joss.01341 Cited: ↑
  24. LHEEA. (2023). Meshmagick (Version 3.4) [Computer software]. École Centrale de Nantes. https://github.com/LHEEA/meshmagick (GPL-3.0; source code inspected for the waterplane integrals.) Cited: ↑
  25. Maritime and Coastguard Agency. (2019). Damage stability: Alternative verification method for tankers. UK interpretations and procedures (MGN 611 (M)). https://assets.publishing.service.gov.uk/media/5d303f1ae5274a14f41d28a1/MGN611.pdf Cited: ↑ Annex A · ↑ Annex A · ↑ para. 7.3 and Annex A
  26. IMO. (2014). Amendments to the Annex of the Protocol of 1978 relating to the International Convention for the Prevention of Pollution from Ships, 1973 (Resolution MEPC.248(66), adopted 4 April 2014). International Maritime Organization. Cited: ↑
  27. IACS. (2020). Computer software for onboard stability calculations (UR L5, Rev. 4, June 2020). International Association of Classification Societies. Retrieved October 9, 2026, from https://iacs.s3.af-south-1.amazonaws.com/wp-content/uploads/2022/02/17101147/ur-l5rev4.pdf Cited: ↑ · ↑ Table 1, Note 2 · ↑ Table 1, Note 2
  28. NAPA. (2022, July 11). DNV awards NAPA’s next-generation passenger ship stability management solution type approval. Retrieved October 10, 2026, from https://www.napa.fi/news/dnv-awards-type-approval-for-napa-stability/ Cited: ↑
  29. Bureau Veritas. (n.d.). Veristar Onboard. Retrieved October 7, 2026, from https://marine-offshore.bureauveritas.com/veristar-onboard Cited: ↑
  30. Liu, C., Huang, L., Sun, X., & Yin, Y. (2022). A direct damage stability calculation method for an onboard loading computer. Journal of Marine Science and Engineering, 10(8), 1030. https://doi.org/10.3390/jmse10081030 Cited: ↑
  31. Dawson, E. (2014, May). Formation Design Systems’ Maxsurf Stability tank table generator: Verification and validation study (DSTO-TR-2968, AR-015-954). Defence Science and Technology Organisation. https://apps.dtic.mil/sti/pdfs/ADA615333.pdf Cited: ↑ pp. 2–5