Harmonic Motion Part 2 (calculus)