1 2 3 4 5 6 7 8 9 10
clc; clear; l=5 //length to be covered in cm up=26.5*10^8 //in cm/s //Calculation t=(2*l/up) mprintf("Time taken= %1.1e s",t) //The answers vary due to round off error