summaryrefslogtreecommitdiff
path: root/2411/CH3/EX3.c.209/Ex3c_9.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2411/CH3/EX3.c.209/Ex3c_9.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2411/CH3/EX3.c.209/Ex3c_9.sce')
-rwxr-xr-x2411/CH3/EX3.c.209/Ex3c_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2411/CH3/EX3.c.209/Ex3c_9.sce b/2411/CH3/EX3.c.209/Ex3c_9.sce
new file mode 100755
index 000000000..867516169
--- /dev/null
+++ b/2411/CH3/EX3.c.209/Ex3c_9.sce
@@ -0,0 +1,13 @@
+// Scilab Code Ex3c.9: Page-186 (2008)
+clc; clear;
+D = 100; // Distance between the source and the slit, cm
+bita = 0.0135; // Fringe width, cm
+alpha = %pi/360; // Angle of refracting face with the base of biprism, radian
+mu = 1.5; // Refractive index of the material of biprism
+x = 50; // Distance between slit and the biprism, cm
+d = 2*(mu-1)*x*alpha; // Separation between the two virtual slits, cm
+lambda = bita*d/D; // Wavelength of light, cm
+printf("\nThe wavelength of light from biprism interference pattern = %4d angstrom", lambda/1e-008);
+
+// Result
+// The wavelength of light from biprism interference pattern = 5890 angstrom \ No newline at end of file