How do I find the derivative of y=arctan(cos θ)?