Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Interactive question in notebooks

When trying to find some solution to the double integral problem and poking around with Sage (4.7.2), I stumbled upon this behavior:

x,y,u,v,p,k=var('x,y,u,v,p,k')
integrate(x+y^k, y)

output (resembles maxima interaction):

Traceback (click to the left of this block for traceback)
...
Is  k+1  zero or nonzero?

How can I answer to this (with nonzero)?

Interactive question in notebooks

When trying to find some solution to the double integral problem and poking around with Sage (4.7.2), I stumbled upon this behavior:

x,y,u,v,p,k=var('x,y,u,v,p,k')
integrate(x+y^k, y)

output (resembles maxima interaction):

Traceback (click to the left of this block for traceback)
...
Is  k+1  zero or nonzero?

How can I answer to this (with nonzero)?

Update: I accept @god.one solution below as there seems no way as for now to interactively answer those maxima questions.

Interactive question in notebooks

When trying to find some solution to the double integral problem and poking around with Sage (4.7.2), I stumbled upon this behavior:

x,y,u,v,p,k=var('x,y,u,v,p,k')
integrate(x+y^k, y)

output (resembles maxima interaction):

Traceback (click to the left of this block for traceback)
...
Is  k+1  zero or nonzero?

How can I answer to this (with nonzero)?

Update: Update: I accept @god.one solution below as there seems no way as for now to interactively answer those maxima questions.