diff options
Diffstat (limited to '3869/CH2/EX2.19/Ex2_19.sce')
-rw-r--r-- | 3869/CH2/EX2.19/Ex2_19.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3869/CH2/EX2.19/Ex2_19.sce b/3869/CH2/EX2.19/Ex2_19.sce new file mode 100644 index 000000000..f75a4e917 --- /dev/null +++ b/3869/CH2/EX2.19/Ex2_19.sce @@ -0,0 +1,16 @@ +clear +// +// +// + +//Variable declaration +n=2 //order +N=4250 //grating lines(lines/cm) +theta=30*%pi/180 //angle(radian) + +//Calculation +e=1/N +lamda=e*sin(theta)*10**8/n //wavelength of spectral line(angstrom) + +//Result +printf("\n wavelength of spectral line is %0.0f angstrom",lamda) |