1 2 3 4 5 6
//Example 4.2, page 107 clc disp('Part a') N=10^4//in rad, Number of atoms tarversed theta=(2*10^-2)/sqrt(N) printf("\n Average deflection %e rad ",theta)