This equation derives from physics force equations, and I have verified to make sure that the equation works. No actual physics pertains to this question. The part I need help on only requires math skills. Here is the equation:
$$\sin(\theta) - k\cos(\theta) = \frac{m_1}{m_2}$$
where $k$, $m_1$, and $m_2$ are variables, specifically the kinetic friction coefficient, mass one, and mass two respectively (irrelevant).
I have tried squaring both sides to then use double angle rules on the $2\sin\cos$ that yields, but all of my attempts have failed to simplify the equation further.
Could someone help me derive an equation for theta?
You might want to post the physics question which led you to this equation. It is likely there was a mistake in the derivation. Nonetheless,
$$\sin \theta - k \cos \theta = m_1/m_2 = \gamma$$ $$\sin \theta - k\sqrt{1-\sin^2 \theta} = \gamma$$ $$\sin \theta - \gamma = k \sqrt{1-\sin^2 \theta}$$ $$(\sin \theta -\gamma)^2 = k^2(1-\sin^2 \theta)$$ $$\sin^2 \theta - 2\sin \theta \gamma + \gamma^2 = k^2-k^2 \sin^2 \theta$$ $$(k^2+1) \sin^2 \theta +(-2 \gamma) \sin \theta + \gamma^2 -k^2=0$$ $$\sin \theta = \frac{2\gamma \pm \sqrt{4\gamma^2 - 4(k^2+1)(\gamma^2 -k^2)}}{2(k^2+1)}$$