-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks, David, that does indeed explain it. How hard would it be to have Sage figure out if the ODE is nonlinear and return an error instead of a fake solution?
Alex David Joyner wrote: | The DE is not linear. The docstring (type ?desolve) says: | "Solves a 1st or 2nd order linear ODE via maxima. " | | On Feb 18, 2008 10:03 PM, Alex Ghitza <[EMAIL PROTECTED]> wrote: | Hi, | | I'm trying the following: | | ~ sage: t = var('t') | ~ sage: x = function('x', t) | ~ sage: de = lambda y: diff(y,t) - y^4 | ~ sage: desolve(de(x(t)),[x,t]) | | I get: 't+%c' | | But x(t)=t is clearly not a solution of diff(y,t) = y^4. So either I'm | doing something very silly, or I should report this as a bug. | | Best, | Alex | | | | |> | - -- Alexandru Ghitza Assistant Professor Department of Mathematics Colby College Waterville, ME 04901 http://bayes.colby.edu/~ghitza/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHuklMdZTaNFFPILgRAuruAJwMc9nZS0FZaGfEchN6eRtt7T4B2wCgoQTD k+clWC5glNvb8t1Rmz04V1M= =GSFn -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---