Answer:
Step-by-step explanation:
Absolute error is the difference between the actual value and the measured value, so in this case:
Absolute error = |Actual value - Measured value|
= |20 - 31|
= 11 miles per gallon
Relative error is the ratio of the absolute error to the actual value, expressed as a percentage. In this case:
Relative error = (Absolute error / Actual value) x 100%
= (11 / 20) x 100%
= 55%
Therefore, the absolute error is 11 miles per gallon, and the relative error is 55%. This means that the measured value of 31 miles per gallon is 55% higher than the stated value of 20 miles per gallon.