So say I wish to go from $$12\sin (t)+4\cos(t)$$
to the form $$A\cos (t+k)$$ by using the double angle formula I can get that $$\cos(k)=4$$ and $$\sin(k)=-12$$ and so we can find $A=\sqrt{4^2+(-12)^2}=4\sqrt {10}$.
But how can I find $k$ from this since $\arcsin(-12)$ is not defined. You can divide the two expressions and then use $\arctan$ to find $k$ but I'm not sure if this is correct?
Could anyone help me here. By the way the is a question in simple harmonic motion if that helps any.