#2468 domain=complex integrate error

open
nobody
None
5
2012-11-18
2012-09-09
No

domain = real: no problem:

(%i2) domain;
(%o2) real
(%i3) foo :((-%pi)/2+acos(y/l)+acos(x/l))/(2*%pi)$
(%i4) assume(l>0,x>0, x<l);
(%o4) [l > 0,x > 0,l > x]
(%i5) integrate(integrate(foo,y,0,sqrt(l^2 - x^2)),x,0,l);
(%o5) l^2/(4*%pi)

domain = complex: integrate error return:

(%i6) domain:complex;
(%o6) complex
(%i7) integrate(integrate(foo,y,0,sqrt(l^2 - x^2)),x,0,l);
expt: undefined: 0 to a negative exponent.
-- an error. To debug this try: debugmode(true);

(%i8) build_info();
(%o8) ?%build_info("5.28.0-2","2012-08-27 23:16:48","i686-pc-mingw32",
"GNU Common Lisp (GCL)","GCL 2.6.8")

(%i9) display2d:true;
(%o9) true

(%i10) build_info();
(%o10)
Maxima version: "5.28.0-2"
Maxima build date: "2012-08-27 23:16:48"
Host type: "i686-pc-mingw32"
Lisp implementation type: "GNU Common Lisp (GCL)"
Lisp implementation version: "GCL 2.6.8"

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks