WIL has several predefined floating point constants that can be handy for scientific and engineering scripts. Like all WIL constants, they start with the @-sign, and are case-insensitive.
@AMC Atomic Mass Constant 1.66043E-27
@AVOGADRO Avogadro's Constant 6.02252E23
@BOLTZMANN Boltzmann Entropy Constant 1.38054E-23
@DEG2RAD Degrees to Radians Conversion Constant 0.017453292519943 @e Base of natural or Napierian logarithms 2.718281828459045
@ELECTRIC Electric Field Constant 8.8541853E-12
@EULERS Eulers's Constant 0.5772156649015338
@FARADAY Faraday Constant 9.64870E4
@GFTSEC Gravitational Acceleration (feet/sec2) 32.174
@GMTSEC Gravitational Acceleration (meters/sec2) 9.80665
|
@GOLDENRATIO Golden Ratio 1.6180339887498948
@GRAVITATION Gravity Constant 6.670E-11
@LIGHTMPS Speed of Light (miles/sec) 186272
@LIGHTMTPS Speed of Light (meters/sec) 2.997925E8
@MAGFIELD Magnetic Field Constant 1.256637
@PARSEC Parsec (AU) 206.265
@PI Pi 3.141592653589793
@PLANCKERGS Planck's Constant (ergs) 6.6252E-27
@PLANCKJOULES Planck's Constant (joules) 6.6256E-34
@RAD2DEG Radians to Degrees Conversion Constant 57.29577951308232
|
§ Step by step guide to learning WIL § Notes
|