Question: Bad odeplot and getting back function from it

restart;
g := 9.81;
with(DEtools);
with(plots);

odeplot(dsolve({diff(x(t), t, t) = 0, diff(y(t), t, t) = -g + y(t)^2, x(0) = 1, y(0) = 0, D(x)(0) = 0, D(y)(0) = 0}, numeric), numpoints = 1000);

Hi, do you know why this plot is ragged? and my second question do you know how to get a single function x(t) or y(t) from this numeric solution instead getting parametrization plot [x(t),y(t)]? Thanks in advance.

Please Wait...