Small amplitude pressure wave in subsonic and supersonic bubble flows in convergent-divergent nozzles