diff options
Diffstat (limited to '3537/CH1/EX1.20/Ex1_20.sce')
-rw-r--r-- | 3537/CH1/EX1.20/Ex1_20.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH1/EX1.20/Ex1_20.sce b/3537/CH1/EX1.20/Ex1_20.sce new file mode 100644 index 000000000..caec42e79 --- /dev/null +++ b/3537/CH1/EX1.20/Ex1_20.sce @@ -0,0 +1,8 @@ +//Example 1_20
+clc();
+clear;
+//To calculate the refractive index of the liquid
+D10=1.40 //units in cm
+d10=1.27 //units in cm
+u=D10^2/d10^2
+printf("Refractive index of the liquid is %.3f",u)
|