I originally went with tanx, as seen in my first attempt,
obtained by dividing both sides by cosx
However, since division by cosx would result in worrying about positive and negatives divisors giving me reversals of the inequality sign, I just went with the second version of my solution