xv = initial velocity in the X direction yv = initial velocity in the Y direction g = gravity
v = velocity f = friction g = gravity r = bend radius