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