integrate theta^2 cos(theta^2) 1/2 2 theta dtheta from sqrt(pi/2) to sqrt(pi)