diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1847/CH3/EX3.13 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1847/CH3/EX3.13')
-rwxr-xr-x | 1847/CH3/EX3.13/Ch03Ex13.sce | 13 |
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
|