On 22 bře, 14:26, YURi KARADZhOV <yuri.karadz...@gmail.com> wrote: > desolve(eq,y,ivar=x) > > which is really annoying. And what is worse - we get a wrong answer > > -((a*x - 1)*b*e^(a*x)/a^2 + c*e^(a*x)/a - c)*e^(-a*x) > > but the right answer is > > -((a*x - 1)*b*e^(a*x)/a^2 + c*e^(a*x)/a - _C1)*e^(-a*x) > > where _C1 - arbitrary constant. > > Of course, if we don't use c as a variable in equation we will get a right > answer, but another problem will rise. If we have a bunch of ODE and want > their solutions to interact somehow, than we expect different arbitrary > constant for each one. But sage uses one letter c in every solution, which > causes problems.
See also http://trac.sagemath.org/sage_trac/ticket/6882 for similar problems with %i and %e. Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe from this group, send email to sage-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.