C# Class UniversityPhysics.Thermodynamics.BasicThermodynamics.SubstanceEquations

Find basic substance properties using pV=nRT nR = Nk ... n = N k/R
Datei anzeigen Open project: Stuart88/University-Physics

Public Methods

Method Description
EnergyPerMolecule ( Temperature T ) : Energy
MeanFreePath ( double N, double r, double V ) : double

Finds the mean free path per particle for a set of N molecules in a given volume.

MolarMass ( double m ) : double

Finds molar mass of a substance

N_to_nMoles ( double N ) : double

Converts a numerical count of particles into their molar equivalent value

Pressure ( double V, double nMoles, Temperature T ) : double
RMS_Speed ( double m, Temperature T ) : double

Finds the root-mean-square speed of molecules at given temperature

Temperature ( double p, double V, double nMoles ) : Temperature
TotalTranslationalEnergy ( double n_Moles, Temperature T ) : Energy

Total translational kinetic energy of an ideal gas

Volume ( double p, double nMoles, Temperature T ) : double
m_Total ( double nMoles, double molarMass ) : Mass
n_Moles ( double p, double V, Temperature T ) : double

Method Details

EnergyPerMolecule() public static method

public static EnergyPerMolecule ( Temperature T ) : Energy
T Temperature
return Energy

MeanFreePath() public static method

Finds the mean free path per particle for a set of N molecules in a given volume.
public static MeanFreePath ( double N, double r, double V ) : double
N double Total number of molecules
r double Molecular radius of molecule
V double Available volume
return double

MolarMass() public static method

Finds molar mass of a substance
public static MolarMass ( double m ) : double
m double Mass of an individual molecule
return double

N_to_nMoles() public static method

Converts a numerical count of particles into their molar equivalent value
public static N_to_nMoles ( double N ) : double
N double Total number of particles
return double

Pressure() public static method

public static Pressure ( double V, double nMoles, Temperature T ) : double
V double
nMoles double
T Temperature
return double

RMS_Speed() public static method

Finds the root-mean-square speed of molecules at given temperature
public static RMS_Speed ( double m, Temperature T ) : double
m double Mass of indivudal molecule
T Temperature Temperature
return double

Temperature() public static method

public static Temperature ( double p, double V, double nMoles ) : Temperature
p double
V double
nMoles double
return Temperature

TotalTranslationalEnergy() public static method

Total translational kinetic energy of an ideal gas
public static TotalTranslationalEnergy ( double n_Moles, Temperature T ) : Energy
n_Moles double Number of moles
T Temperature Temperature in Kelvin
return Energy

Volume() public static method

public static Volume ( double p, double nMoles, Temperature T ) : double
p double
nMoles double
T Temperature
return double

m_Total() public static method

public static m_Total ( double nMoles, double molarMass ) : Mass
nMoles double
molarMass double
return Mass

n_Moles() public static method

public static n_Moles ( double p, double V, Temperature T ) : double
p double
V double
T Temperature
return double