FUNCTION
pressure
Compute the pressure due to a volume of gas.
You're viewing an older version of this page (#718). View the current version.
Interface
#include <codecogs/engineering/thermodynamics/pressure.h>
using namespace Engineering::Thermodynamics;
Compute the pressure due to a change in volume of gas, based on the adiabatic expansion
Therefore
where γ is the gas constant, equal to 1.4 for air.
Example 1
The follow graph show the change pressure when an initial 2m\^3 air is expanded or contracted: \graph v1=2 p1=14.7 v2=0.1:4
Parameters
Returns
The units for pressure and volume can be interchanged with SI or Imperial systems, so long as the units used for p1 are the same as those in p2; and equally the units of v1 = v2. i.e. You are consistent.
Interactive Calculator
Computing…
Set a range above first to export a graph.