Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Maxima behaves better:

sage: maxima('f(x):=tan(x)^2-tan(x)')
sage: maxima('f(%pi/2)')
....
....
....
Maxima ERROR:

tan: %pi/2 isn't in the domain of tan.

# the same error messages in:
sage: maxima('f(x):=tan(x)*(tan(x)-1)')
sage: maxima('f(%pi/2)')          
sage: maxima('tan(%pi/2)^2-tan(%pi/2)')