Archimedes’ principle gives the upward force Fb = ρgA clamp(d, 0, H), where A = LB is the rectangular waterplane, d is keel depth below the undisturbed waterline, and H is hull height. Weight is mg; g = 9.81 m/s² (textbook approximation).
Taking downward as positive, m d″ = mg − Fb − c d′. The model uses c = 2ζ√(mρgA) and a semi-implicit Euler integrator, fixed at 1/240 s (numerical setting).
For partial immersion, equilibrium draft d* = m/(ρA), natural angular frequency ω₀ = √(ρgA/m), and damped period T = 2π/(ω₀√(1−ζ²)). An overloaded hull has no floating equilibrium.
Checks: integrate the pressure gradient in depth slices; solve equilibrium by bisection (or verify overload by integrating capacity); and time an independent fourth-order Runge–Kutta oscillator. The experiment measures two successive downward crossings of equilibrium in the live integrator.
Assumptions: sealed rigid rectangular pontoon, level water, vertical motion only, no added mass, waves, flooding, pitch or roll; linear drag is illustrative, not a seaworthiness model. The tank floor stops sinking in the display with an inelastic contact. Artwork is schematic. Not affiliated with any shipbuilder or maritime authority.
All displayed inputs and live readings are illustrative SI model quantities, not measurements of a real vessel. Formulae are textbook idealisations; numerical tolerances are illustrative.