r=10^3/2; l=2*1; t=l/r; disp("the time constant (in ms) of the circuit is"); disp(t*10^3);