DE Example 2
Putting in initial conditions and solving the resulting system
> | f:=A+B*x+C*exp(-2*x)+D*exp(-x); |
> | f0:=eval(f,x=0); |
> | fx:=diff(f,x); |
> | fx0:=eval(fx,x=0); |
> | fxx:=diff(fx,x); |
> | fxx0:=eval(fxx,x=0); |
> | fxxx:=diff(fxx,x); |
> | fxxx0:=eval(fxxx,x=0); |
> | solve({f0=0,fx0=4,fxx0=-6,fxxx0=14},{A,B,C,D}); |
> |