MathGroup Archive 1997

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

Search the Archive

Re: Better Units Package?


I added the following lines to the Miscellaneous`Units` package to
convert to basic SI units.

BasicSI::usage = "BasicSI[expr] converts an expression to it's basic
SI units."

BasicSI[expr_] := expr //. $SIPrefixes //. $ToSI //. $ToFundamental

the following call resolves your problem then:
N[PowerExpand[BasicSI[Sqrt[Joule/Gram]]]]

"Rick A. Sprague" <sprague at egr.msu.edu> wrote:

>Hello,

>Just fooling around trying to find the average speed of a gas molecule
>using the kinetic theory of gases equation.  I cannot seem to get the
>following to convert:




  • Prev by Date: Re: 3D scatter plot
  • Next by Date: Re: Extracting functions from Solve
  • Previous by thread: Better Units Package?
  • Next by thread: Re: Fault in Mma 2.2.1 EPS?