Accelerator Physics: Example Problems with Solutions