function [vx , vy] = initialVelocity(initialAngle, speed) vx = cos(initialAngle)*speed; vy = sin(initialAngle)*speed; end
function [x, y] = position(x,y, vx, vy, dt) x = x + vx*dt; y = y + vy*dt; end
function [vx , vy] = initialVelocity(initialAngle, speed) vx = cos(initialAngle)*speed; vy = sin(initialAngle)*speed; end
function [x, y] = position(x,y, vx, vy, dt) x = x + vx*dt; y = y + vy*dt; end