Re: Simplifying Sqrt[a^2*d^2] -> a*d
- To: mathgroup at smc.vnet.net
- Subject: [mg8351] Re: Simplifying Sqrt[a^2*d^2] -> a*d
- From: hans.steffani at e-technik.tu-chemnitz.de (Hans Steffani)
- Date: Tue, 26 Aug 1997 02:22:45 -0400
- Organization: University of Technology Chemnitz, FRG
- Sender: owner-wri-mathgroup at wolfram.com
carlos at mars.Colorado.EDU (Carlos A. Felippa) writes: >I want Sqrt[a^2*d^2] to be automatically simplified to a*d >wherever it appears in a very complex expression. >How do I do that in Mathematica? >The obvious rule expr/.{Sqrt[a^2*d^2]->a*d} does not work. For me the rule works. However, you may want to use PowerExpand[] . Hans Friedrich Steffani [cc,fup] -- Hans Friedrich Steffani Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz-Zwickau mailto:hans.steffani at e-technik.tu-chemnitz.de http://www.tu-chemnitz.de/~hfst/