Group Abstract Group Abstract

Message Boards Message Boards

0
|
16.8K Views
|
10 Replies
|
1 Total Like
View groups...
Share
Share this post:

List all build-in physical constants in Mathematica 11.3?

Posted 7 years ago

Hi all

Is there a way to list all physical constants of the Quantity package? A list as provided in the deprecated https://reference.wolfram.com/language/Compatibility/tutorial/PhysicalConstants.html reference would be great!

Thanks

POSTED BY: Sascha Tayefeh
10 Replies
Posted 7 years ago

Ahh!!! Thank you very much, now I understand. That answers (indirectly) my question. Thank you!

POSTED BY: Sascha Tayefeh

Ah, you mean

In[3]:= Quantity["earth's gravity"]
Out[3]= Quantity[1, "StandardAccelerationOfGravity"]

then you can

In[9]:= QuantityForm[
 Quantity[1, "StandardAccelerationOfGravity"], "LongForm"]
Out[9]//QuantityForm= StringForm["`1` `2`", 1, "standard acceleration \
due to gravity on the surface of the earth"]

In Quantity it reads

Supported units include all those specified by NIST Special Publication 811.

And here it is

In[25]:= Take[
 EntityValue["PhysicalConstant", {"Name", "Value"}], {187, 187}]

During evaluation of In[25]:= Quantity::unkunit: Unable to interpret unit specification EddingtonConstant4.

During evaluation of In[25]:= Quantity::unkunit: Unable to interpret unit specification ElectronProtonElectricGravitationalForceRatio.

During evaluation of In[25]:= Quantity::unkunit: Unable to interpret unit specification (SpeedOfLight)^2/(MONDConstant).

During evaluation of In[25]:= General::stop: Further output of Quantity::unkunit will be suppressed during this calculation.

Out[25]= {{"standard acceleration of gravity", 
  Quantity[196133/20000, ("Meters")/("Seconds")^2]}}

For the sake of diversity it has four different textual representations

  • standard acceleration of gravity
  • StandardAccelerationOfGravity
  • standard acceleration due to gravity on the surface of the earth
  • g

see QuantityForm.

POSTED BY: Dent de Lion
POSTED BY: Dent de Lion
Posted 7 years ago
POSTED BY: Sascha Tayefeh
POSTED BY: Henrik Schachner
POSTED BY: Dent de Lion

Sascha,

The following is a link to download a Mathematica UnitsHelper application. Its main palette has drop down menus for all the Mathematica physical constants, also all the units sorted alphabetically or by magnitude and that will paste into your notebook. Also links to all the Mathematica units help pages and NIST pages. There are also extra routines for implementing reduced units such as atomic units or geometrical units.

UnitsHelper Download

Posted 7 years ago

Same question posted here.

POSTED BY: Rohit Namjoshi
POSTED BY: Jason Biggs
Anonymous User
Anonymous User
Posted 7 years ago
POSTED BY: Anonymous User
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard