Helmholtz resonance: the neck's air acts like a moving mass, while the air in the cavity acts like a spring.
fH = c/2π √(A / (V Leff))
Acoustic inertance and compliance: Ma = ρLeff/A and Ca = V/(ρc²), so fH = 1/(2π√(MaCa)).
Driven motion: x¨ + 2ζω0x˙ + ω0²x = F cos(ωdt). The model integrates this equation with fixed-step fourth-order Runge–Kutta.
What is held fixed: cavity volume (illustrative 750 mL), neck radius (illustrative 9 mm), physical neck length (illustrative 45 mm), and air density. The speed-of-sound slider changes c; in this idealised comparison, the bulk modulus changes consistently with c² = K/ρ.
Simplifications: the bottle is represented by a lumped acoustic mass and compliance. The model assumes small oscillations, a rigid bottle, a uniform cavity pressure, a single dominant mode, and a constant effective end correction Leff = L + 1.7r. Real bottles also have viscothermal losses, radiation losses, shape-dependent modes and temperature-dependent air properties.
Independent educational simulation; not affiliated with a bottle manufacturer, museum or scientific institution.