integrate from 0 to 2pi ( pi*(0.5sgn(sin(x)) + 0.5)*sin(x) - 1 )