Offline cache warming

MetaCAD Pocket — marine tools, offline

Voyage tools, calculations and sea service — on iPhone and Android.

Features and platform differences
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

LabelInputsFieldExpectedComputedΔ absΔ relPass
GZ at 5°angle_deg=5gz0.10710.1071-1.14e-5-0.01%✓
GZ at 10°angle_deg=10gz0.22870.2286-7.62e-5-0.03%✓
GZ at 15°angle_deg=15gz0.38030.3803-3.33e-5-0.01%✓
GZ at 20°angle_deg=20gz0.58040.5803-6.75e-5-0.01%✓
GZ at 25°angle_deg=25gz0.85170.85174.93e-50.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

By continuing to use this site, you accept essential cookies and anonymous analytics. Learn more