summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.1
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.1
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.1')
-rwxr-xr-x2780/CH3/EX3.1/Ex3_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2780/CH3/EX3.1/Ex3_1.sce b/2780/CH3/EX3.1/Ex3_1.sce
new file mode 100755
index 000000000..6a742a9e7
--- /dev/null
+++ b/2780/CH3/EX3.1/Ex3_1.sce
@@ -0,0 +1,16 @@
+clc
+//to calculate angular width and linear width
+lambda=6*10^-5
+e=0.01 //width of slit in cm
+//position of minima is given by
+sintheta=lambda/e //sintheta=m*lambda/e ,where m=1,2,3,......
+disp("sintheta="+string(sintheta)+" m")
+//since theta is very small,so sintheta is approximately equal to theta
+theta=sintheta
+theta1=2*theta
+disp("total angular width of central maximum is theta1="+string(theta1)+" m radians ")
+d=100 //distance in cm
+Y=theta*d
+Y1=2*Y
+disp("linear width of central maximum on the screen is Y1="+string(Y1)+" m cm")
+disp("values of m =1,2,3,............ gives the directions of first, second .............minima")