Tips to make this toy program faster?

About Physical constants, It is not so easy. They are not so constant! See NIST web page:
NIST constants.