%% Lutz Ádám CSJ456

v= 4;
x=zeros(1,180);
deg = 1:180;
for i=1:length(x)
    x(i)=throwBall(v,i);
end
plot(x)
xlabel('Angle(deg)')
ylabel('Distance thrown(m)')
title('Distance of ball throw as a function of release angle')