play phryzby with physics

The Same Error Twice

solved Uncertainty

Q. Two masses, 1.02 ga=1.02g and 9.89 g, are each weighed to within 0.01 gΔa=0.01g. What is the relative error in the lighter one?

a = 0.00102 ± 1×10⁻⁵δa = Δa / a = ?

How it's solved

Solved with Uncertainty

Given

  • a=1.02g
  • Δa=0.01g

Find δa.

Working
  1. a=1.02g=0.00102kg
  2. Δa=0.01g=1×10−5kg
  3. first error over firstδa=Δaa
  4. δa=1×10−50.00102
  5. δa=1.0%
Conclusion

The same error matters more in a smaller measurement: what counts is the error over the measurement.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :the_same_error_twice do4  kind :scq5  describes "Two masses, %{lighter} and 9.89 g, are each weighed to within %{error}. What is the relative " \6          "error in the lighter one?"7  given lighter: "1.02 g"8  given error: "0.01 g"910  option 0.0111  option 0.00112  option 0.113  option 0.0214end
solution.rb
1require_relative "../questions/the_same_error_twice"2require_relative "../science/units_and_measurement/uncertainty"34solve :the_same_error_twice, using: Uncertainty do5  take lighter: :a, error: :Delta_a6  answer find_value(:delta_a, in: "%", within: 0.001)78  conclusion "The same error matters more in a smaller measurement: what counts is the error over " \9             "the measurement."10end
playground.rb
1require_relative "../solutions/the_same_error_twice"23play_with :the_same_error_twice do4  title "The Same Error Twice"5end
The laws it drew on
quantitywrittenunitswithinfrom
first measureda——Uncertainty
error in firstΔa——Uncertainty
relative error in firstδa——Uncertainty
second measuredb——Uncertainty
error in secondΔb——Uncertainty
relative error in secondδb——Uncertainty
productp——Uncertainty
error in productΔp——Uncertainty
relative error in productδp——Uncertainty
totalt——Uncertainty
differenced——Uncertainty
least countlcm—Uncertainty
scale divisiondmm—Uncertainty
divisions read pastNd——Uncertainty
δa=Δaa
first error over first
δb=Δbb
second error over second
p=a⋅b
product of measurements
δp=δa+δb
relative errors add
Δp=δp⋅p
error from relative error
t=a+b
sum of measurements
d=a-b
difference of measurements
lc=dmNd
division shared out