6
$\begingroup$

Is there a way to force Mathematica to UnitSimplify to a different unit? For example, I would like kg m^2/s^2 to simplify to N m but it always simplifies to J. Is there a way to specify a units preference?

$\endgroup$
2
  • $\begingroup$ Related: Implementing CGS unit system in Mathematica 9. Of course N m/J are the trickiest as one would often want to use both in the same calculation. $\endgroup$
    – Szabolcs
    Commented Dec 3, 2012 at 19:28
  • 3
    $\begingroup$ See notebook here for some ideas on how to do various conversions. For your example, the GroebnerBasis approach using Meters and Newtons as "lowest" variables can be adapted to do what you want. $\endgroup$ Commented Dec 3, 2012 at 19:45

1 Answer 1

5
$\begingroup$

I would use UnitConvert:

UnitConvert[Quantity[1, 
     ("Kilograms"*"Meters"^2)/
       "Seconds"^2], 
   Quantity["Newton Meters"]]
$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.