Longitudinal Dynamics of the Nonadiabatic Regime on Alternating-Gradient Synchrotrons.