play phryzby with physics

A Small Solid's Density

solved Dimensions

Q. A small solid of mass 5.74 gm=5.74g takes up 1.2 cm³V=1.2cm³. What is its density, in kilograms per cubic metre, to the figures the data allows?

mass5.74 g[M]volume1.2 cm³[L³]density?[M L⁻³]Dimensions
Inputs
m
5.74 g
V
1.2 cm³
Outputs
densityρ?

How it's solved

Solved with Dimensions

Given

  • m=5.74g
  • V=1.2cm³

Find ρ.

Working
  1. m=5.74g=0.00574kg
  2. V=1.2cm³=1.2×10−6m³
  3. mass per volumeρ=mV
  4. ρ=0.005741.2×10−6
  5. ρ=4783.33333kg/m³
  6. ρ≈4.8×103kg/m³to 2 significant figures
Conclusion

A quotient keeps the fewest significant figures of what went into it, so the least precise measurement decides the answer's.

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_small_solid_s_density do4  kind :numerical5  describes "A small solid of mass %{mass} takes up %{volume}. %{density}, in kilograms per " \6          "cubic metre, to the figures the data allows?"7  given mass: "5.74 g"8  given volume: "1.2 cm3"9  asks density: "What is its density"10end
solution.rb
1require_relative "../questions/a_small_solid_s_density"2require_relative "../science/units_and_measurement/dimensions"34solve :a_small_solid_s_density, using: Dimensions do5  take mass: :m, volume: :V6  take density: :rho7  answer find_value(:density, figures: 2)89  conclusion "A quotient keeps the fewest significant figures of what went into it, so the least " \10             "precise measurement decides the answer's."11end
playground.rb
1require_relative "../solutions/a_small_solid_s_density"23play_with :a_small_solid_s_density do4  title "A Small Solid's Density"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