summaryrefslogtreecommitdiff
path: root/3753/CH1/EX1.15/Ex1_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH1/EX1.15/Ex1_15.sce')
-rw-r--r--3753/CH1/EX1.15/Ex1_15.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3753/CH1/EX1.15/Ex1_15.sce b/3753/CH1/EX1.15/Ex1_15.sce
new file mode 100644
index 000000000..e9ea23ec4
--- /dev/null
+++ b/3753/CH1/EX1.15/Ex1_15.sce
@@ -0,0 +1,17 @@
+//Example number 1.15, Page number 1.39
+
+clc;clear;close
+
+
+//Variable declaration
+N=20// unitless
+lamda=5000*10**-10 //Angstroms to meters
+t=2.5*10**-5 // in m
+
+//Calculation
+mu_1=(N*lamda)/t// unitless
+mu=1+(mu_1)// unitless
+
+//Result
+printf("mu-1=%.1f",mu_1)
+printf("\nRefractive index, mu=%1f",mu)