You would need to know that sin(th) > 0. Otherwise, sqrt(sin(th)**2) could be -sin(th).
And there isn't a way to do this yet. Aaron Meurer On Mon, Mar 12, 2012 at 8:25 AM, Alan Bromborsky <[email protected]> wrote: > Can assumptions handle the following case - > > I have the expression sin(th)**2 and know that sin(th)**2 > 0 and I want > sqrt( sin(th)**2) = 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. > -- 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.
