diff options
Diffstat (limited to '3537/CH1/EX1.24/Ex1_24.sce')
-rw-r--r-- | 3537/CH1/EX1.24/Ex1_24.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3537/CH1/EX1.24/Ex1_24.sce b/3537/CH1/EX1.24/Ex1_24.sce new file mode 100644 index 000000000..57fb10b48 --- /dev/null +++ b/3537/CH1/EX1.24/Ex1_24.sce @@ -0,0 +1,10 @@ +//Example 1_24
+clc();
+clear;
+//To calculate the refractive index of the liquid
+lemda=5.895*10^-7 //units in mts
+D=0.3*10^-2 //units in mts
+R=1 //units in mts
+n=5
+u=(4*R*n*lemda)/D^2
+printf("The reractive index of the liquid is %.2f",u)
|