summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2780/CH3/EX3.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2780/CH3/EX3.6')
-rwxr-xr-x2780/CH3/EX3.6/Ex3_6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2780/CH3/EX3.6/Ex3_6.sce b/2780/CH3/EX3.6/Ex3_6.sce
new file mode 100755
index 000000000..1f564fca7
--- /dev/null
+++ b/2780/CH3/EX3.6/Ex3_6.sce
@@ -0,0 +1,16 @@
+clc
+//to calculate values of lambda1 and lambda2
+//in fraunhofer diffraction pattern ,the direction of minima is given by e*sintheta=+m*lambda,where m=1,2,.......
+//direction of fourth minima (m=4) for wavelength lambda1 is given by e*sintheta1=4*lambda1..........eq(1)
+//similarly, e*sintheta2=5*lambda2..........eq(2)
+//from eq(1) and eq(2),we get e*sintheta=4*lambda1=5*lambda2....eq(3)
+y=0.5 //in cm
+f=100 //in cm
+theta=y/f //in radian
+sintheta=theta //theta is very small
+e=0.05 //width of slit in cm
+lambda1=e*sintheta/4
+disp("lambda1="+string(lambda1)+"cm")
+//from eq(3) we get,
+lambda2=4*lambda1/5
+disp("lambda2="+string(lambda2)+"cm")