# Question: Spacecurve of Numerical Solution to DE

October 02 2012 by
false
Maple

1

Hi,

I wish to plot the trajectory of a ball, and I set up my three differential equations and solved them numerically. I can graph the x, y, z components but I can’t figure out how to plot 3D space curve of this (and animate it if possible).

I used dsolve, numeric rtk45, so the output is [t, x, x’, y, y’, z, z’] so I tried to assign the second (and 4rth and 6h) term in the list to a function


>  x -> op(2,op(2,p(x)));

Any ideas on how to plot a spacecurve where the x, y, z are solved numerically in dsolve?

Thank you!