Back to validation suite
✓ PASS (5/5)wall_sided_gz· deterministic-formula
Kemp & Young Example 16 — Wall-Sided GZ Formula at 20° Heel
kemp-young-wallsided-ex16
Reference & standards
IMO IS Code 2008 (Resolution MSC.267(85)) §2.2ISO 16185:2000 §5.3
Tolerance
abs ≤ 0.001
rel ≤ 0.1%
Pure analytical formula GZ = sin θ · (GM + ½·BM·tan²θ). 0.001 tolerance reflects floating-point arithmetic precision. The textbook's printed value of 0.4968 at 20° is a known erratum (intermediate term mistaken for GZ); expected values here are recomputed from the formula as stated in the book.
RMSE per field
gz = 5.30e-5
FWER (Holm)
p = 2.17e-1
p_adj = 1.00e+0
consistent
Per-row comparison
| Label | Inputs | Field | Expected | Computed | Δ abs | Δ rel | Pass |
|---|---|---|---|---|---|---|---|
| GZ at 5° | angle_deg=5 | gz | 0.1071 | 0.1071 | -1.14e-5 | -0.01% | ✓ |
| GZ at 10° | angle_deg=10 | gz | 0.2287 | 0.2286 | -7.62e-5 | -0.03% | ✓ |
| GZ at 15° | angle_deg=15 | gz | 0.3803 | 0.3803 | -3.33e-5 | -0.01% | ✓ |
| GZ at 20° | angle_deg=20 | gz | 0.5804 | 0.5803 | -6.75e-5 | -0.01% | ✓ |
| GZ at 25° | angle_deg=25 | gz | 0.8517 | 0.8517 | 4.93e-5 | 0.01% | ✓ |
Reproducibility
- commit
- 457ea0bf562e11e9f660f6bffca9952fe22d7b49
- wasm sha256
- d7f872160591403115870e42…
- timestamp
- 2026-11-23T09:13:46.936Z
- runner
- v0.1.0
- node
- v22.22.0
- compute time
- 1ms
