Re: Sqrt[R^2]
- To: mathgroup at smc.vnet.net
- Subject: [mg42733] Re: Sqrt[R^2]
- From: Yves Klett <yk at despammed.com>
- Date: Thu, 24 Jul 2003 04:10:39 -0400 (EDT)
- References: <bfl2q4$shh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Prechtl Josef schrieb:
> 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!
>
All right, with this one even I might be able to help:
Use an assumption like
Simplify[Sqrt[r^2], r > 0]
******
which should give r.
Good luck,
Yves