Module: Van::Units::Constants::MKS

Includes:
Van::Units
Defined in:
lib/van/units/constants/mks.rb

Overview

Constants in the MKS system (meters, kg, sec)

Large assortment of real world contants in standard m kg s types.

Synopsis

include Van::Units::Constants

MKS::SPEED_OF_LIGHT   #=> 2.99792458e8 m/s

Constant Summary collapse

SPEED_OF_LIGHT =

m / s

Math::Constants::MKS::SPEED_OF_LIGHT.m/s
GRAVITATIONAL_CONSTANT =

m^3 / kg s^2

Math::Constants::MKS::GRAVITATIONAL_CONSTANT.m**3/kg*s**2
PLANCKS_CONSTANT_H =

kg m^2 / s

Math::Constants::MKS::PLANCKS_CONSTANT_H.kg*m**2/s
PLANCKS_CONSTANT_HBAR =

kg m^2 / s

Math::Constants::MKS::PLANCKS_CONSTANT_HBAR.kg*m**2/s
VACUUM_PERMEABILITY =

kg m / A^2 s^2

Math::Constants::MKS::VACUUM_PERMEABILITY.kg*m/A**2*s**2
ASTRONOMICAL_UNIT =

m

Math::Constants::MKS::ASTRONOMICAL_UNIT.m
LIGHT_YEAR =

m

Math::Constants::MKS::LIGHT_YEAR.m
PARSEC =

m

Math::Constants::MKS::PARSEC.m
GRAV_ACCEL =

m / s^2

Math::Constants::MKS::GRAV_ACCEL.m/s**2
ELECTRON_VOLT =

kg m^2 / s^2

Math::Constants::MKS::ELECTRON_VOLT.kg*m**2/s**2
MASS_ELECTRON =

kg

Math::Constants::MKS::MASS_ELECTRON.kg
MASS_MUON =

kg

Math::Constants::MKS::MASS_MUON.kg
MASS_PROTON =

kg

Math::Constants::MKS::MASS_PROTON.kg
MASS_NEUTRON =

kg

Math::Constants::MKS::MASS_NEUTRON.kg
RYDBERG =

kg m^2 / s^2

Math::Constants::MKS::RYDBERG.kg*m**2/s**2
BOLTZMANN =

kg m^2 / K s^2

Math::Constants::MKS::BOLTZMANN.kg*m**2/K*s**2
BOHR_MAGNETON =

A m^2

Math::Constants::MKS::BOHR_MAGNETON.A*m**2
NUCLEAR_MAGNETON =

A m^2

Math::Constants::MKS::NUCLEAR_MAGNETON.A*m**2
ELECTRON_MAGNETIC_MOMENT =

A m^2

Math::Constants::MKS::ELECTRON_MAGNETIC_MOMENT.A*m**2
PROTON_MAGNETIC_MOMENT =

A m^2

Math::Constants::MKS::PROTON_MAGNETIC_MOMENT.A*m**2
MOLAR_GAS =

kg m^2 / K mol s^2

Math::Constants::MKS::MOLAR_GAS.kg*m**2/K*mol*s**2
STANDARD_GAS_VOLUME =

m^3 / mol

Math::Constants::MKS::STANDARD_GAS_VOLUME.m**3/mol
MINUTE =

s

Math::Constants::MKS::MINUTE.s
HOUR =

s

Math::Constants::MKS::HOUR.s
DAY =

s

Math::Constants::MKS::DAY.s
WEEK =

s

Math::Constants::MKS::WEEK.s
INCH =

m

Math::Constants::MKS::INCH.m
FOOT =

m

Math::Constants::MKS::FOOT.m
YARD =

m

Math::Constants::MKS::YARD.m
MILE =

m

Math::Constants::MKS::MILE.m
NAUTICAL_MILE =

m

Math::Constants::MKS::NAUTICAL_MILE.m
FATHOM =

m

Math::Constants::MKS::FATHOM.m
MIL =

m

Math::Constants::MKS::MIL.m
POINT =

m

Math::Constants::MKS::POINT.m
TEXPOINT =

m

Math::Constants::MKS::TEXPOINT.m
MICRON =

m

Math::Constants::MKS::MICRON.m
ANGSTROM =

m

Math::Constants::MKS::ANGSTROM.m
HECTARE =

m^2

Math::Constants::MKS::HECTARE.m**2
ACRE =

m^2

Math::Constants::MKS::ACRE.m**2
BARN =

m^2

Math::Constants::MKS::BARN.m**2
LITER =

m^3

Math::Constants::MKS::LITER.m**3
US_GALLON =

m^3

Math::Constants::MKS::US_GALLON.m**3
QUART =

m^3

Math::Constants::MKS::QUART.m**3
PINT =

m^3

Math::Constants::MKS::PINT.m**3
CUP =

m^3

Math::Constants::MKS::CUP.m**3
FLUID_OUNCE =

m^3

Math::Constants::MKS::FLUID_OUNCE.m**3
TABLESPOON =

m^3

Math::Constants::MKS::TABLESPOON.m**3
TEASPOON =

m^3

Math::Constants::MKS::TEASPOON.m**3
CANADIAN_GALLON =

m^3

Math::Constants::MKS::CANADIAN_GALLON.m**3
UK_GALLON =

m^3

Math::Constants::MKS::UK_GALLON.m**3
MILES_PER_HOUR =

