QuantityVariablePhysicalQuantity
QuantityVariablePhysicalQuantity[var]
returns the physical quantity associated with the quantity variable var.
QuantityVariablePhysicalQuantity[var,type]
returns the physical quantity using the format type.
Details
- QuantityVariablePhysicalQuantity returns the pq of QuantityVariable[var,pq].
- type can be "CanonicalName" or "Entity". "CanonicalName" returns the canonical name or combination of canonical names corresponding to the physical quantity, as in the single-argument case. "Entity" returns the corresponding physical quantity as a "PhysicalQuantity" Entity.
Examples
open allclose allBasic Examples (1)
Give the physical quantity of a QuantityVariable:
Scope (2)
The "CanonicalName" second argument works the same as the single-argument case:
The "Entity" second argument returns the corresponding "PhysicalQuantity" Entity:
Applications (1)
Properties & Relations (2)
Use FormulaData to find the physical quantities used by each QuantityVariable in a formula:
Use the ResourceFunction "PhysicalQuantityLookup" to find physical quantities and quantity variables from units and quantities:
Text
Wolfram Research (2014), QuantityVariablePhysicalQuantity, Wolfram Language function, https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html.
CMS
Wolfram Language. 2014. "QuantityVariablePhysicalQuantity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html.
APA
Wolfram Language. (2014). QuantityVariablePhysicalQuantity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html