On Wed, Apr 1, 2009 at 9:46 AM, mikkelbue <[email protected]> wrote:
>
> Can anyone tell me why this syntax will not work (I keep getting: "Is
> 40*sqrt(10)-x  positive, negative, or zero?")?
>
> h=maxima.de_solve('diff(y,x) = -0.05 * sqrt(y)', ['x','y'],[0,10])
> assume(40*sqrt(10)-x>0)
> y=var('y')
> solve(h,y)
>
> Regards, Mikkel

You have to tell *maxima* to make the assumption, not Sage:

h=maxima.de_solve('diff(y,x) = -0.05 * sqrt(y)', ['x','y'],[0,10])
maxima.assume(40*sqrt(10)-x>0)
y=var('y')
solve(h,y)

--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to