Ask Your Question

Revision history [back]

More physics constants in Sagemath

I can you following command to load physics constants h and c:

from scipy.constants import h, c h, c # show value of h and c

But, how can I load more physics constants such as Bohr magneton? Following command doesn't work,

from scipy.constants import Bohr magneton Bohr magneton # to show Bohr magneton

Thanks for help.

More physics constants in Sagemath

I can you following command to load physics constants h and c:

 from scipy.constants import  h, c
 h, c   # show value of h and c

c

But, how can I load more physics constants such as Bohr magneton? Following command doesn't work,

 from scipy.constants import  Bohr magneton
 Bohr magneton   # to show Bohr magneton

magneton

Thanks for help.

More physics constants in Sagemath

I can you following command to load physics constants h and c:

 from scipy.constants import  h, c
 h, c   # show value of h and c

But, how can I load more physics constants such as Bohr magneton? Following command doesn't work,

 from scipy.constants import  Bohr magneton
 Bohr magneton   # to show Bohr magneton

I load physics constant from https://docs.scipy.org/doc/scipy/reference/constants.html

Thanks for help.