Wolfram Language code: Quantity[19.25, "Kilometers"] + Quantity[13, "Miles"]Wolfram Language code: Quantity[20, "Feet"] / Quantity[2.3, "Seconds"] + Quantity[9, "Meters" / "Seconds"]
Arithmetic operations also handle unit cancellation automatically:
Wolfram Language code: N[Quantity[175, "Pounds"] / Quantity[100, "Kilograms"]]
Estimate the number of miles that can be traveled on a low tank of gas. IndependentUnit is used to represent an arbitrary unit with no relationship to other units within Quantity: