play phryzby with physics

Heavier than Water

solved Dimensions

Q. Lead is 11.3ρrel=11.3 times as dense as water, and water is 1000 kg per cubic metreρw=1000kg/m³. What is the density of lead, in kilograms per cubic metre?

times11.3water density1000 kg/m³[M L⁻³]density?[M L⁻³]Dimensions
Inputs
ρrel
11.3
ρw
1000 kg/m³
Outputs
densityρ?

How it's solved

Solved with Dimensions

Given

  • ρrel=11.3
  • ρw=1000kg/m³

Find ρ.

Working
  1. density against waterρrel=ρρw
  2. 11.3=ρ1000
  3. ρ=11300kg/m³
  4. ρ≈1.13×104kg/m³to 3 significant figures
Conclusion

Relative density is a ratio with no unit: it says how many times denser than water a thing is, whatever units the densities are in.

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 :heavier_than_water do4  kind :numerical5  describes "Lead is %{times} times as dense as water, and water is %{water_density}. %{density}, in kilograms per cubic metre?"6  given times: 11.37  given water_density: "1000 kg/m3", as: "1000 kg per cubic metre"8  asks density: "What is the density of lead"9end
solution.rb
1require_relative "../questions/heavier_than_water"2require_relative "../science/units_and_measurement/dimensions"34solve :heavier_than_water, using: Dimensions do5  take times: :rho_rel, water_density: :rho_w6  take density: :rho7  answer find_value(:density, figures: 3)89  conclusion "Relative density is a ratio with no unit: it says how many times denser than water a " \10             "thing is, whatever units the densities are in."11end
playground.rb
1require_relative "../solutions/heavier_than_water"23play_with :heavier_than_water do4  title "Heavier than Water"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