private static double IsothermalProcessNewPressure(Gas gas, double newPressure) => gas.LastState.Pressure * gas.LastState.Volume / newPressure;
public Process(Gas gas, ProcessConfiguration configuration, double value) { Gas = gas; Configuration = configuration; Value = value; }
private static double IsobaricProcessNewPressure(Gas gas, double newTemperature) => gas.LastState.Volume * newTemperature / gas.LastState.Temperature;
private static double IsochoricProcessNewPressure(Gas gas, double newPressure) => newPressure * gas.LastState.Temperature / gas.LastState.Pressure;