Package: electronvolt
DemoImport module>>>fromelectronvoltimport*Rest mass of an electron>>>me9.1093837015e-31*kgRest energy of the electron, inSIunits>>>me*c**28.187105776823886e-14*m**2*s**-2*kgIn mega electronvolts>>>me*c**2/MeV0.5109989499961642This matches the electron rest energy onWikipedia.UsageInstall viapip install electronvolt.Alternatively, run this moduleonlineTypically loads within 3 minutes.Shift+enter to run a block of code. Run first block to initialize the calculator.Units and ConstantsNameSymbolValueUnitMath Constantspi3.141592653589793Euler's numbereuler2.718281828459045Metric Prefixesyotta1e+24zetta1e+21exa1e+18peta1e+15tera1e+12giga1e+09mega1000000kilo1000hecto100deca10deci0.1centi0.01milli0.001micro1e-06nano1e-09pico1e-12femto1e-15atto1e-18zepto1e-21yocto1e-24Common Prefixeshundred100thousand1000million1000000billion1e+09trillion1e+12SI Base Unitsseconds1smeterm1mkilogramkg1kgampereA1AkelvinK1Kmolemol1molcandelacd1cdTimeminute60shour3600sday86400sweek604800syear31557600smillisecondms0.001smicrosecondus1e-06snanosecondns1e-09sLengthkilometerkm1000mdecimeterdm0.1mcentimetercm0.01mmillimetermm0.001mmicrometerum1e-06mnanometernm1e-09mpicometerpm1e-12mfemtometerfm1e-15mFrequencyhertzHz1s-1kilohertzkHz1000s-1megahertzMHz1000000s-1gigahertzGHz1e+09s-1terahertzTHz1e+12s-1Classical Mechanicsgravitational accelerationg9.80665ms-2newtonN1kgms-2pascalPa1kgm-1s-2jouleJ1kgm2s-2wattW1kgm2s-3ThermodynamicsPlanck constanth6.62607015e-34kgm2s-1reduced Planck constanthbar1.05457181765e-34kgm2s-1Avogadro constantNA6.02214076e+23mol-1Boltzmann constantkB1.380649e-23kgm2s-2K-1ideal gas constantR8.31446261815324kgmol-1K-1m2s-2ElectromagnetismcoulombC1sAvoltV1kgA-1m2s-3faradF1kg-1A2m-2s4Ohm1kgA-2m2s-3teslaT1kgA-1s-2weberWb1kgm2s-2A-1henryH1kgA-2m2s-2speed of lightc299792458ms-1vacuum magnetic permeabilitymu01.25663706212e-06kgA-2ms-2vacuum electric permittivityepsilon08.8541878128e-12kg-1m-3s4A2Coulomb constantk8987551792.26078kgm3s-4A-2elementary chargee1.602176634e-19sAImperial Unitsinch ('in' is a python keyword)in_0.0254mfootft0.3048myardyd0.9144mmilemi1609.344macre4046.8564224m2nautical mileNM1852mknotkn0.514444444444445ms-1US gallongal0.003785411784m3pound-masslb0.45359237kgpound-forcelbf4.4482216152605kgms-2slug14.59390293720637kgblob175.1268352464764kgCommon Unitskilometer per hourkph0.277777777777778ms-1miles per hourmph0.44704ms-1gram0.001kgliterL0.001m3pound per square inchpsi6894.757kgm-1s-2kilowatt-hourkWh3600000kgm2s-2hectareha10000m2Atomic Physicselectron rest massme9.1093837015e-31kgproton massmp1.67262192369e-27kgneutron massmn1.67492749804e-27kgatomic mass unitu1.6605390666e-27kgatomic mass of hydrogenmH1.6735327848e-27kgatomic mass of heliummHe6.64647698905e-27kgQuantum MechanicsStefan-Boltzmann constantsigma5.67037441918e-08kgK-4s-3Bohr radiusa05.29177210906e-11mhydrogen ground state energyhground-2.1798723611e-18kgm2s-2fine-structure constantalpha0.007297352569278Rydberg constantRydberg10973731.56807162m-1Radioactive DecaysbecquerelBq1s-1curieCi3.7e+10s-1millicuriemCi37000000s-1microcurieuCi37000s-1Nuclear PhysicselectronvolteV1.602176634e-19kgm2s-2kilo-electronvoltkeV1.602176634e-16kgm2s-2mega-electronvoltMeV1.602176634e-13kgm2s-2giga-electronvoltGeV1.602176634e-10kgm2s-2tera-electronvoltTeV1.602176634e-07kgm2s-2electronvolt per speed of lighteVpc5.34428599268e-28kgms-1mega-electronvolt per cMeVpc5.34428599268e-22kgms-1electronvolt per c squaredeVpc21.78266192163e-36kgmega-electronvolt per c squaredMeVpc21.78266192163e-30kgCosmologygravitational constantG6.6743e-11kg-1m3s-2astronomical unitau149597870700mlight-yearly9460730472580800mparsecpc3.08567758149e+16mmegaparsecMpc3.08567758149e+22mHubble parameterH02.3333610884e-18s-1More DemoImportufloatfromuncertainties>>>fromuncertaintiesimportufloatRest mass of an electron>>>me=ufloat(9.1093837015,0.0000000028)*1e-31*kgRest energy of the electron>>>me*c**2(8.1871057768+/-0.0000000025)e-14*kg*s**-2*m**2This matches the electron rest energy on thesameWikipedia page.