summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.48/Ex1_48.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.48/Ex1_48.sce')
-rw-r--r--3537/CH1/EX1.48/Ex1_48.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH1/EX1.48/Ex1_48.sce b/3537/CH1/EX1.48/Ex1_48.sce
new file mode 100644
index 000000000..c4b842cb1
--- /dev/null
+++ b/3537/CH1/EX1.48/Ex1_48.sce
@@ -0,0 +1,8 @@
+//Example 1_48
+clc();
+clear;
+//To calculate the refractive index of the liquid
+D8=1.42 //units in cm
+d8=1.25 //units in cm
+u=(D8)^2/(d8)^2
+printf("The refractive index of the liquid is %.2f",u)