# Revision history [back]

sage: maxima('diff(f(x)^2,x)')
2*f(x)*'diff(f(x),x,1)

sage: from sympy import *
sage: x=Symbol('x')
sage: f=Function('f')
sage: diff(f(x)^2,x)
2*f(x)*Derivative(f(x), x)

sage: maxima('diff(f(x)^2,x)')
2*f(x)*'diff(f(x),x,1)

sage: from sympy import *
sage: x=Symbol('x')
sage: f=Function('f')
sage: diff(f(x)^2,x)
2*f(x)*Derivative(f(x), x)

Also:

sage: maxima_console()
(%i1) diff(f(x)^2,x);

sage: maxima('diff(f(x)^2,x)')
2*f(x)*'diff(f(x),x,1)

sage: from sympy import *
sage: x=Symbol('x')
sage: f=Function('f')
sage: diff(f(x)^2,x)
2*f(x)*Derivative(f(x), x)

Also:

sage: maxima_console()
(%i1) derivabbrev:true;
(%o1)                                true
(%i2) diff(f(x)^2,x);
(%o2)                            2 f(x) f(x)
x
 4 broke up a code patch so coloring works right kcrisman 11782 ●35 ●116 ●236

sage: maxima('diff(f(x)^2,x)')
2*f(x)*'diff(f(x),x,1)

And

sage: from sympy import *
sage: x=Symbol('x')
sage: f=Function('f')
sage: diff(f(x)^2,x)
2*f(x)*Derivative(f(x), x)

Also:

sage: maxima_console()
(%i1) derivabbrev:true;
(%o1)                                true
(%i2) diff(f(x)^2,x);
(%o2)                            2 f(x) f(x)
x