play phryzby with physics

A Submarine Window

solved PressureAtDepth

Q. At a depth of 1000 mhs=1000m in an ocean, a submarine has a window of area 0.04 m²Aw=0.04m², and its interior is maintained at sea-level atmospheric pressurePw=Pg,s. The density of sea water is 1.03 × 10³ kg/m³ρ=1.03×103kg/m³; take g as 10 m/s²g=10m/s² and atmospheric pressure as 1.01 × 10⁵ PaPa=1.01×105Pa. What is the force acting on the window, in newtons?

P_a = 101000 PahwindowP_gPA = 0.04 m²F = ?ρ = 1030 kg/m³g = 10 m/s²
Inputs
hs
1000.00 m
Aw
0.04 m²
ρ
1030 kg/m³
g
10 m/s²
Pa
1.01e+05 Pa
Outputs
forceFw?

How it's solved

Solved with PressureAtDepth

Given

  • hs=1000m
  • Aw=0.04m²
  • ρ=1.03×103kg/m³
  • g=10m/s²
  • Pa=1.01×105Pa
  • Pw=Pg,s from “maintained at sea-level atmospheric pressure”

Find Fw.

Working
  1. pressure of the fluid above(submarine)Pg,s=ρ⋅g⋅hs
  2. Pg,s=1030⋅10⋅1000
  3. Pg,s=1.03×107Pa
  4. maintained at sea-level atmospheric pressurePw=Pg,s
  5. Pw=1.03×107
  6. Pw=1.03×107Pa
  7. pressure is force over area(window)Pw=FwAw
  8. 1.03×107=Fw0.04
  9. Fw=412000N
  10. Fw≈4.12×105Nto 3 significant figures
Conclusion

The air inside pushes back with the atmosphere's share, so what is left pressing on the window is the gauge pressure of the water over its area.

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_submarine_window do4  kind :numerical5  describes "At a depth of %{depth} in an ocean, a submarine has a window of area %{area}, and its interior is " \6            "maintained at sea-level atmospheric pressure. The density of sea water is %{density}; take g as " \7            "%{gravity} and atmospheric pressure as %{atmosphere}. %{force}, in newtons?"8  given depth: "1000 m"9  given area: "0.04 m2"10  given density: "1.03e3 kg/m3"11  given gravity: "10 m/s2"12  given atmosphere: "1.01e5 Pa"13  asks force: "What is the force acting on the window"14end
solution.rb
1require_relative "../questions/a_submarine_window"2require_relative "../science/mechanical_properties_of_fluids/pressure_at_depth"34solve :a_submarine_window, using: PressureAtDepth do5  objects :submarine, :window67  take depth: submarine.depth8  take area: window.area9  take density: rho10  take gravity: g11  take atmosphere: P_a1213  deduce_from "maintained at sea-level atmospheric pressure", window.pressure => submarine.gauge_pressure1415  force = window.thrust16  answer force:, in: "N", figures: 31718  conclusion "The air inside pushes back with the atmosphere's share, so what is left pressing on the " \19             "window is the gauge pressure of the water over its area."20end
playground.rb
1require_relative "../solutions/a_submarine_window"23play_with :a_submarine_window do4  title "A Submarine Window"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 submarinePsPa0 … ∞
thrust on submarineFsN—
area of submarineAsm²—
pressure of windowPwPa0 … ∞
thrust on windowFwN—
area of windowAwm²—
gauge pressure on groundPg,gPa—
depth of groundhgm—
gauge pressure on submarinePg,sPa—
depth of submarinehsm—
gauge pressure on windowPg,wPa—
depth of windowhwm—
mass of submarinemskg0 … ∞
mass of windowmwkg0 … ∞
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)
Ps=FsAs
pressure is force over area(submarine)
Pw=FwAw
pressure is force over area(window)
Pg,g=ρ⋅g⋅hg
pressure of the fluid above(ground)
Pg,s=ρ⋅g⋅hs
pressure of the fluid above(submarine)
Pg,w=ρ⋅g⋅hw
pressure of the fluid above(window)
Pg=Pa+Pg,g
pressure adds the surface s(ground)
Ps=Pa+Pg,s
pressure adds the surface s(submarine)
Pw=Pa+Pg,w
pressure adds the surface s(window)
Pw=Pg,s
maintained at sea-level atmospheric pressure