summaryrefslogtreecommitdiff
path: root/3828/CH1/EX1.6/Ex1_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH1/EX1.6/Ex1_6.sce')
-rw-r--r--3828/CH1/EX1.6/Ex1_6.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH1/EX1.6/Ex1_6.sce b/3828/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..d66143f77
--- /dev/null
+++ b/3828/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,16 @@
+//Chapter 1 : Wave Optics
+
+clear;
+
+//Variable declaration
+lamda=5890*10**-10 //wavelength
+myu=1.5 //refractive index of glass
+n=1 //first minimum
+r=60 //angle in degrees
+
+//Calculations
+t=(n*lamda)/(2*myu*0.5)/10**-7
+
+//Result
+mprintf("Thickness of the film t= %.3f*10**-4 mm",t)
+