play phryzby with physics

A Soap Bubble's Excess Pressure

solved SurfaceTension

Q. What is the excess pressure inside a bubble of soap solution of radius 5.00 mmr=5.00mm, given that the surface tension of soap solution at the temperature (20 °C) is 2.50 × 10⁻² N/mS=2.50×10−2N/m, in pascals?

r = 5×10⁻³ mbubbleS = 0.025 N/mΔP = ?
Inputs
r
5 mm
S
0.025 N/m
Outputs
excessΔP_s?

How it's solved

Solved with SurfaceTension

Given

  • r=5.00mm
  • S=2.50×10−2N/m

Find ΔP_s.

Working
  1. r=5.00mm=0.005m
  2. excess pressure in a soap bubble with two surfaces(bubble)ΔP_s=4⋅Sr
  3. ΔP_s=4⋅0.0250.005
  4. ΔP_s=20Pa
  5. ΔP_s≈20.0Pato 3 significant figures
Conclusion

A soap bubble is a thin film with two surfaces, inner and outer, so it squeezes the air inside twice as hard as a single surface of the same radius would.

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_soap_bubble_s_excess_pressure do4  kind :numerical5  describes "%{excess} of radius %{radius}, given that the surface tension of soap solution at the temperature " \6            "(20 °C) is %{tension}, in pascals?"7  given radius: "5.00 mm"8  given tension: "2.50e-2 N/m"9  asks excess: "What is the excess pressure inside a bubble of soap solution"10end
solution.rb
1require_relative "../questions/a_soap_bubble_s_excess_pressure"2require_relative "../science/mechanical_properties_of_fluids/surface_tension"34solve :a_soap_bubble_s_excess_pressure, using: SurfaceTension do5  objects :bubble67  take radius: bubble.radius8  take tension: S910  excess = bubble.excess_pressure_in_a_soap_bubble11  answer excess:, in: "Pa", figures: 31213  conclusion "A soap bubble is a thin film with two surfaces, inner and outer, so it squeezes the air " \14             "inside twice as hard as a single surface of the same radius would."15end
playground.rb
1require_relative "../solutions/a_soap_bubble_s_excess_pressure"23play_with :a_soap_bubble_s_excess_pressure do4  title "A Soap Bubble's Excess Pressure"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
surface tensionSN/m—SurfaceTension
radiusrm—SurfaceTension
excess pressureΔPPa—SurfaceTension
excess pressure in a soap bubbleΔP_sPa—SurfaceTension
pressure insidePiPa—SurfaceTension
slider lengthlm—SurfaceTension
pull of the filmFSN—SurfaceTension
pressure of groundPgPa0 … ∞
thrust on groundFgN—
area of groundAgm²—
pressure of bubblePPa0 … ∞
thrust on bubbleFN—
area of bubbleAm²—
gauge pressure on groundPg,gPa—
depth of groundhgm—
gauge pressure on bubblePgPa—
depth of bubblehm—
excess pressure of groundΔPgPa—
radius of groundrgm—
excess pressure of bubbleΔPPa—
radius of bubblerm—
excess pressure in a soap bubble of groundΔP_sgPa—
excess pressure in a soap bubble of bubbleΔP_sPa—
pressure inside of groundPi,gPa—
pressure inside of bubblePiPa—
pull of the film on groundFS,gN—
slider length of groundlgm—
pull of the film on bubbleFSN—
slider length of bubblelm—
mass of bubblemkg0 … ∞
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
ΔPb=2⋅Srb
excess pressure in a bubble in liquid
ΔP_sb=4⋅Srb
excess pressure in a soap bubble with two surfaces
Pi,b=Pb+ΔPb
pressure inside a bubble
FS,s=2⋅S⋅ls
a film pulls with both its faces
Pg=FgAg
pressure is force over area(ground)
P=FA
pressure is force over area(bubble)
Pg,g=ρ⋅g⋅hg
pressure of the fluid above(ground)
Pg=ρ⋅g⋅h
pressure of the fluid above(bubble)
Pg=Pa+Pg,g
pressure adds the surface s(ground)
P=Pa+Pg
pressure adds the surface s(bubble)
ΔPg=2⋅Srg
excess pressure in a bubble in liquid(ground)
ΔP=2⋅Sr
excess pressure in a bubble in liquid(bubble)
ΔP_sg=4⋅Srg
excess pressure in a soap bubble with two surfaces(ground)
ΔP_s=4⋅Sr
excess pressure in a soap bubble with two surfaces(bubble)
Pi,g=Pg+ΔPg
pressure inside a bubble(ground)
Pi=P+ΔP
pressure inside a bubble(bubble)
FS,g=2⋅S⋅lg
a film pulls with both its faces(ground)
FS=2⋅S⋅l
a film pulls with both its faces(bubble)