1 2 3 4 5 6 7 8 9 10
clear //Given d=3*10**-3 //m l=500*10**-9 //m //Calculation Z=d**2/l //Result printf("\n Distance is %0.3f m",Z)