play phryzby with physics

Ruled Out by Dimensions

solved DimensionalAnalysis

Q. A body of mass m moves at speed v with acceleration a. Which of these could be its kinetic energy K? Dimensions rule out all but one.

How it's solved

Solved with DimensionalAnalysis

Working
  1. K=m2⋅v3: one side is [M L² T⁻²] and the other [M² L³ T⁻³]
  2. K=m⋅v22: both sides are [M L² T⁻²]
  3. K=m⋅a: one side is [M L² T⁻²] and the other [M L T⁻²]
  4. K=m⋅v22+m⋅a: cannot add [M L T⁻²] to [M L² T⁻²]
Conclusion

A formula without the dimensions of energy cannot be the kinetic energy, and a sum of unlike quantities is no quantity at all. Dimensions alone could not tell the ½ from any other number.

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 :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
solution.rb
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
playground.rb
1require_relative "../solutions/ruled_out_by_dimensions"23play_with :ruled_out_by_dimensions do4  title "Ruled Out by Dimensions"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞DimensionalAnalysis
speed of lightcm/s—DimensionalAnalysis
lengthlm—DimensionalAnalysis
gravitygm/s²—DimensionalAnalysis
massmkg—DimensionalAnalysis
periodTs—DimensionalAnalysis
constantk——DimensionalAnalysis
power of lengthx——DimensionalAnalysis
power of gravityy——DimensionalAnalysis
power of massz——DimensionalAnalysis
speedvm/s0 … ∞DimensionalAnalysis
heighthm—DimensionalAnalysis
timets0 … ∞DimensionalAnalysis
accelerationam/s²—DimensionalAnalysis
starts0m—DimensionalAnalysis
starting speedv0m/s—DimensionalAnalysis
distancesm—DimensionalAnalysis
rest massm0kg—DimensionalAnalysis
kinetic energyKJ—DimensionalAnalysis
T=k⋅lx⋅gy⋅mz
period as powers
x+y=0
matching length
-2⋅y=1
matching time
z=0
matching mass
m⋅v22=m⋅g⋅h
energy conserved
s=s0+v0⋅t+a⋅t22
distance under constant acceleration