Skip to contents

Calculate the speed of sound in air using the method described in Cramer (1993) doi:10.1121/1.405827

Usage

soundSpeed_cramer1993(
  temp,
  temp.unit = "C",
  pressure,
  pressure.unit = "kPa",
  RH,
  MoleFracCO2 = 400^-6
)

Arguments

temp

Temperature

temp.unit

Temperature unit

pressure

Pressure

pressure.unit

Pressure unit

RH

Relative humidity

MoleFracCO2

Mole fraction of CO2

Value

Numeric value of the speed of sound in m/s

Examples

soundSpeed_cramer1993(14, pressure=3, RH=10)
#> [1] 342.682
soundSpeed_cramer1993(14, temp.unit="C", pressure=3, pressure.unit="kPa", RH=10)
#> [1] 342.682