play phryzby with physics

Air Squeezed Without Heat

solved AdiabaticProcess

Q. Air at 1 atmP0=1atm fills 8 LV0=8L of a diesel engine's cylinder. It is compressed so fast that no heat escapes, until its pressure is 32 atmP1=32atm. Taking γ for air as 1.4γ=1.4, what volume does it then fill, in litres?

air (start)P = 101325 PaV = 8×10⁻³ m³γ = 1.4air (end)P = 3.24×10⁶ PaV = ?
Inputs
P0
1 atm
V0
8 L
P1
32 atm
γ
1.4
Outputs
final volumeV1?

How it's solved

Solved with AdiabaticProcess

Given

  • P0=1atm
  • V0=8L
  • P1=32atm
  • γ=1.4

Find V1.

Working
  1. P0=1atm=101325Pa
  2. V0=8L=0.008m³
  3. P1=32atm=3.2424×106Pa
  4. pv to the gamma is kept(compressed)P0⋅V0γ=P1⋅V1γ
  5. 101325⋅0.0081.4=3.2424×106⋅V11.4
  6. V1=0.673L
  7. V1=6.72950096×10−4m³=0.672950096L
  8. V1≈0.673Lto 3 significant figures
Conclusion

With no heat let out the gas warms as it is squeezed, so its pressure climbs faster than the volume falls, and a 32-fold rise in pressure needs only a 12-fold fall in volume.

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 :air_squeezed_without_heat_to_thirty_two_atmospheres do4  kind :numerical5  describes "Air at %{starting_pressure} fills %{starting_volume} of a diesel engine's cylinder. It is compressed so " \6            "fast that no heat escapes, until its pressure is %{final_pressure}. Taking γ for air as %{gamma}, " \7            "%{final_volume}, in litres?"8  given starting_pressure: "1 atm"9  given starting_volume: "8 L"10  given final_pressure: "32 atm"11  given gamma: "1.4"12  asks final_volume: "what volume does it then fill"13end
solution.rb
1require_relative "../questions/air_squeezed_without_heat_to_thirty_two_atmospheres"2require_relative "../science/thermodynamics/adiabatic_process"34solve :air_squeezed_without_heat_to_thirty_two_atmospheres, using: AdiabaticProcess do5  objects :air6  air.goes(:compressed)78  take starting_pressure: air.initial_pressure, starting_volume: air.initial_volume9  take final_pressure: air.final_pressure, gamma: air.ratio_of_specific_heats1011  final_volume = air.final_volume12  answer final_volume:, in: "L", figures: 31314  conclusion "With no heat let out the gas warms as it is squeezed, so its pressure climbs faster than the " \15             "volume falls, and a 32-fold rise in pressure needs only a 12-fold fall in volume."16end
playground.rb
1require_relative "../solutions/air_squeezed_without_heat_to_thirty_two_atmospheres"23play_with :air_squeezed_without_heat_to_thirty_two_atmospheres do4  title "Air Squeezed Without Heat"5end
The laws it drew on
quantitywrittenunitswithinfrom
pressurePPa0 … ∞AdiabaticProcess
volumeVm³0 … ∞AdiabaticProcess
ratio of specific heatsγ——AdiabaticProcess
starting pressureP1Pa0 … ∞AdiabaticProcess
final pressureP2Pa0 … ∞AdiabaticProcess
starting volumeV1m³0 … ∞AdiabaticProcess
final volumeV2m³0 … ∞AdiabaticProcess
pressure of air at start of compressedP0Pa0 … ∞
volume of air at start of compressedV0m³0 … ∞
ratio of specific heats of airγ——
pressure of air at end of compressedP1Pa0 … ∞
volume of air at end of compressedV1m³0 … ∞
P1≡Pi(start of motion)
starting pressure
P2≡Pi(end of motion)
final pressure
V1≡Vi(start of motion)
starting volume
V2≡Vi(end of motion)
final volume
P0⋅V0γ=P1⋅V1γ
pv to the gamma is kept(compressed)