diff options
Diffstat (limited to '3828/CH2/EX2.12/Ex2_12.sce')
-rw-r--r-- | 3828/CH2/EX2.12/Ex2_12.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3828/CH2/EX2.12/Ex2_12.sce b/3828/CH2/EX2.12/Ex2_12.sce new file mode 100644 index 000000000..eb3bf3d19 --- /dev/null +++ b/3828/CH2/EX2.12/Ex2_12.sce @@ -0,0 +1,17 @@ + +//Chapter 2 : Diffraction + +clear; + +//Variable declaration +theta=(30*%pi/180) //angle in radians +lamda1=5400*10**-10 +n=3 //third order + +//Calculations +d=(n*lamda1)/sin(theta)*10**2/10**-4 +N1=1/d/10**-1*10**3 + +//Result +mprintf("Grating element= %.2f*10**-4 cm",d) +mprintf("\nNumber of lines in 1 cm length of grating= %d",N1) |