Constants and code cleanup.
parent
53acd23e60
commit
0042186bed
|
@ -1,7 +1,6 @@
|
|||
package DDG::Goodie::Constants;
|
||||
# ABSTRACT: Various Math and Physics constants.
|
||||
use DDG::Goodie;
|
||||
use YAML::XS qw( Load );
|
||||
use YAML::XS qw( LoadFile );
|
||||
|
||||
zci answer_type => "constants";
|
||||
|
|
|
@ -14,6 +14,17 @@
|
|||
'boltzmann constant' : 'the Stefan Boltzmann constant = 5.6704 10^-8 kg s^-3 K^-4'
|
||||
'c' : 'the speed of light = 299 792 458 m / s'
|
||||
'charge of electron' : 'elementary charge = 1.60217646 10^-19 coulombs'
|
||||
'electron charge' : 'elementary charge = 1.60217646 10^-19 coulombs'
|
||||
'electron mass' : 'electron mass = 9.10938188 10^-31 kilograms'
|
||||
'electron volt' : '1 electron volt = 1.60217646 10^-19 joules'
|
||||
'elementary charge' : 'elementary charge = 1.60217646 10^-19 coulombs'
|
||||
'epsilon_0' : 'electric constant = 8.85418782 10^-12 m^-3 kg^-1 s^4 A^2'
|
||||
'ev' : '1 electron volt = 1.60217646 10^-19 joules'
|
||||
'faraday constant' : 'Faraday constant = 96 485.3415 s A / mol'
|
||||
'fine structure constant' : 'fine-structure constant = 0.00729735253'
|
||||
'fine-structure constant' : 'fine-structure constant = 0.00729735253'
|
||||
'g' : 'gravitational constant = 6.67300 10^-11 m^3 kg^-1 s^-2'
|
||||
'gravitational constant' : 'gravitational constant = 6.67300 10^-11 m^3 kg^-1 s^-2'
|
||||
'h' : "Planck's constant = 6.626068 10^-34 m^2 kg / s"
|
||||
'hbar' : 'hbar = 1.05457148 10^-34 m^2 kg / s'
|
||||
'k' : 'Boltzmann constant = 1.3806503 10-23 m^2 kg s^-2 K^-1'
|
||||
|
@ -24,16 +35,7 @@
|
|||
'proton mass' : 'proton mass = 1.67262158 10^-27 kilograms'
|
||||
'q' : 'q = 1.60217733e^-19 coulomb'
|
||||
'radius mars' : 'radius of Mars = 3397 kilometers'
|
||||
'radius of earth' : 'radius of Earth = 6 378.1 kilometers'
|
||||
'radius of jupiter' : 'radius of Jupiter = 71 492 kilometers'
|
||||
'radius of mercury' : 'radius of Mercury = 2 439.7 kilometers'
|
||||
'radius of neptune' : 'radius of Neptune = 24 764 kilometers'
|
||||
'radius of pluto' : 'radius of Pluto = 1180 kilometers'
|
||||
'radius of saturn' : 'radius of Saturn = 60 268 kilometers'
|
||||
'radius of the earth' : 'radius of Earth = 6 378.1 kilometers'
|
||||
'radius of the sun' : 'radius of the sun = 695 500 kilometers'
|
||||
'radius of venus' : 'radius of Venus = 6 051.8 kilometers'
|
||||
'rydberg constant' : 'Rydberg constant = 10 973 731.6 m^-1'
|
||||
'speed of light' : 'the speed of light = 299 792 458 m / s'
|
||||
'speed of sound' : 'speed of sound at sea level = 340.29 m / s'
|
||||
'stefan-boltzmann constant' : 'the Stefan Boltzmann constant = 5.6704 10^-8 kg s^-3 K^-4'
|
||||
'stefan-boltzmann constant' : 'the Stefan Boltzmann constant = 5.6704 10^-8 kg s^-3 K^-4'
|
Loading…
Reference in New Issue