summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.19/Ex1_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.19/Ex1_19.sce')
-rw-r--r--3537/CH1/EX1.19/Ex1_19.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH1/EX1.19/Ex1_19.sce b/3537/CH1/EX1.19/Ex1_19.sce
new file mode 100644
index 000000000..2a6cd2b14
--- /dev/null
+++ b/3537/CH1/EX1.19/Ex1_19.sce
@@ -0,0 +1,8 @@
+//Example 1_19
+clc();
+clear;
+//To find the diameter of 20th ring
+D4=0.4 //units in cm
+D12=0.7 //units in cm
+D20=sqrt(2*(D12^2-D4^2)+D4^2)
+printf("The diameter of the 20th dark ring is %.4f cm",D20)