summaryrefslogtreecommitdiff
path: root/1847/CH3/EX3.13
diff options
context:
space:
mode:
Diffstat (limited to '1847/CH3/EX3.13')
-rwxr-xr-x1847/CH3/EX3.13/Ch03Ex13.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1847/CH3/EX3.13/Ch03Ex13.sce b/1847/CH3/EX3.13/Ch03Ex13.sce
new file mode 100755
index 000000000..eadfaeb18
--- /dev/null
+++ b/1847/CH3/EX3.13/Ch03Ex13.sce
@@ -0,0 +1,13 @@
+// Scilab Code Ex3.13:: Page-3.25 (2009)
+clc; clear;
+a = 0.045; // Slit width, cm
+lambda = 5500e-008; // Wavelength of light used, cm
+f = 250; // Focal length of the lens, cm
+x = lambda*f/a; // Position of central maxima, cm
+
+printf("\nThe position of central maxima = %5.3f cm", x);
+printf("\nThe width of central maxima from first minima = %5.3f cm", 2*x);
+
+// Result
+// The position of central maxima = 0.306 cm
+// The width of central maxima from first minima = 0.611 cm