estimate ∫10cos(x2)dx∫01cos(x2)dx using (a) the trapezoidal rule and (b) the midpoint rule, each with n=4n=4. give each answer correct to five decimal places.