It would probably be better to leave the equation "as is" and figure out a value of K from initial conditions. But then you simply have

The possible problem I see here is that is going to return a reference angle, so technically your solution will be

where n is an integer.

I suppose the source (as it were) of the differential equation will have to tell you how to handle that.

I'm not sure if this answers your question....

-Dan