On Aug 19, 2008, at 4:31 AM, Stan Schymanski wrote:

> I don't know if I have a mathematical blackout, but in my opinion, an
> inequality such as the below one should be squarable, as long as all
> variables are positive. Is this just not implemented, or am I trying
> something stupid? Thanks already for your help!
>
> Stan

It's not you, it's just that no one has implemented this yet. (Yes,  
it should work.)

>
> ----------------------------------------------------------------------
> | SAGE Version 3.1.1, Release Date: 2008-08-17                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> sage: var('bv rwat av lwat')
> (bv, rwat, av, lwat)
> sage: assume(bv>0,rwat>0,av>0,lwat>0)
> sage: eqn=bv < sqrt((bv^2*rwat + av*lwat)/rwat)
> sage: eqn^2
> ---------------------------------------------------------------------- 
> -----
> TypeError                                 Traceback (most recent call
> last)
>
> /Users/sschym/Downloads/Free/sage-3.1.1/<ipython console> in
> <module>()
>
> /Users/sschym/Downloads/Free/sage-3.1.1/integer.pyx in
> sage.rings.integer.Integer.__pow__ (sage/rings/integer.c:9508)()
>
> TypeError: unsupported operand type(s) for ** or pow():
> 'SymbolicEquation' and 'int'
> sage:
> >


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to