The motion of a charged particle in an electrodynamic chamber