A calculation is made of the interaction of a beam of particles in an accelerator with the radio-frequency cavity that provides the accelerating mechanism of the machine. A Hamiltonian for synchrotron motion is employed that makes possible the simultaneous solution of Maxwell's equations and the Vlasov equation, so that a self-consistent distribution of particles in synchrotron phase space is determined. The effective voltage on the cavity due to the beam of charged particles is of the order of magnitude of the product of the total circulating current in the accelerator and the shunt impedance of the rf cavity. It has the net effect of producing a total voltage on the cavity which is both less than the applied voltage, and shifted in phase ...