summaryrefslogtreecommitdiff
path: root/3828/CH1/EX1.17/Ex1_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH1/EX1.17/Ex1_17.sce')
-rw-r--r--3828/CH1/EX1.17/Ex1_17.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH1/EX1.17/Ex1_17.sce b/3828/CH1/EX1.17/Ex1_17.sce
new file mode 100644
index 000000000..69616a347
--- /dev/null
+++ b/3828/CH1/EX1.17/Ex1_17.sce
@@ -0,0 +1,16 @@
+//Chapter 1 : Wave Optics
+
+clear;
+
+//Variable declaration
+D15=5.90*10**-3 //diameter of 15th ring
+D5=3.36*10**-3 //diameter of 5th ring
+m=10
+R=100
+
+//Calculation
+lamda=(D15**2-D5**2)/(4*m*R)/10**-9*10**3
+
+//Result
+mprintf("Wavelength of liquid used= %d Armstrong",lamda)
+