diff options
Diffstat (limited to '3537/CH1/EX1.34/Ex1_34.sce')
-rw-r--r-- | 3537/CH1/EX1.34/Ex1_34.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH1/EX1.34/Ex1_34.sce b/3537/CH1/EX1.34/Ex1_34.sce new file mode 100644 index 000000000..24ff6bf2d --- /dev/null +++ b/3537/CH1/EX1.34/Ex1_34.sce @@ -0,0 +1,10 @@ +//Example 1_34
+clc();
+clear;
+//To calculate the refractive index of the liquid
+D1=1.40 //units in centimeters
+D1=1.40*10^-2 //units in meters
+D2=1.27 //units in centimeters
+D2=1.27*10^-2 //units in meters
+u=(D1/D2)^2
+printf("Refractive index of the liquid is %.3f",u)
|