See this example:

f(x)=(x+sin(3*x))*exp(-3*x*I)
g(x)=f(x).expand()
integral(f(x)-g(x),(x,0,2*pi))

The answer is I*pi, but it should be 0.

Many other examples (related to Fourier coefficients) give similar errors. 
For instance:

f(x)=(x+cos(x))*exp(-x*I)
g(x)=f(x).expand()
integral(f(x)-g(x),(x,0,2*pi))

The answer is -pi, and it should be 0.

It can be easily with sagemath 9.4 in https://sagecell.sagemath.org

Thanks in advance,

Yours,

Juan Luis Varona



-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/a0155623-07be-4b45-91e3-1c8ea3ee9b98n%40googlegroups.com.

Reply via email to