1 / | | (1.0 - cos(x)) dx | / 0
Integral(1.0 - cos(x), (x, 0, 1))
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
The integral of cosine is sine:
So, the result is:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | | (1.0 - cos(x)) dx = C - sin(x) + 1.0*x | /
1.0 - sin(1)
=
1.0 - sin(1)
1.0 - sin(1)
Use the examples entering the upper and lower limits of integration.