MathGroup Archive 2003

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

Search the Archive

RE: Sqrt[R^2]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42742] RE: [mg42716] Sqrt[R^2]
  • From: "David Park" <djmp at earthlink.net>
  • Date: Thu, 24 Jul 2003 04:10:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Sqrt[R^2]
Simplify[%, R > 0]

Sqrt[R^2]
R

You can also use PowerExpand, but that does no checking is not always
correct.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Prechtl Josef [mailto:e9426270 at stud4.tuwien.ac.at]
To: mathgroup at smc.vnet.net

How can I instruct Mathematica when simplifying expressions to convert
expressions e.g. Sqrt[R^2] into R? i.e. only to restrict to the case
that the variable R is a positive real?

thank you in advance for any help!


  • Prev by Date: Calling Mathematica-4.2 from C Code.
  • Next by Date: v5 FrontEnd problem on Linux
  • Previous by thread: Re: Sqrt[R^2]
  • Next by thread: Re: Sqrt[R^2]