summaryrefslogtreecommitdiff
path: root/3828/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH1/EX1.4/Ex1_4.sce')
-rw-r--r--3828/CH1/EX1.4/Ex1_4.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3828/CH1/EX1.4/Ex1_4.sce b/3828/CH1/EX1.4/Ex1_4.sce
new file mode 100644
index 000000000..e723a78b7
--- /dev/null
+++ b/3828/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,17 @@
+//Chapter 1 : Wave Optics
+
+clear;
+
+//Variable declaration
+lamda=5890*10**-8 //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**-5
+
+//Result
+mprintf("Minimum thickness of the film t= %.5f*10**-5 cm",t)
+//The answer provided in the textbook is incorrect
+