summaryrefslogtreecommitdiff
path: root/2780/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2780/CH3/EX3.9/Ex3_9.sce')
-rwxr-xr-x2780/CH3/EX3.9/Ex3_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2780/CH3/EX3.9/Ex3_9.sce b/2780/CH3/EX3.9/Ex3_9.sce
new file mode 100755
index 000000000..97256a692
--- /dev/null
+++ b/2780/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,14 @@
+clc
+//to calculate distances of first dark band and of next bright band on either side of the central maximum
+//formula is e*sintheta=m*lambda,where m=1
+lambda=5890*10^-8 //wavelength of light in cm
+e=0.03 //width of slit in cm
+sintheta=lambda/e
+theta=sintheta //becoz theta is very small,so sintheta is approximately equal to theta
+f=50
+y=f*theta
+disp("linear distance of first minimum from the central maximum is y="+string(y)+"cm")
+sintheta1=3*lambda/(2*e)
+theta1=sintheta1
+y1=f*theta1
+disp("linear distance of first secondary maxima is y1="+string(y1)+"cm")