The inertia of the water surrounding a vibrating ship