From the given data sets we shall obtain the answers as follows: <span>301 345 305 394 328 317 361 325 310 362 Re-arrange the data in ascending order: 301, 305, 310, 317,325, 328, 345, 361, 362, 394 from the above we see that:
The relative error is the absolute error divided by the absolute value of p. for an approximation p*, the relative error is
r = |p*-p|/|p|
we want r to be at most 10⁻³, thus
|p*-p|/|p| ≤ 10⁻³
|p*-p| ≤ |p|* 10⁻³
therefore, p*-p should lie in the interval [ - |p| * 10⁻³ , |p| * 10⁻³ ], and as a consecuence, p* should be in the interval [p - |p| * 10⁻³ , p + |p| * 10⁻³ ]