QuantityVariable

QuantityVariable[var,"pq"]

represents a variable with the label var and the corresponding physical quantity "pq".

QuantityVariable["pq"]

represents the unlabeled physical quantity "pq".

Details

  • Supported physical quantities include both physical and chemical quantities such as "Length", "ElectricCurrent", and "ChemicalPotential", as well as mathematical and financial quantities such as "Angle" and "Money".
  • Combinations of physical quantities are also supported.
  • pq can also be specified using a list of ordered dimension pairs (such as returned by QuantityVariableDimensions), indicating the magnitude of the pq in that dimension.

Examples

open allclose all

Basic Examples  (2)

A QuantityVariable represents a variable associated with a particular physical quantity:

In[1]:=
Click for copyable input
Out[1]=

QuantityVariable can be used to specify values in FormulaData:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Properties & Relations  (6)

See Also

QuantityVariableIdentifier  QuantityVariablePhysicalQuantity  QuantityVariableDimensions  QuantityVariableCanonicalUnit  FormulaData

Introduced in 2014
(10.0)
| Updated in 2017
(11.2)