On Sunday, August 3, 2014 11:32:36 PM UTC-7, Nasser M. Abbasi wrote:
>
> Thanks. Ok, Now I understand. But then why do I get this answer now:
>
> sage: z = var('z')
> sage: x = var('x')
> sage: y = function('y')
> sage: desolve( diff(y(x),x) + y(x) - 1,y(z))
> y(x) == (c + e^x)*e^(-x) ---->???
>
> The ode is function of x. How did it then accept y(z) with no error as
> what I am solving for?
>
> Well, it did give you back a differently formatted answer compared to what
you got when you asked it to solve wrt. y(x). In a way the answer is
correct: If you set y(x) to be what is returned then the differential
equation is satisfied, independent of what y(z) is.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.