The oscillations of a bubble moving in an inviscid fluid