Lawrence, I am impressed.
What I am studying right now in physics is position and velocity equations for oscillations. Position equation being x(t)= Acos(ωt + φ), and the velocity equation being v(t) = -ωAsin(ωt + φ). The velocity equation is just taking the derivative of the position equation...