//Chapter-4,Example4_15_20,pg 4-36 t2=30*10^-6 //pulse arrival time of defective steel bar t1=80*10^-6 //pulse arrival time of non defective steel bar d=40*10^-2 //bar thickness x=(t2/t1)*d printf("distance at which defect has occurred =") disp(x) printf("meter")