integrate from 0 to 2pi (abs(sin(x))*pi/2 - 1)dx