LimpyNuts All American 16859 Posts user info edit post |
I used dsolve from DEtools to solve a differential equation (i can solve it by hand but it's easier to type in the ODE than the solution). I want to assign the output of dsolve to a function y(x). I have:
> dsolve([ODE,IC1,IC2],phi(x)); (output) phi(x) = [big mess]
>solve(%,phi(x)); (output) [big mess]
(i.e. using solve(%,phi(x)) gets rid of the "phi(x)=") I want something like y := x -> [big mess] so I can plot it and its derivative and evaluate them at points. How do I get the ODE solution into a function? 11/13/2006 5:11:28 PM |