1 2 3 4
clc; s=1000; //distance in mile v=400+120; //velocity in mile/hr disp(s/v,"Time in hr = "); //using t=s/v