MathGroup Archive 2011

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

Search the Archive

Re: Units question


On 1/11/11 at 7:23 PM, tsariysk at craft-tech.com (Ted Sariyski) wrote:

>Hi, Working with units I get correct result:

>Sqrt[Meter^2/Second^2] Second)/Meter^2

>How to tell Mathematica to simplify the result to Meter^-1?
>Simplify and FullSimplify doesn't do the job. Thanks in advance,

With the default Mathematica installation you can do:

In[1]:= Sqrt[Meter^2/Second^2] Second/Meter^2 // PowerExpand

Out[1]= 1/Meter

But from my viewpoint a better solution is to install the
package AutomaticUnits which can be found at:

<http://library.wolfram.com/infocenter/MathSource/7655/>

With that package installed, Mathematica does:

In[1]:= << AutomaticUnits`

In[2]:= Sqrt[Meter^2/Second^2] Second/Meter^2

Out[2]= m^-1



  • Prev by Date: Re: Units question
  • Next by Date: Re: Units question
  • Previous by thread: Re: Units question
  • Next by thread: Re: Units question