% set_constants.m
% sets some fundamental physical constants
% values from http://physics.nist.gov/constants

% speed of light in vacuum
c = 299792458;
% magnetic constant
mu_0 = 4e-7*pi;
% electric constant
epsilon_0 = 1/(mu_0*c^2);
% characteristic impedance of vacuum
Z_0 = mu_0*c;
% Newtonian constant of gravitation
G = 6.6742e-11;
% Planck constant
h = 6.6260693e-34;
hbar = 1.05457168e-34;
% elementary charge
e = 1.60217653e-19;
% electron mass
m_e = 9.1093826e-31;
% proton mass 
m_p = 1.67262171e-27;
% fine-structure constant
alpha = 7.297352568e-3;
% Avogadro constant
N_A = 6.0221415e23;
% molar gas constant
R = 8.314472;
% Boltzmann constant
k_B = 1.3806505e-23;
% (unified) atomic mass unit
u = 1.66053886e-27;