Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This is easy to read:

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)

This is easy to read:

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);

This is easy to read:

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
click to hide/show revision 4
broke up a code patch so coloring works right

updated 2012-11-26 03:30:44 -0600

kcrisman gravatar image

This is easy to read:

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