Robustness Math Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
You estimate π3.14\pi \approx 3.14 instead of 3.141593.14159\ldots in the formula A=πr2A = \pi r^2 with r=5r = 5 cm. Compute the relative error.

Solution

  1. 1
    Exact: A=π(25)78.5398A = \pi(25) \approx 78.5398 cm².
  2. 2
    Approximate: A3.14×25=78.5A \approx 3.14 \times 25 = 78.5 cm².
  3. 3
    Absolute error: 78.539878.5=0.0398|78.5398 - 78.5| = 0.0398 cm².
  4. 4
    Relative error: 0.039878.53980.051%\frac{0.0398}{78.5398} \approx 0.051\%.

Answer

Relative error0.05%\text{Relative error} \approx 0.05\%
Robustness measures how sensitive a result is to approximations in its inputs. A tiny relative error in π\pi produces an equally tiny error in the computed area — the formula is robust to this approximation.

About Robustness

The property of a result, algorithm, or model remaining valid or approximately correct even when its assumptions are slightly violated.

Learn more about Robustness →

More Robustness Examples