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 /1271/CH2/EX2.23 | |
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 '1271/CH2/EX2.23')
-rwxr-xr-x | 1271/CH2/EX2.23/23.txt | 1 | ||||
-rwxr-xr-x | 1271/CH2/EX2.23/example2_23.sce | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/1271/CH2/EX2.23/23.txt b/1271/CH2/EX2.23/23.txt new file mode 100755 index 000000000..ddca7d17f --- /dev/null +++ b/1271/CH2/EX2.23/23.txt @@ -0,0 +1 @@ + Missing orders = 6,12,18,......
\ No newline at end of file diff --git a/1271/CH2/EX2.23/example2_23.sce b/1271/CH2/EX2.23/example2_23.sce new file mode 100755 index 000000000..9236a9545 --- /dev/null +++ b/1271/CH2/EX2.23/example2_23.sce @@ -0,0 +1,15 @@ +clc +// Given that +d = 4e-4 // separation between slits in meter +b = 8e-5 // slit-width in meter +// Sample Problem 23 on page no. 2.47 +printf("\n # PROBLEM 23 # \n") +r = (b + d) / b // calculation for ratio of n with m +m1 = 1 +n1 = r * m1 // calculation for Missing orders +m2 = 2 +n2 = r * m2 // calculation for Missing orders +m3 = 3 +n3 = r * m3 // calculation for Missing orders +printf("\n Standard formula used \n r = (b + d) / b. \n n = r * m. \n") +printf("\n Missing orders = %d,%d,%d,......",n1,n2,n3) |