1require_relative "../physics"23question :ruled_out_by_dimensions do4 kind :scq5 describes "A body of mass m moves at speed v with acceleration a. Which of these could be its " \6 "kinetic energy K? Dimensions rule out all but one."78 option "K = m²v³", as: :mass_squared9 option "K = ½mv²", as: :half_mv_squared10 option "K = ma", as: :ma11 option "K = ½mv² + ma", as: :sum12end
1require_relative "../questions/ruled_out_by_dimensions"2require_relative "../science/units_and_measurement/dimensional_analysis"34solve :ruled_out_by_dimensions, using: DimensionalAnalysis do5 take mass_squared: K == m**2 * v**3,6 half_mv_squared: K == m * v**2 / 2,7 ma: K == m * a,8 sum: K == m * v**2 / 2 + m * a9 answer options.select { |o| consistent?(o.taken) }1011 conclusion "A formula without the dimensions of energy cannot be the kinetic energy, and a sum " \12 "of unlike quantities is no quantity at all. Dimensions alone could not tell the ½ " \13 "from any other number."14end
1require_relative "../solutions/ruled_out_by_dimensions"23play_with :ruled_out_by_dimensions do4 title "Ruled Out by Dimensions"5end