5
$\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$
  • $\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 Dec 3 '12 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$ – Daniel Lichtblau Dec 3 '12 at 19:45
5
$\begingroup$

I would use UnitConvert:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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