On Mon, May 18, 2009 at 3:48 PM, Alden <[email protected]> wrote:
>
> When I enter:
> assume(1-x^2>0)
> and then:
> integrate( integrate(x^2+y^2, y, -sqrt(1-x^2), sqrt(1-x^2)), x,-1,1)
> I still get the error:
> ..... <lots of stuff>.....
> TypeError: Error executing code in Maxima
> CODE:
>        sage191 : integrate(sage188,sage11,sage189,sage190)$
> Maxima ERROR:
>
> Defint: Lower limit of integration must be real.

It works fine for me:

wst...@sage:~$ sage
----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: assume(1-x^2>0)
sage: var('y')
sage: sage: assume(1-x^2>0)
sage: sage: var('y')
y
sage:  integrate( integrate(x^2+y^2, y, -sqrt(1-x^2), sqrt(1-x^2)), x,-1,1)

pi/2


Can you try in a fresh session?

William

--~--~---------~--~----~------------~-------~--~----~
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