summaryrefslogtreecommitdiff
path: root/1172/CH1/EX1.2/Example1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1172/CH1/EX1.2/Example1_2.sce')
-rwxr-xr-x1172/CH1/EX1.2/Example1_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1172/CH1/EX1.2/Example1_2.sce b/1172/CH1/EX1.2/Example1_2.sce
new file mode 100755
index 000000000..09f80e5ca
--- /dev/null
+++ b/1172/CH1/EX1.2/Example1_2.sce
@@ -0,0 +1,14 @@
+clc
+//Given that
+D=80// separation between source and screen in cm
+d=0.18// separation between sources in cm
+n=4// order of fringe
+x_n=1.08// distance from central bright fringe in cm
+//Sample Problem 2 Page No. 47
+printf("\n # Problem 2 # \n")
+printf(" \n Standard formula used \n x_n= n*lambda*D/d \n")
+
+lambda=d*x_n/(D*n)*1e7
+printf("\n Wavelength of light used is %d Angstrom.", lambda)
+
+