blob: 255fb5400e12221648b3b7cf2002d99e8ebcdba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Chapter-2,Example2_4_7,pg 2-27
m=1 //first ordr spectrum
wavelength=6560*10^-8 //wavelength of light
angle=16.2 //angle of diffraction
N=2*sind(angle)/(m*wavelength)
printf('\nNumber of lines per 2 cm is N = %.0f',N)
|