play phryzby with physics

Pascal's Wine Barometer

solved PressureAtDepth

Q. Toricelli's barometerPa=0Pa used mercury. Pascal duplicated it using French wine of density 984 kg/m³ρ=984kg/m³. Taking g as 9.8 m/s²g=9.8m/s², what is the height of the wine column for normal atmospheric pressure of 1 atmP=1atm, in metres?

P_a = 0 Pah = ?column footP_gP = 101325 Paρ = 984 kg/m³g = 9.8 m/s²
Inputs
ρ
984 kg/m³
g
9.8 m/s²
P
1 atm
Outputs
heighth?

How it's solved

Solved with PressureAtDepth

Given

  • ρ=984kg/m³
  • g=9.8m/s²
  • P=1atm
  • Pa=0Pa from “Toricelli's barometer”

Find h.

Working
  1. P=1atm=101325Pa
  2. pressure adds the surface s(column foot)P=Pa+Pg
  3. 101325=0+Pg
  4. Pg=101325Pa
  5. pressure of the fluid above(column foot)Pg=ρ⋅g⋅h
  6. 101325=984⋅9.8⋅h
  7. h=10.51 m
  8. h≈10.5mto 3 significant figures
Conclusion

Above the column is empty space, so the wine alone must press as hard as the atmosphere; wine is far lighter than mercury, so its column stands far taller.

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 :pascal_s_wine_barometer do4  kind :numerical5  describes "Toricelli's barometer used mercury. Pascal duplicated it using French wine of density %{density}. " \6            "Taking g as %{gravity}, %{height} for normal atmospheric pressure of %{atmosphere}, in metres?"7  given density: "984 kg/m3"8  given gravity: "9.8 m/s2"9  given atmosphere: "1 atm"10  asks height: "what is the height of the wine column"11end
solution.rb
1require_relative "../questions/pascal_s_wine_barometer"2require_relative "../science/mechanical_properties_of_fluids/pressure_at_depth"34solve :pascal_s_wine_barometer, using: PressureAtDepth do5  objects :column_foot67  take density: rho8  take gravity: g9  take atmosphere: column_foot.pressure1011  deduce_from "Toricelli's barometer", P_a => "0 Pa"1213  height = column_foot.depth14  answer height:, in: "m", figures: 31516  conclusion "Above the column is empty space, so the wine alone must press as hard as the atmosphere; " \17             "wine is far lighter than mercury, so its column stands far taller."18end
playground.rb
1require_relative "../solutions/pascal_s_wine_barometer"23play_with :pascal_s_wine_barometer do4  title "Pascal's Wine Barometer"5end
The laws it drew on
quantitywrittenunitswithinfrom
massmkg0 … ∞Pressure
gravitygm/s²—Pressure
thrustFN—Pressure
areaAm²—Pressure
pressurePPa0 … ∞Pressure
pressure at the surfacePaPa—PressureAtDepth
densityρkg/m³0 … ∞PressureAtDepth
depthhm—PressureAtDepth
gauge pressurePgPa—PressureAtDepth
pressure of groundPgPa0 … ∞
thrust on groundFgN—
area of groundAgm²—
pressure of column footPPa0 … ∞
thrust on column footFN—
area of column footAm²—
gauge pressure on groundPg,gPa—
depth of groundhgm—
gauge pressure on column footPgPa—
depth of column foothm—
mass of column footmkg0 … ∞
Ps=FsAs
pressure is force over area
Pg,p=ρ⋅g⋅hp
pressure of the fluid above
Pp=Pa+Pg,p
pressure adds the surface s
Pg=FgAg
pressure is force over area(ground)
P=FA
pressure is force over area(column foot)
Pg,g=ρ⋅g⋅hg
pressure of the fluid above(ground)
Pg=ρ⋅g⋅h
pressure of the fluid above(column foot)
Pg=Pa+Pg,g
pressure adds the surface s(ground)
P=Pa+Pg
pressure adds the surface s(column foot)