summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.33
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3537/CH5/EX5.33
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH5/EX5.33')
-rw-r--r--3537/CH5/EX5.33/Ex5_33.sce12
-rw-r--r--3537/CH5/EX5.33/Ex5_33.txt2
2 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH5/EX5.33/Ex5_33.sce b/3537/CH5/EX5.33/Ex5_33.sce
new file mode 100644
index 000000000..abea72a1b
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.sce
@@ -0,0 +1,12 @@
+//Example 5_33
+clc();
+clear;
+//To calculate the wavelength and maximum order of diffraction
+d=0.282*10^-9 //units in meters
+theta=8.583 //units in degrees
+lamda=2*d*(sin(theta*%pi/180))
+lamda1=lamda*10^10 //units in A
+theta=90 //units in degrees
+n=(2*(d)*sin(theta*%pi/180))/lamda
+printf("wave length lamda=%.3fA",lamda1)
+printf("\nMaximum order of diffraction n=%d",round(n))
diff --git a/3537/CH5/EX5.33/Ex5_33.txt b/3537/CH5/EX5.33/Ex5_33.txt
new file mode 100644
index 000000000..bfb3bec61
--- /dev/null
+++ b/3537/CH5/EX5.33/Ex5_33.txt
@@ -0,0 +1,2 @@
+wave length lamda=0.842A
+Maximum order of diffraction n=7 \ No newline at end of file