Language-Farnsworth
view release on metacpan or search on metacpan
lib/Language/Farnsworth/Units/Standard.pm view on Meta::CPAN
electronvolt := eV; // when it is accelerated through 1 V
lightyear := c 365.25 day; // The 365.25 day year is specified in
// NIST publication 811
ly := lightyear;
lightsecond := c s;
lightminute := c min;
parsec := au radian / arcsec; // Unit of length equal to distance
pc := parsec; // from the sun to a point having
// heliocentric parallax of 1
// arcsec (derived from parallax
// second) The formula should use
// tangent, but the error is about
// 1e-12.
rydberg := h c Rinfinity; // Rydberg energy
crith := 0.089885 gram; // The crith is the mass of one
// liter of hydrogen at standard
// temperature and pressure.
amagatvolume := molarvolume;
amagat := mol/amagatvolume; // Used to measure gas densities
lorentz := bohrmagneton / (h c);// Used to measure the extent
// that the frequency of light
lib/Language/Farnsworth/Units/Standard.pm view on Meta::CPAN
gasoline_density := 0.694 g / cm^3; //Density at 300K, according to, http://wiki.answers.com/Q/How_does_temperature_affect_the_density_of_gasoline_or_petrol
natural_gas := 1.09e6 J/foot^3; // Energy in natural gas
naturalgas := natural_gas;
propane := 9.63e7 J/gallon; // Energy in liquid propane
kerosene := 1.42e8 J/gallon; // Energy in liquid kerosene
oil := 41.868 GJ/metricton;
coal := 18.20 GJ/metricton;
//
// Permeability: The permeability or permeance, n, of a substance determines
// how fast vapor flows through the substance. The formula W = n A dP
// holds where W is the rate of flow (in mass/time), n is the permeability,
// A is the area of the flow path, and dP is the vapor pressure difference.
//
// Alan's Veto: These are damned, damned sketchy, and are going to go.
// perm_0C := grain / (hr ft^2 inHg);
// perm_zero := perm_0C;
// perm_0 := perm_0C;
// perm := perm_0C;
//perm_23C := grain / (hr ft^2 in-Hg23C);
lib/Language/Farnsworth/Units/Standard.pm view on Meta::CPAN
// wire gauge systems to add to the confusion.
// The use of wire gauge is related to the manufacturing method: a metal rod is
// heated and drawn through a hole. The size change can't be too big. To get
// smaller wires, the process is repeated with a series of smaller holes.
// American Wire Gauge (AWG) or Brown & Sharpe Gauge appears to be the most
// important gauge. ASTM B-258 specifies that this gauge is based on geometric
// interpolation between gauge 0000, which is 0.46 inches exactly, and gauge 36
// which is 0.005 inches exactly. Therefore, the diameter in inches of a wire
// is given by the formula 1/200 92^((36-g)/39). Note that 92^(1/39) is close
// to 2^(1/6), so diameter is approximately halved for every 6 gauges. For the
// repeated zero values, use negative numbers in the formula. The same document
// also specifies rounding rules which seem to be ignored by makers of tables.
// Gauges up to 44 are to be specified with up to 4 significant figures, but no
// closer than 0.0001 inch. Gauges from 44 to 56 are to be rounded to the
// nearest 0.00001 inch. The table below gives 4 significant figures for all
// gauges.
//
// In addition to being used to measure wire thickness, this gauge is used to
// measure the thickness of sheets of aluminum, copper, and most metals other
// than steel, iron and zinc.
lib/Language/Farnsworth/Units/Standard.pm view on Meta::CPAN
wire49gauge := 0.001108 in;
wire50gauge := 0.0009863 in;
wire51gauge := 0.0008783 in;
wire52gauge := 0.0007822 in;
wire53gauge := 0.0006966 in;
wire54gauge := 0.0006203 in;
wire55gauge := 0.0005524 in;
wire56gauge := 0.0004919 in;
// Next we have the SWG, the Imperial or British Standard Wire Gauge. This one
// is piecewise linear, so it is not generated by a simple formula. It was used
// for aluminum sheets.
brwire0000000gauge := 0.500 in;
brwire000000gauge := 0.464 in;
brwire00000gauge := 0.432 in;
brwire0000gauge := 0.400 in;
brwire000gauge := 0.372 in;
brwire00gauge := 0.348 in;
brwire0gauge := 0.324 in;
brwire1gauge := 0.300 in;
lib/Language/Farnsworth/Units/Standard.pm view on Meta::CPAN
brwire49gauge := 0.0012 in;
brwire50gauge := 0.0010 in;
// The following is from the Appendix to ASTM B 258
//
// For example, in U.S. gage, the standard for sheet metal is based on the
// weight of the metal, not on the thickness. 16-gage is listed as approximately
// .0625 inch thick and 40 ounces per square foot (the original standard was
// based on wrought iron at .2778 pounds per cubic inch; steel has almost
// entirely superseded wrought iron for sheet use, at .2833 pounds per cubic
// inch). Smaller numbers refer to greater thickness. There is no formula for
// converting gage to thickness or weight.
//
// It's rather unclear from the passage above whether the plate gauge values are
// therefore wrong if steel is being used. Reference [15] states that steel is
// in fact measured using this gauge (under the name Manufacturers' Standard
// Gauge) with a density of 501.84 lb/ft3 = 0.2904 lb/in3 used for steel.
// But this doesn't seem to be the correct density of steel (.2833 lb/in3 is
// closer), and nobody else lists these values.
//
// This gauge was established in 1893 for purposes of taxation.
( run in 0.326 second using v1.01-cache-2.11-cpan-26ccb49234f )