MathGroup Archive 2011

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

Search the Archive

Re: Units question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115518] Re: Units question
  • From: Alexei Boulbitch <alexei.boulbitch at iee.lu>
  • Date: Thu, 13 Jan 2011 03:27:45 -0500 (EST)

Hi, try this:

mySimplify[f_] := Simplify[f, Assumptions -> {Meter > 0, Second > 0}]

Sqrt[Meter^2/Second^2]*Second/Meter^2 // mySimplify

1/Meter

Have fun, Alexei


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,
--Ted


-- 
Alexei Boulbitch, Dr. habil.
Senior Scientist
Material Development

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 CONTERN
Luxembourg

Tel: +352 2454 2566
Fax: +352 2454 3566
Mobile: +49 (0) 151 52 40 66 44

e-mail: alexei.boulbitch at iee.lu

www.iee.lu

--

This e-mail may contain trade secrets or privileged, undisclosed or
otherwise confidential information. If you are not the intended
recipient and have received this e-mail in error, you are hereby
notified that any review, copying or distribution of it is strictly
prohibited. Please inform us immediately and destroy the original
transmittal from your system. Thank you for your co-operation.



  • Prev by Date: Re: Curl and Div problems
  • Next by Date: Re: CUDADot[] does not work with rectangular matrices
  • Previous by thread: Re: Units question
  • Next by thread: Re: Units question