# Revision history [back]

Actually, some computations can be done by sympy, see for example:

sage: integral?


However sympy is not imported in Sage by default, i guess the main reason is startup speed. If you want to use sympy within Sage, just do:

sage: import sympy


Now, if you have an element of the Symbolic Ring, you can transform it into a sympy object as follows:

sage: a = cos(x) + pi
sage: b = a._sympy_()
sage: b
cos(x) + pi


You can check:

sage: type(b)


You can come back to the symboloc ring as follows:

sage: b._sage_()
pi + cos(x)


Actually, Concerning relations between Sage, maxima and ginac, you can have a look to this question.

Concerning sympy, some computations can be done by sympy, but you need to specify it, see for example:

sage: integral?


However sympy is not imported in Sage by default, i guess the main reason is startup speed. If you want to use sympy within Sage, just do:

sage: import sympy


Now, if you have an element of the Symbolic Ring, you can transform it into a sympy object as follows:

sage: a = cos(x) + pi
sage: b = a._sympy_()
sage: b
cos(x) + pi


You can check:

sage: type(b)


You can come back to the symboloc symbolic ring as follows:

sage: b._sage_()
pi + cos(x)