1require_relative "../physics"23question :volume_of_a_plate do4 kind :numerical5 describes "The same plate, %{length} by %{breadth}, is %{thickness} thick. %{volume}, in cubic " \6 "metres, to the figures the measurements allow?"7 given length: "4.234 m"8 given breadth: "1.005 m"9 given thickness: "2.01 cm"10 asks volume: "What is its volume"11end
1require_relative "../questions/volume_of_a_plate"2require_relative "../science/units_and_measurement/dimensions"34solve :volume_of_a_plate, using: Dimensions do5 take length: :l, breadth: :b, thickness: :h6 take volume: :V_s7 answer find_value(:volume, figures: 3)89 conclusion "A product keeps the fewest significant figures of what went into it, so the thinnest " \10 "measurement, with the fewest, decides."11end
1require_relative "../solutions/volume_of_a_plate"23play_with :volume_of_a_plate do4 title "The Volume of a Plate"5end