One of my friends needed help witht this integral, and I just wanted to confirm that I did it right. I got π²-π/2+2, which seems rather random, but I found it very cool that π² appeared in the answer. Any replies are appreciated.

To see this working, head to your live site.

Search

I as well got π²-π/2+2.

A cool and intimidating integral but really pretty simple once you get it. Seperate each term in its own integral and you can easily see how you get the π². The integral of π is πx+C, and since π is your upper pound π*π-π*0 = π²