Simplifying ODE solutions by introducing arbitrary constants
Subject: Simplifying ODE solutions by introducing arbitrary constants
From: Robert Pollak
Date: Fri, 25 Oct 2013 10:32:46 +0200
Hello Jaime,
you wrote:
> [...] have you tried using atvalue?:
>
> (%i2) atvalue(f(x),x=0,%c1)$
> (%i3) atvalue('diff(f(x),x,1),x=0,%c2)$
> (%i4) atvalue('diff(f(x),x,2),x=0,%c3)$
> (%i5) desolve('diff(f(x),x,3)-2*'diff(f(x),x,2)+'diff(f(x),x)=0, f(x));
> (%o5) f(x) = %c3*x*%e^x-%c2*x*%e^x+(2*%c2-%c3)*%e^x+%c3-2*%c2+%c1
thank you for your suggestion, but I need to have these replacements
done automatically, and it also would be great to just have %c1 instead
of "%c3-2*%c2+%c1". In the meantime Aleksas Domarkas has answered that
he has already implemented this, see [1].
Best regards,
Robert
[1] http://article.gmane.org/gmane.comp.mathematics.maxima.general/43689