Hi Julieeeee;
I am getting that for a tangent also. How did you get yours?
For that integral, Maple gets the first answer too. Might be that an absolute value is wrapped around each term and they have both left it out...
When I do it by hand I do not get Alpha's answer either.