integrate y = sin(x) from 0 to pi