Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simplifying expressions containing units

  • To: mathgroup at smc.vnet.net
  • Subject: [mg19930] Re: Simplifying expressions containing units
  • From: "John M. Jowett" <John.Jowett at cern.ch>
  • Date: Wed, 22 Sep 1999 04:11:14 -0400
  • Organization: CERN
  • References: <7s3pqd$cnn@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Christian Gudrian wrote:
> 
> Hello!
> 
> Is it possible to simplify the expression
> 
> 4 Newton/2 Kilogram
> 
> to yield Meter/Second^2?
> 
> Mathematica just outputs
> 
> 2 Newton/Kilogram
> 
> Of course it is possible to Convert it using
> 
> Convert[%,Meter/Second^2],
> 
> but that's only possible, if I know, what's coming out at the end of the
> caculation. It would be nice if Mathematica itself would take care of using
> appropriate "versions" of the different derived SI-units.

I think many people have come across this limitation of the standard
Units package that comes with Mathematica (Version 3. at least, I
believe it may be improved for Version 4 but we haven't got that yet).  

We have extended the Units and PhysicalConstants package to produce a
package containing physical constants and units and a few new features
(palette, traditional symbols, a Plot function that deals with units,
...) to fill the gaps.  It was meant for use in particle accelerator
physics but would solve your problem.  Just apply the function
ToFundamentalSI to your expression.  See 

http://wwwslap.cern.ch/~jowett/Accelerator/ConstantsUnits.html

John Jowett


----------------------------------------------------------------------
My home page:    http://wwwslap.cern.ch/~jowett/
----------------------------------------------------------------------


  • Prev by Date: Re: Plot, Table.
  • Next by Date: Re: How to make Package?
  • Previous by thread: Re: Simplifying expressions containing units
  • Next by thread: Re:Units and dimensions