Do the trigonometric functions preserve units?
Trigonometric functions don't "preserve" units. The expression under a trigonometric function must be dimensionless and so is the value of a trigonometric function.
Thus, C2 in your equations is in units of frequency: Hz or 1/s.
There is an error in one of the equations, perhaps a missing constant.