Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

Re: Units question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115491] Re: Units question
  • From: Erik Max Francis <max at alcyone.com>
  • Date: Wed, 12 Jan 2011 04:08:57 -0500 (EST)
  • References: <201101090720.CAA18019@smc.vnet.net> <igisan$pot$1@smc.vnet.net>

Ted Sariyski wrote:
> 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.

Use Convert:

In[1]:= << Units`

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

Out[2]= (Sqrt[Meter^2/Second^2] Second)/Meter^2

In[3]:= Convert[%, Meter^-1]

Out[3]= 1/Meter

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   My hand trembles, but my heart does not.
    -- Stephen Hopkins (on signing the US Declaration of Independence)


  • Prev by Date: Re: Units question
  • Next by Date: Re: Turning Derivative into Function (Newbie Question)
  • Previous by thread: Units question
  • Next by thread: Re: Units question