finding all solutions of a trig equation remember trigonometric functions are periodic