Integral of sin(x) from 0 to pi?

Integral of sin(x) from 0 to pi?

Approach: -cos(x) from 0 to pi.

2. -(-1) - (-1) = 2.

Follow-up: What is the integral from 0 to 2*pi?

Key concepts: integration.