Natural-language reference to a physical constant.
Details
- "PhysicalConstant" can be used in Interpreter and related constructs, including deployed smart fields.
- Use of "PhysicalConstant" requires connectivity to the Wolfram Cloud.
Restriction Specifications
-
Restricted["PhysicalConstant", {{choice1,…}}] one among choices Restricted["PhysicalConstant", entityclass] one among the physical constants of entityclass
Interpretation
- "PhysicalConstant" yields an Entity of type "PhysicalConstant".
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Interpret "speed of light" as a physical constant:
In[1]:=1

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-rae2nv
Out[1]=1

Obtain the corresponding value in standard units:
In[2]:=2

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-brk6ox
Out[2]=2

Interpret "planck's constant" as a physical constant:
In[1]:=1

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-zkgcnq
Out[1]=1

Obtain the corresponding numerical value in standard units:
In[2]:=2

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-pw1fig
Out[2]=2

Restrict to physical constants in a class:
In[1]:=1

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-qxzu6x
Out[1]=1

Possible Issues (1)Common pitfalls and unexpected behavior
A failure is returned if no physical constant interpretation exists with the specific restriction:
In[1]:=1

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-dc77vi
Out[1]=1

If a physical constant satisfying the given restriction exists, it is returned:
In[2]:=2

✖
https://wolfram.com/xid/0br8dru3e1b5n4k5ivgehfar-q7x8s8
Out[2]=2
