Derivatives of Sinusoidal Functions