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.7/Ch03Ex7.sce | |
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.7/Ch03Ex7.sce')
-rwxr-xr-x | 1847/CH3/EX3.7/Ch03Ex7.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1847/CH3/EX3.7/Ch03Ex7.sce b/1847/CH3/EX3.7/Ch03Ex7.sce new file mode 100755 index 000000000..897624766 --- /dev/null +++ b/1847/CH3/EX3.7/Ch03Ex7.sce @@ -0,0 +1,11 @@ +// Scilab Code Ex3.7:: Page-3.23 (2009)
+clc; clear;
+lambda = 6000e-010; // Wavelength of light used, m
+a = 15e-007; // Width of the slit, m
+// For a single slit Fraunhofer diffraction, a*sind(theta) = n*lambda, solving for theta
+theta = asind(lambda/a); // Half angular width of central maximum, degrees
+
+printf("\nThe angular width of central maximum = %2d degrees", 2*ceil(theta));
+
+// Result
+// The angular width of central maximum = 48 degrees
|