So the integral question is:
I thought I would substitute in x=cos(u) dx=-sin(u)du ...
Wolfram Alpha uses x=sin(u)
But ultimately, I end up with cot(u), and wolfram gets tan(u) ... Last time I checked, these two are not the same function
What went wrong?