m / s

Math::Constants::MKS::MILES_PER_HOUR.m/s
KILOMETERS_PER_HOUR =

m / s

Math::Constants::MKS::KILOMETERS_PER_HOUR.m/s
KNOT =

m / s

Math::Constants::MKS::KNOT.m/s
POUND_MASS =

kg

Math::Constants::MKS::POUND_MASS.kg
OUNCE_MASS =

kg

Math::Constants::MKS::OUNCE_MASS.kg
TON =

kg

Math::Constants::MKS::TON.kg
METRIC_TON =

kg

Math::Constants::MKS::METRIC_TON.kg
UK_TON =

kg

Math::Constants::MKS::UK_TON.kg
TROY_OUNCE =

kg

Math::Constants::MKS::TROY_OUNCE.kg
CARAT =

kg

Math::Constants::MKS::CARAT.kg
UNIFIED_ATOMIC_MASS =

kg

Math::Constants::MKS::UNIFIED_ATOMIC_MASS.kg
ATOMIC_MASS =

kg

Math::Constants::MKS::ATOMIC_MASS.kg
GRAM_FORCE =

kg m / s^2

Math::Constants::MKS::GRAM_FORCE.kg*m/s**2
POUND_FORCE =

kg m / s^2

Math::Constants::MKS::POUND_FORCE.kg*m/s**2
KILOPOUND_FORCE =

kg m / s^2

Math::Constants::MKS::KILOPOUND_FORCE.kg*m/s**2
POUNDAL =

kg m / s^2

Math::Constants::MKS::POUNDAL.kg*m/s**2
CALORIE =

kg m^2 / s^2

Math::Constants::MKS::CALORIE.kg*m**2/s**2
BTU =

kg m^2 / s^2

Math::Constants::MKS::BTU.kg*m**2/s**2
THERM =

kg m^2 / s^2

Math::Constants::MKS::THERM.kg*m**2/s**2
HORSEPOWER =

kg m^2 / s^3

Math::Constants::MKS::HORSEPOWER.kg*m**2/s**3
BAR =

kg / m s^2

Math::Constants::MKS::BAR.kg/m*s**2
STD_ATMOSPHERE =

kg / m s^2

Math::Constants::MKS::STD_ATMOSPHERE.kg/m*s**2
TORR =

kg / m s^2

Math::Constants::MKS::TORR.kg/m*s**2
METER_OF_MERCURY =

kg / m s^2

Math::Constants::MKS::METER_OF_MERCURY.kg/m*s**2
INCH_OF_MERCURY =

kg / m s^2

Math::Constants::MKS::INCH_OF_MERCURY.kg/m*s**2
INCH_OF_WATER =

kg / m s^2

Math::Constants::MKS::INCH_OF_WATER.kg/m*s**2
PSI =

kg / m s^2

Math::Constants::MKS::PSI.kg/m*s**2
POISE =

kg m^-1 s^-1

Math::Constants::MKS::POISE.kg*m**-1*s**-1                      # kg m^-1 s^-1
STOKES =

m^2 / s

Math::Constants::MKS::STOKES.m**2/s
FARADAY =

A s / mol

Math::Constants::MKS::FARADAY.A*s/mol
ELECTRON_CHARGE =

A s

Math::Constants::MKS::ELECTRON_CHARGE.A*s
GAUSS =

kg / A s^2

Math::Constants::MKS::GAUSS.kg/A*s**2
STILB =

cd / m^2

Math::Constants::MKS::STILB.cd/m**2
LUMEN =

cd sr

Math::Constants::MKS::LUMEN.cd*sr
LUX =

cd sr / m^2

Math::Constants::MKS::LUX.cd*sr/m**2
PHOT =

cd sr / m^2

Math::Constants::MKS::PHOT.cd*sr/m**2
FOOTCANDLE =

cd sr / m^2

Math::Constants::MKS::FOOTCANDLE.cd*sr/m**2
LAMBERT =

cd sr / m^2

Math::Constants::MKS::LAMBERT.cd*sr/m**2
FOOTLAMBERT =

cd sr / m^2

Math::Constants::MKS::FOOTLAMBERT.cd*sr/m**2
CURIE =

1 / s

Math::Constants::MKS::CURIE*1/1.s
ROENTGEN =

A s / kg

Math::Constants::MKS::ROENTGEN.A*s/kg
RAD =

m^2 / s^2

Math::Constants::MKS::RAD.m**2/s**2
SOLAR_MASS =

kg

Math::Constants::MKS::SOLAR_MASS.kg
BOHR_RADIUS =

m

Math::Constants::MKS::BOHR_RADIUS.m
VACUUM_PERMITTIVITY =

A^2 s^4 / kg m^3

Math::Constants::MKS::VACUUM_PERMITTIVITY.A**2*s**4/kg*m**3
NEWTON =

kg m / s^2

Math::Constants::MKS::NEWTON.kg*m/s**2
DYNE =

kg m / s^2

Math::Constants::MKS::DYNE.kg*m/s**2
JOULE =

kg m^2 / s^2

Math::Constants::MKS::JOULE.kg*m**2/s**2
ERG =

kg m^2 / s^2

Math::Constants::MKS::ERG.kg*m**2/s**2

Method Summary

Methods included from Van::Units

append_features, #const_missing, #method_missing, with_unit_converter

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Van::Units