function x = r(t) global r_0 velocity; x = r_0 + velocity * t; end