summaryrefslogtreecommitdiff
path: root/3753/CH1/EX1.9/Ex1_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH1/EX1.9/Ex1_9.sce')
-rw-r--r--3753/CH1/EX1.9/Ex1_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3753/CH1/EX1.9/Ex1_9.sce b/3753/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..b32535efa
--- /dev/null
+++ b/3753/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,16 @@
+//Example number 1.9, Page number 1.37
+
+clc;clear;close
+
+
+//Variable declaration
+R=1// unitless
+n=5// unitless
+lamda=5.895*10**-7 // in m
+dn=0.003 // in m
+
+//Calculation
+mu=(4*R*n*lamda)/(dn**2)
+
+//Result
+printf("Refractive index,mu = %0.2f",mu )