Equations involving cos, sin, sec, csc, cot