diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3537/CH2/EX2.8 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3537/CH2/EX2.8')
-rw-r--r-- | 3537/CH2/EX2.8/Ex2_8.sce | 16 | ||||
-rw-r--r-- | 3537/CH2/EX2.8/Ex2_8.txt | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/3537/CH2/EX2.8/Ex2_8.sce b/3537/CH2/EX2.8/Ex2_8.sce new file mode 100644 index 000000000..82a269995 --- /dev/null +++ b/3537/CH2/EX2.8/Ex2_8.sce @@ -0,0 +1,16 @@ +//Example 2_8
+clc();
+clear;
+//To find wave length and maximum grating
+theta1=10 //units in degrees
+d=5*10^-9 //units in cm
+dtheta=3 //units in degrees
+lamda=(sin(theta1*%pi/180)*d)/(cos(theta1*%pi/180)*(dtheta/3600)*(%pi/180))
+lamda1=lamda+d
+lamda1=lamda1*10^8
+d=d*10^8
+n=lamda1/(d*2)
+k=2
+Ne=(n*k*lamda)/(sin(theta1*%pi/180))
+printf("wave length is lamda=%.7f meters",lamda)
+printf("\nMaximum grating require Ne=%.2f cm",Ne)
diff --git a/3537/CH2/EX2.8/Ex2_8.txt b/3537/CH2/EX2.8/Ex2_8.txt new file mode 100644 index 000000000..23a0c1351 --- /dev/null +++ b/3537/CH2/EX2.8/Ex2_8.txt @@ -0,0 +1,2 @@ +wave length is lamda=0.0000606 meters
+Maximum grating require Ne=4.23 cm
\ No newline at end of file |