u = 0; % initial velocity a = 3; % acceleration t = 10; % time v_final = u + a*t; x_final = (u*t) + (1/2)*a*t^2;