Plasma oscillations in a magnetic field