Text this: Intermediate classical dynamics with applications to beam physics