Wolfram|Alpha

Computing...

Definite integral:

 integral_0^pi sin(x) dx = 2


Indefinite integral:

     integral sin(x) dx = -cos(x)+constant