integral of sinx over -pi/2, pi/2