Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Look up PhysicalQuantity entities using units or unit dimensions
ResourceFunction["PhysicalQuantityLookup"][arg] returns the list of physical quantities which share the unit dimensionality of arg. | |
ResourceFunction["PhysicalQuantityLookup"][arg,type] returns physical quantities in the format specified by type. |
| “Entity" | "PhysicalQuantity" entities |
| “QuantityVariable" | QuantityVariable object |
| “QuantityVariableName" | string names |
Find all physical quantities with the same dimensions as ohms:
| In[1]:= |
| Out[1]= | ![]() |
Look for physical quantities that cover a quantity:
| In[2]:= |
| Out[2]= | ![]() |
Search by specifying unit dimensions:
| In[3]:= |
| Out[3]= |
Find the physical quantity corresponding to the gravitational constant:
| In[4]:= |
| Out[4]= |
Obtain the quantity variables for the physical quantities where available:
| In[5]:= |
| Out[5]= |
Get the names for a given quantity unit:
| In[6]:= |
| Out[6]= |
Construct custom variables for these names:
| In[7]:= |
| Out[7]= |
Obtain the dimensions of energy:
| In[8]:= |
| Out[8]= |
Examine all physical quantities with these dimensions:
| In[9]:= |
| Out[9]= | ![]() |
Graph and group the physical quantities according to their base physical quantity:
| In[10]:= | ![]() |
| Out[10]= | ![]() |
Canonical units for physical quantities may differ from the unit used to find them:
| In[11]:= |
| Out[11]= |
| In[12]:= |
| Out[12]= | ![]() |
Unit dimensions can be determined with UnitDimensions or QuantityVariableDimensions:
| In[13]:= |
| Out[13]= |
| In[14]:= |
| Out[14]= | ![]() |
| In[15]:= |
| Out[15]= | ![]() |
Combinations of units can be queried by specifying them in a Quantity:
| In[16]:= |
| Out[16]= | ![]() |
Some combinations of units or unit dimensions do not have an associated physical quantity:
| In[17]:= |
| Out[17]= |
Use the unit dimensions within a QuantityVariable to work with these sort of situations:
| In[18]:= |
| Out[18]= |
| In[19]:= |
| Out[19]= |
| In[20]:= | ![]() |
| Out[20]= | ![]() |
| In[21]:= |
| Out[21]= |
This work is licensed under a Creative Commons Attribution 4.0 International License