As we know in physics, power = torque * (angular velocity). But when I use UnitConvert
to convert a quantity expressing power/(angular velocity) into newton-meters, UnitConvert
fails.
How can they be incompatible units? How do I deal with it?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityAs we know in physics, power = torque * (angular velocity). But when I use UnitConvert
to convert a quantity expressing power/(angular velocity) into newton-meters, UnitConvert
fails.
How can they be incompatible units? How do I deal with it?
"Revolutions"
is not immediately recognized as a special unit. So, preprocess first with UnitSimplify[]
:
UnitConvert[UnitSimplify[Quantity[335, "Kilowatts"]/
Quantity[3000, "Revolutions"/"Minutes"],
UnityDimensions -> {"AngleUnit"}], "Newtons" "Meters"]
Quantity[3350/π, "Meters"*"Newtons"]