function trajectory = throw()

%just throw the ball once, to see if basketball.m works.

v0 = [50,10];
x0 = [0,0];
q0 = [x0,v0];

duration = 2.0;
dt = 0.1;
nsteps = duration/dt;

trajectory=rk2(q0,0,dt,nsteps,'basketball');

x = trajectory(:,1);
y = trajectory(:,2);
plot(x,y);
