Is ys assumed to be larger than cz? What about zr and cz? You can use
the assume command
sage: assume(ys > cz)
sage: assume(zr > cz)
Then do
sage: sage: eqomgo.rhs().simplify_full().real()
-sqrt(ys - cz)/sqrt(zr - cz)
- Robert
>
> Hi Robert,
>
> On Dec 2, 5:50 am, Robert Bradshaw <rober...@math.washington.edu>
> wrote:
>
> > Are you saying you would like to pass in a domain when creating the
> > variables? Something like
> >
> > sage: var('omega', domain=RR)
>
> YES, that would be great.
This is on the todo list for the pynac symbolics:
http://wiki.sagemath.org/symbolics/pynac_todo
as
* symbol domains (ginac supports real, complex, integer)
I hope to start working on pynac again in a couple of weeks.
Cheers,
Burcin