>
> > I have the expression sin(th)**2 and know that sin(th)**2 > 0 and I want
> > sqrt( sin(th)**2) = sin(th).
>
What you can do to get some simplification is to replace `th` with a real
symbol:
>>> var('th', real=1)
th
>>> sqrt(sin(th)**2)
Abs(sin(th))
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.