Try this :

sage: var("x, t") ## t will be used later
(x, t)
sage: y=function("y") ## Note : no default argument
sage: sol=desolve(diff(y(x),x)==(x*y(x)^2 - cos(x)*sin(x) )/(y(x)*(1 - x^2)) 
,y(x), ics=[0, 2]) ; sol  ## Note : specify y argument
1/2*(x^2 - 1)*y(x)^2 + 1/2*cos(x)^2 == (-3/2)
sage: implicit_plot((sol.lhs()-sol.rhs()).subs(y(x)==t), (x, -5, 5), (t, -5, 
5)) ## Substitute a variable to the expression...
Launched png viewer for Graphics object consisting of 1 graphics primitive

[image: tmp_y92wys2o.png]

HTH,
​

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/05f845c2-9bb7-45a9-9903-cd9b0d63f995n%40googlegroups.com.

Reply via email to