p / | | sin(x) dx | / 0
Integral(sin(x), (x, 0, p))
The integral of sine is negative cosine:
Add the constant of integration:
The answer is:
/ | | sin(x) dx = C - cos(x) | /
1 - cos(p)
=
1 - cos(p)
1 - cos(p)
Use the examples entering the upper and lower limits of integration.