Ask Your Question

Revision history [back]

You can substitute instead of parsing a text representation.

sage: var('z')
z
sage: sol.subs(y(x)==z)
-1/2*z^3 + 5/2*z == 1/2*x^2 - 2*x - 9/2