2021-01-15 Webel: Darren Kelly: Demonstration of Quantity equivalence in Mathematica for SysML RTF

References:
- https://reference.wolfram.com/language/guide/Units.html
- https://reference.wolfram.com/language/tutorial/UnitsOverview.html

Example: Using  standard input form:

q1=Quantity[1,"Feet"]

q2=Quantity[0.3048,"Meter"]

CompatibleUnitQ[q1,q2]

UnitDimensions[q1]

UnitConvert[q1,"Meter"]

N[UnitConvert[q1,"Meter"]]

Mathematica can compare q1 and q2 despite different units:

q1==q2

Example: Using concise input form with units discovery:

l1=(Quantity[1000, "m", meters, "Meters"])

l2 = (Quantity[1, "km", kilometer, "Kilometers"])

l3 = (Quantity[1.1, "km", kilometers, "Kilometers"])

l1==l2

l1==l3