diff options
Diffstat (limited to '2780/CH2/EX2.29/Ex2_29.sce')
-rwxr-xr-x | 2780/CH2/EX2.29/Ex2_29.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2780/CH2/EX2.29/Ex2_29.sce b/2780/CH2/EX2.29/Ex2_29.sce new file mode 100755 index 000000000..9d889a2e9 --- /dev/null +++ b/2780/CH2/EX2.29/Ex2_29.sce @@ -0,0 +1,13 @@ +clc
+//to calculate diameter
+lambda1=6*10^-5 //wavelength in cm
+lambda2=4.5*10^-5 //wavelength in cm
+R=90 //radius of curvature of the curved surface in cm
+//Dn^2=4nRlambda1 -------eq(1)
+//Dn+1^2=4(n+1)Rlambda2-------eq(2)
+//the nth dark ring due to lambda1 coincides with (n+1)th dark ring due to lambda2
+//from eq(1) and eq(2)-4nRlambda1=4(n+1)Rlambda2
+// we get,
+n=lambda2/(lambda1-lambda2)
+Dn=sqrt(4*n*R*lambda1)
+disp("the diameter of nth dark ring for lambda1 is Dn="+string(Dn)+"cm")
|