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.9 | |
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.9')
-rwxr-xr-x | 1271/CH2/EX2.9/9.txt | 1 | ||||
-rwxr-xr-x | 1271/CH2/EX2.9/example2_9.sce | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/1271/CH2/EX2.9/9.txt b/1271/CH2/EX2.9/9.txt new file mode 100755 index 000000000..6f6e233d5 --- /dev/null +++ b/1271/CH2/EX2.9/9.txt @@ -0,0 +1 @@ + Focal length in second case = 1.200000 meter
\ No newline at end of file diff --git a/1271/CH2/EX2.9/example2_9.sce b/1271/CH2/EX2.9/example2_9.sce new file mode 100755 index 000000000..a7d137967 --- /dev/null +++ b/1271/CH2/EX2.9/example2_9.sce @@ -0,0 +1,10 @@ +clc +// Given that +lambda1 = 6e-7 // wavelength of first light in meter +lambda2 = 5e-7 // wavelength of second light in meter +f1 = 1 // focal length in first case in meter +// Sample Problem 9 on page no. 2.41 +printf("\n # PROBLEM 9 # \n") +f2 = (lambda1 * f1) / lambda2 // calculation for focal length in second case +printf("\n Standard formula used \n f2 = (lambda1 * f1) / lambda2") +printf("\n Focal length in second case = %f meter",f2) |