1require_relative "../physics"23question :a_second_at_eighteen do4 kind :numerical5 describes "A cyclist rides at a steady %{speed}. %{distance} in %{time}?"6 given speed: "18 km/h"7 given time: "1 s", as: "one second"8 asks distance: "How many metres do they cover"9end
1require_relative "../questions/a_second_at_eighteen"2require_relative "../science/units_and_measurement/dimensions"34solve :a_second_at_eighteen, using: Dimensions do5 take speed: :v, time: :t6 take distance: :l7 answer find_value(:distance, in: "m")89 conclusion "A speed changes units as a length over a time: the kilometre and the hour each " \10 "convert on their own."11end
1require_relative "../solutions/a_second_at_eighteen"23play_with :a_second_at_eighteen do4 title "A Second at 18 km/h"5end