On Sunday, July 26, 2015 at 11:19:15 PM UTC-7, David Joyner wrote:
>
> sage: f = function("f", x)
> sage: integrate(diff(f,x)*cos(x)^2, x, -pi, pi)
>

It's abs_integrate again. In maxima:

 (%i1) load(abs_integrate);
(%o1) 
/usr/local/sage/sage-git/local/share/maxima/5.35.1/share/contrib/integration/abs_integrate.mac
(%i2) display2d:false;
(%o2) false
(%i3) integrate(cos(x)^2*diff(f(x),x),x);
diff: second argument must be a variable; found new\-var\-2172/2
#0: 
signum_int(q=cos(2*x)*'diff('realpart(f(x)),x,1)+sin(2*x)*'diff('imagpart(f(x)),x,1),x=x)
#1: 
extra_integrate(q=cos(2*x)*'diff('realpart(f(x)),x,1)+sin(2*x)*'diff('imagpart(f(x)),x,1),x=x)
 -- an error. To debug this try: debugmode(true);

(without abs_integrate, the integral is returned unchanged).

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to