Hi there,
I've got a problem with expressing a solution of ODE as follow.
t = var('t')
y = function('y', t)
eqn = diff(y, t) - y^2 +1
sol = desolve(eqn, dvar = y, ivar = t, contrib_ode=True)
sol.show()
The above expression resulted in 1/2*log(y(t)-1) - 1/2*log(y(t)+1) = c
+ t.
However, I want more simpler form of the solution like y(t) = (exp(2*t
+2) + 1) / (1-exp(2*t+2)).
How can I get the solution?
Thanks in advance.
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org