Approximate the integrals by the midpoint rule, the trapezoidal rule, and Simpson's rule with $n=10 .$ Then, find the exact value by integration and give the error for each approximation. Express your answers to the full accuracy given by the calculator or computer.
$$\int_{0}^{\pi / 4} \sec ^{2} x d x$$