summaryrefslogtreecommitdiff
path: root/3411/CH1/EX1.5/Ex1_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3411/CH1/EX1.5/Ex1_5.sce')
-rw-r--r--3411/CH1/EX1.5/Ex1_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3411/CH1/EX1.5/Ex1_5.sce b/3411/CH1/EX1.5/Ex1_5.sce
new file mode 100644
index 000000000..c211b994b
--- /dev/null
+++ b/3411/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,11 @@
+//Example 1.5
+clc();
+clear;
+//To find the refractive index of coil
+volume=0.2 //units in CC
+thickness=volume/(100*100) //units in cm
+n=1
+lamda=5.5*10^-5 //units in cm
+r=0
+u=(n*lamda)/(2*thickness*cos(r))
+printf("Refractive index of oil is %.3f",u)