summaryrefslogtreecommitdiff
path: root/3828/CH1/EX1.18
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH1/EX1.18')
-rw-r--r--3828/CH1/EX1.18/Ex1_18.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3828/CH1/EX1.18/Ex1_18.sce b/3828/CH1/EX1.18/Ex1_18.sce
new file mode 100644
index 000000000..b5ff31134
--- /dev/null
+++ b/3828/CH1/EX1.18/Ex1_18.sce
@@ -0,0 +1,14 @@
+//Chapter 1 : Wave Optics
+
+clear;
+
+//Variable declaration
+D1=1.50
+D2=1.30
+
+//Calculation
+myu=(D1/D2)**2
+
+//Result
+mprintf("Refractive index of liquid= %.3f",myu)
+