Worked solution
Write down the identity linking sine and cosine
This is the most important trig identity. It works for every angle, so we can use it to swap between sine and cosine.
Substitute the known value of sine
We put in sin theta = 3/5. Squaring 3/5 gives 9/25, which we deal with next.
Make cos-squared the subject
Taking 9/25 from a whole (25/25) leaves 16/25. We now just need the square root.
Take the square root
Since theta is acute (between 0 and 90 degrees) cosine is positive, so we keep only the positive root.