[sage-support] Bug in integrate

2016-04-26 Thread Laurent Decreusefond
Hi everybody, here is the result of my session on Sage 7.2 beta0 (but I guess the problem is not specific to that version) > sage: var('t') > t > sage: integrate(exp(-2*t)/(1-exp(-2*t)),t) > 1/2*log(e^(-2*t) - 1) What does mean log(-1+e^(-2*t)) since the argument is negative ? -- You

[sage-support] Bug in integrate

2009-09-09 Thread Mani chandra
Hi, Take a look at the following output sage: f = sin(2*x)*sin(2*y) sage: g = f*exp(-I*(2*x)) sage: g.integrate(x, 0, 2*pi) -I*pi*sin(2*y) But... sage: f = sin(2*x)*sin(2*y) sage: g = f*exp(-I*(2*x))*exp(-I*2*y) sage: g.integrate(x, 0, 2*pi) TypeError: Error executing code in Maxima

[sage-support] bug with integrate

2009-06-26 Thread Loïc
Hello list, I found a problem with integrate, look at the following sequence: sage: integrate(sin(x)/(cos(x))^2,x) 1/cos(x) It's ok - Now I try to add an interval: sage: integrate(cos(x)/(sin(x))^2,x,pi/6,pi/4) ERROR: An unexpected error occurred while tokenizing