Position Function To Velocity Function