y = cos(x^2)

Value of sum of all (signed) rectangle areas (integral value):