Re: Simlifying Sqrt[x^2] type args.
- To: mathgroup at smc.vnet.net
- Subject: [mg24581] Re: Simlifying Sqrt[x^2] type args.
- From: Harald Giese <giese at ifm.uni-hamburg.de>
- Date: Tue, 25 Jul 2000 00:56:13 -0400 (EDT)
- Organization: Institut fuer Meereskunde, Universitaet Hamburg
- References: <8lgsmk$2d0@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Jaime Morales wrote:
>
> I am curious if there is a way to do symbolics in mathematica
> where objects like
>
> Sqrt[k^2 r^2 Sin[theta]^2]
>
> are set to
>
> k r Sin[theta]
>
Hi Jaime,
If k and r are real values >= 0, then you can try to specify this in
advance as for Simplify:
Simplify[Sqrt[k^2 r^2 Sin[theta]^2], {k >= 0, r >= 0}]
Hope that helps,
Harald
--
Harald Giese
Email: giese at ifm.uni-hamburg.de
Phone: +49 (0)40 42838 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg