Hi: I am trying to evaluate a double integral (since I cannot put LaTeX, the 'S' below stands for the integral sign:)
1 sqrt(x) S S 4xy - y^3 dy dx 0 x^3 This is what I put into sage: sage: var('x,y') (x, y) sage: f=4*x*y-y^3 sage: print f 3 4 x y - y sage: print integrate(integrate(f,y,x^3,x^0.5),y,0,1) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) /home/vkg/sage-3.1.1/<ipython console> in <module>() /home/vkg/sage-3.1.1/local/lib/python2.5/site-packages/sage/calculus/ functional. py in integral(f, *args, **kwds) 252 """ 253 try: --> 254 return f.integral(*args, **kwds) 255 except ValueError, err: 256 raise err /home/vkg/sage-3.1.1/local/lib/python2.5/site-packages/sage/calculus/ calculus.py in integral(self, v, a, b) 2523 raise ValueError, "Integral is divergent." 2524 else: -> 2525 raise TypeError, error 2526 2527 TypeError: Computation failed since Maxima requested additional constraints (use assume): Is x positive or negative? Am I doing something wrong here? Thanks much in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---