Determine an so that the trapezoidal rule will approximate the integral with an error satisfying .

The theoretical error bound for the Trapezoid rule is given by where is some point between and . It predicts that the desired accuracy will be achieved if the number of terms is at least .