1 line
8.4 KiB
JavaScript
1 line
8.4 KiB
JavaScript
|
var property=[],unit=[],factor=[];property[0]="Acceleration",unit[0]=["Meter/sq.sec (m/sec^2)","Foot/sq.sec (ft/sec^2)","G (g)","Galileo (gal)","Inch/sq.sec (in/sec^2)"],factor[0]=[1,.3048,9.80665,.01,.0254],property[1]="Area",unit[1]=["Square meter (m^2)","Acre (acre)","Are","Barn (barn)","Hectare","Rood","Square centimeter","Square kilometer","Circular mil","Square foot (ft^2)","Square inch (in^2)","Square mile (mi^2)","Square yard (yd^2)"],factor[1]=[1,4046.856,100,1e-28,1e4,1011.71413184285,1e-4,1e6,5067075e-16,.09290304,64516e-8,2589988,.8361274],property[2]="Torque",unit[2]=["Newton-meter (N m)","Dyne-centimeter(dy cm)","Kgrf-meter (kgf m)","lbf-inch (lbf in)","lbf-foot (lbf ft)"],factor[2]=[1,1e-7,9.80665,.1129848,1.355818],property[3]="Electricity",unit[3]=["Coulomb (Cb)","Abcoulomb","Ampere hour (A hr)","Faraday (F)","Statcoulomb","Millifaraday (mF)","Microfaraday (mu-F)","Picofaraday (pF)"],factor[3]=[1,10,3600,96521.8999999997,333564e-15,96.5219,.0965219,965219e-10],property[4]="Energy",unit[4]=["Joule (J)","BTU (mean)","BTU (thermochemical)","Calorie (SI) (cal)","Calorie (mean)(cal)","Calorie (thermo)","Electron volt (eV)","Erg (erg)","Foot-pound force","Foot-poundal","Horsepower-hour","Kilocalorie (SI)(kcal)","Kilocalorie (mean)(kcal)","Kilowatt-hour (kW hr)","Ton of TNT","Volt-coulomb (V Cb)","Watt-hour (W hr)","Watt-second (W sec)"],factor[4]=[1,1055.87,1054.35,4.1868,4.19002,4.184,16021e-23,1e-7,1.355818,.04214011,2684077.3,4186.8,4190.02,36e5,42e8,1,3600,1],property[5]="Force",unit[5]=["Newton (N)","Dyne (dy)","Kilogram force (kgf)","Kilopond force (kpf)","Kip (k)","Ounce force (ozf)","Pound force (lbf)","Poundal"],factor[5]=[1,1e-5,9.80665,9.80665,4448.222,.2780139,.4535924,.138255],property[6]="Force / Length",unit[6]=["Newton/meter (N/m)","Pound force/inch (lbf/in)","Pound force/foot (lbf/ft)"],factor[6]=[1,175.1268,14.5939],property[7]="Length",unit[7]=["Meter (m)","Angstrom (A')","Astronomical unit (AU)","Caliber (cal)","Centimeter (cm)","Kilometer (km)","Ell","Em","Fathom","Furlong","Fermi (fm)","Foot (ft)","Inch (in)","League (int'l)","League (UK)","Light year (LY)","Micrometer (mu-m)","Mil","Millimeter (mm)","Nanometer (nm)","Mile (int'l nautical)","Mile (UK nautical)","Mile (US nautical)","Mile (US statute)","Parsec","Pica (printer)","Picometer (pm)","Point (pt)","Rod","Yard (yd)"],factor[7]=[1,1e-10,149598e6,254e-6,.01,1e3,1.143,.0042323,1.8288,201.168,1e-15,.3048,.0254,5556,5556,946055e10,1e-6,254e-7,.001,1e-9,1852,1853.184,1852,1609.344,308374e11,.004217518,1e-12,.0003514598,5.0292,.9144],property[8]="Light",unit[8]=["Lumen/sq.meter (Lu/m^2)","Lumen/sq.centimeter","Lumen/sq.foot","Foot-candle (ft-cdl)","Foot-lambert","Candela/sq.meter","Candela/sq.centimeter","Lux (lux)","Phot"],factor[8]=[1,1e4,10.76391,10.76391,10.76391,3.14159250538575,31415.9250538576,1,1e4],property[9]="Mass",unit[9]=["Kilogram (kgr)","Gram (gr)","Milligram (mgr)","Microgram (mu-gr)","Carat (metric)(ct)","Hundredweight (long)","Hundredweight (short)","Pound mass (lbm)","Pound mass (troy)","Ounce mass (ozm)","Ounce mass (troy)","Slug","Ton (assay)","Ton (long)","Ton (short)","Ton (metric)","Tonne"],factor[9]=[1,.001,1e-6,1e-9,2e-4,50.80235,45.35924,.4535924,.3732417,.02834952,.03110348,14.5939,.02916667,1016.047,907.1847,1e3,1e3],property[10]="Mass Flow",unit[10]=["Kilogram/second (kgr/sec)","Pound mass/sec (lbm/sec)","Pound mass/min (lbm/min)"],factor[10]=[1,.4535924,.007559873],property[11]="Density & Mass capacity",unit[11]=["Kilogram/cub.meter","Grain/galon","Grams/cm^3 (gr/cc)","Pound mass/cubic foot","Pound mass/cubic-inch","Ounces/gallon (UK,liq)","Ounces/gallon (US,liq)","Ounces (mass)/inch","Pound mass/gal (UK,liq)","Pound mass/gal (US,liq)","Slug/cubic foot","Tons (long,mass)/cub.yard"],factor[11]=[1,.01711806,1e3,16.01846,27679.91,6.236027,7.489152,1729.994,99.77644,119.8264,515.379,1328.939],property[12]="Power",unit[12]=["Watt (W)","Kilowatt (kW)","Megawatt (MW)","Milliwatt (mW)","BTU (SI)/hour","BTU (thermo)/second","BTU (thermo)/minute","BTU (thermo)/hour","Calorie (thermo)/second","Calorie (thermo)/minute
|