diff options
Diffstat (limited to '3753/CH1/EX1.3/Ex1_3.sce')
-rw-r--r-- | 3753/CH1/EX1.3/Ex1_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH1/EX1.3/Ex1_3.sce b/3753/CH1/EX1.3/Ex1_3.sce new file mode 100644 index 000000000..1849c6cd5 --- /dev/null +++ b/3753/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,17 @@ +//Example number 1.3, Page number 1.36 + +clc;clear;close + + +//Variable declaration +w=0.02 // in m +n=1 +lamda=6.56*10**-7 // in m +theta=(18+(14/60))*%pi/180 // in radian + +//Calculation +N=(w*sin(theta))/(n*lamda) // no. of lines + +//Result +printf("Total number of lines n the grating=%d",round(N)) +//Answer varies due to rounding of number" |