summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.12/Ex1_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.12/Ex1_12.sce')
-rw-r--r--3537/CH1/EX1.12/Ex1_12.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3537/CH1/EX1.12/Ex1_12.sce b/3537/CH1/EX1.12/Ex1_12.sce
new file mode 100644
index 000000000..d9d8202fe
--- /dev/null
+++ b/3537/CH1/EX1.12/Ex1_12.sce
@@ -0,0 +1,13 @@
+//Example 1_13
+clc();
+clear;
+//To calculate the fringe width
+dist1=0.005 //units in mm
+dist2=15 //units in cm
+alpha=dist1/dist2 //units in radians
+lamda=6000*10^-9 //units in cm
+betaa=(lamda)/(2*alpha) //units in
+
+printf("Fringe width beta=%.3fcm",betaa)
+
+//In text book answer is printed wrong as 0.09 cm answer is 0.009 cm