Previous Up Next

24.2.1  Notation of physical constants

If you want to use a physical constants inside Xcas, put its name between two characters _ (“underscore”). Do not confuse physical constants with symbolic constants; for example, e,π are symbolic constants and _c_,_NA_ are physical constants. The physical constants are in the Phys menu, Constant sub-menu, and table 24.3 gives the Constants Library:


_F_Faraday constant_h_Planck’s constant
_G_Gravitational constant_hbar_Dirac’s constant
_I0_Reference intensity_k_Boltzmann constant.
_NA_Avogadro’s number_kq_k/q (Boltzmann/electron charge)
_PSun_Power at the surface of the Sun_lambda0_Photon wavelength (ch/e)
_REarth_Radius of the Earth_lambdac_Compton wavelength
_RSun_Radius of the Sun_mEarth_Mass of the Earth
_R_Universal gas constant_me_Electron rest mass
_Rinfinity_Rydberg constant_mp_Proton rest mass
_StdP_Standard pressure_mpme_Quotient mp/me (proton mass/electron mass)
_StdT_Standard temperature_mu0_Permeability of vacuum
_Vm_Molar volume_muB_Bohr magneton
_a0_Bohr radius_muN_Nuclear magneton
_alpha_Fine structure constant_phi_Magnetic flux quantum
_angl_180 degree angle_q_Charge of an electron
_c3_Wien displacement constant_qe_Electron charge
_c_Speed of light in vacuum_qepsilon0_q· ε0 (electron charge*permittivity)
_epsilon0_Permittivity of vacuum_qme_Quotient q/me (charge/electron mass)
_epsilon0q_ε0/q (permittivity/electron charge)_rad_1 radian
_epsilonox_Dielectric constant of Silicon dioxide_sd_Duration of a sidereal day
_epsilonsi_Dielectric constant_sigma_Stefan-Boltzmann constant
_f0_Photon frequency (e/h)_syr_Duration of a sidereal year
_g_Acceleration of gravity_twopi_2 π
Table 24.3: Physical constants in Xcas

Example

To get the object representing the speed of light in vacuum, enter:

_c_
     
c           

Use the mksa command (see Section 24.1.3) to put this in terms of standard units:

mksa(_c_)
     
299792458.0 m s−1           

Previous Up Next