play phryzby with physics

A Second at 18 km/h

solved Dimensions

Q. A cyclist rides at a steady 18 km/hv=18km/h. How many metres do they cover in one secondt=1s?

speed18 km/h[L T⁻¹]time1 s[T]distance?[L]Dimensions
Inputs
v
18 km/h
t
1.00 s
Outputs
distancel?

How it's solved

Solved with Dimensions

Given

  • v=18km/h
  • t=1s

Find l.

Working
  1. v=18km/h=5m/s
  2. average speedv=lt
  3. 5=l1
  4. l=5.00 m
Conclusion

A speed changes units as a length over a time: the kilometre and the hour each convert on their own.

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 :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
solution.rb
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
playground.rb
1require_relative "../solutions/a_second_at_eighteen"23play_with :a_second_at_eighteen do4  title "A Second at 18 km/h"5end
The laws it drew on
quantitywrittenunitswithinfrom
speed of lightcm/s—Units
avogadro constantNAmol⁻¹—Units
lengthlm0 … ∞Units
massmkg—Units
timets0 … ∞Units
electric currentIA—Units
temperatureTK—Units
amount of substancenmol—Units
luminous intensityIvcd—Units
arc lengthsm—Units
radiusrm0 … ∞Units
plane angleθ——Units
areaAm²—Units
solid angleΩ——Units
light timetlights—Units
light distancedlightm—Units
number of entitiesN——Units
baselineBm—Units
distance awayDm—Units
parallax angleθp——Units
piπ—0 … ∞Dimensions
gravitational constantGN m² kg⁻²—Dimensions
volumeVm³—Dimensions
speedvm/s—Dimensions
accelerationam/s²—Dimensions
forceFN—Dimensions
densityρkg/m³—Dimensions
workWJ—Dimensions
surface areaSm²—Dimensions
heighthm—Dimensions
breadthbm—Dimensions
cylinder surface areaScm²—Dimensions
volume of a slabVsm³—Dimensions
relative densityρrel——Dimensions
density of waterρwkg/m³—Dimensions
linear magnificationml——Dimensions
image lengthlim—Dimensions
object lengthlom—Dimensions
image areaAim²—Dimensions
object areaAom²—Dimensions
volume of them allVNm³—Dimensions
molar volumeVmm³—Dimensions
room to spareRV——Dimensions
θ=sr
arc over radius
Ω=Ar2
area over radius squared
dlight=c⋅tlight
distance at light speed
N=n⋅NA
entities in moles
θp=BD
baseline over distance
V=l3
volume of a cube
v=lt
average speed
a=vt
average acceleration
F=m⋅a
newtons second law
ρ=mV
mass per volume
W=F⋅l
force through a distance
S=6⋅l2
surface of a cube
V=4⋅π⋅r33
volume of a sphere
Sc=2⋅π⋅r⋅(r+h)
surface of a cylinder
A=l⋅b
area of a rectangle
Vs=l⋅b⋅h
volume from three sides
ρrel=ρρw
density against water
ml=lilo
lengths magnified
ml2=AiAo
areas magnified
VN=N⋅V
atoms side by side
RV=VmVN
molar over atomic volume