Pi multiplied with a million/Approximation/Exercise

We want to find a rational approximation for the number , such that the deviation of the true value should be at most . How good has to be an approximation for such that we obtain the asked for approximation?