A Swimmer Under a Lake
Q. A swimmer is 10 mm below the surface of a lake. Taking the density of water as 1000 kg/m³kg/m³, g as 10 m/s²m/s² and atmospheric pressure as 1.01 × 10⁵ PaPa, what is the pressure on the swimmer, in pascals?
Inputs
Outputs
pressure?
How it's solved
Solved with PressureAtDepth
Given
- m
- kg/m³
- m/s²
- Pa
Find .
Working
- pressure of the fluid above(swimmer)
- Pa
- pressure adds the surface s(swimmer)
- Pa
- Pato 3 significant figures
Conclusion
The swimmer carries the air above the lake and the water above them too; ten metres of water weighs about as much as the whole atmosphere.
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.
1require_relative "../physics"23question :a_swimmer_under_a_lake do4 kind :numerical5 describes "A swimmer is %{depth} below the surface of a lake. Taking the density of water as %{density}, g as " \6 "%{gravity} and atmospheric pressure as %{atmosphere}, %{pressure}, in pascals?"7 given depth: "10 m"8 given density: "1000 kg/m3"9 given gravity: "10 m/s2"10 given atmosphere: "1.01e5 Pa"11 asks pressure: "what is the pressure on the swimmer"12end1require_relative "../questions/a_swimmer_under_a_lake"2require_relative "../science/mechanical_properties_of_fluids/pressure_at_depth"34solve :a_swimmer_under_a_lake, using: PressureAtDepth do5 objects :swimmer67 take depth: swimmer.depth8 take density: rho9 take gravity: g10 take atmosphere: P_a1112 pressure = swimmer.pressure13 answer pressure:, in: "Pa", figures: 31415 conclusion "The swimmer carries the air above the lake and the water above them too; ten metres of " \16 "water weighs about as much as the whole atmosphere."17endplayground.rb
1require_relative "../solutions/a_swimmer_under_a_lake"23play_with :a_swimmer_under_a_lake do4 title "A Swimmer Under a Lake"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| mass | kg | 0 … ∞ | Pressure | |
| gravity | m/s² | — | Pressure | |
| thrust | N | — | Pressure | |
| area | m² | — | Pressure | |
| pressure | Pa | 0 … ∞ | Pressure | |
| pressure at the surface | Pa | — | PressureAtDepth | |
| density | kg/m³ | 0 … ∞ | PressureAtDepth | |
| depth | m | — | PressureAtDepth | |
| gauge pressure | Pa | — | PressureAtDepth | |
| pressure of ground | Pa | 0 … ∞ | ||
| thrust on ground | N | — | ||
| area of ground | m² | — | ||
| pressure of swimmer | Pa | 0 … ∞ | ||
| thrust on swimmer | N | — | ||
| area of swimmer | m² | — | ||
| gauge pressure on ground | Pa | — | ||
| depth of ground | m | — | ||
| gauge pressure on swimmer | Pa | — | ||
| depth of swimmer | m | — | ||
| mass of swimmer | kg | 0 … ∞ |