summaryrefslogtreecommitdiff
path: root/1949/CH1/EX1.14/1_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1949/CH1/EX1.14/1_14.sce')
-rwxr-xr-x1949/CH1/EX1.14/1_14.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1949/CH1/EX1.14/1_14.sce b/1949/CH1/EX1.14/1_14.sce
new file mode 100755
index 000000000..5350955dd
--- /dev/null
+++ b/1949/CH1/EX1.14/1_14.sce
@@ -0,0 +1,16 @@
+//Chapter-1,Example 1_14,Page 1-41
+clc()
+
+//Given Data:
+n=4 //4th dark ring
+m=12 //m=n+p
+D4=0.4*10^-2 //Diameter of 4th ring
+D12=0.7*10^-2 //Diameter of 12th ring
+
+//Calculations:
+
+//(Dn+p)^2-Dn^2=4*p*lam*R
+//Solving, (D12^2-D4^2)/(D20^2-D4^2)
+//We get above value =1/2. Hence
+D20=sqrt(2*D12^2-D4^2) //Diameter of 20th ring
+printf('Diameter of 20th ring is =%.5f m \n',D20)