The answer is 0.05 or 5%. To arrive at this result, we apply the relative error formula:
relative error = |(actual - measured) / actual|.
Plugging in actual = 40 and measured = 42, we obtain
relative error = |(42-40) / 40| = 1/20 = 0.05.
Read more