Compute area under a curve sampled at three equally-spaced ordinates using Simpson’s first rule - the building block for every naval-architecture volume, area and centroid integration.
Formula
$$ A = \frac{h}{3}(y_0 + 4y_1 + y_2) $$
Symbol legend
| Symbol | Meaning | Unit | Source |
|---|---|---|---|
| $y_i$ | Ordinate at station i | m | body plan |
| $h$ | Common interval | m | station spacing |
Sources
- Bowditch Pub. 9 - Chap. 10.
- K.J. Rawson & E.C. Tupper - Basic Ship Theory Vol. 1.