From 0 to π the sine lies above the axis and the integral calculator prints 2. Ask for the full period, 0 to 2π, and the answer is 0: the second half sits below the axis and cancels the first exactly. Cosine over the same window is also 0, for a slightly different reason — it splits its time at π/2 and 3π/2.
This is the calculation behind 'the average value of a sine wave over one cycle is zero', and it is why alternating-current instruments quote RMS instead of the mean: the square of the wave never cancels, and heating follows the square. Read the 0 as a statement about signed area, not about size.
Answer
0
How to read it
∫ from 0 to 2π of sin(x), in radians. The same wave over the half period 0 to π gives 2.
Source
The definite integral of sine over a period is the standard worked example in any calculus course; signed area is the fundamental theorem of calculus, Newton and Leibniz (1660s–1680s)
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.