Notice that the second derivative of the sine, or first derivative of the cosine is just the negative of the sine function.