integral (cos^1000000 x) dx, x=0.0005..pi/3