Re: Sqrt[R^2]
- To: mathgroup at smc.vnet.net
- Subject: [mg42770] Re: Sqrt[R^2]
- From: adam.smith at hillsdale.edu (Adam Smith)
- Date: Fri, 25 Jul 2003 05:08:18 -0400 (EDT)
- References: <bfl2q4$shh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Using Simplify[] with assumptions will do what you want. (Assuming you are using version 4 or above. In[2]:= Simplify[Sqrt[R^2],R>0] Out[2]= R Hope that helps. Adam Smith Prechtl Josef <e9426270 at stud4.tuwien.ac.at> wrote in message news:<bfl2q4$shh$1 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!