density

Return density of ideal gas

Syntax

d = density(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record

Outputs (1)

d

Type: Density (kg/m³)

Description: Density