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
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
1require_relative "../solutions/the_same_error_twice"23play_with :the_same_error_twice do4 title "The Same Error Twice"5end