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.6 | |
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.6')
-rwxr-xr-x | 1271/CH2/EX2.6/6.txt | 2 | ||||
-rwxr-xr-x | 1271/CH2/EX2.6/example2_6.sce | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/1271/CH2/EX2.6/6.txt b/1271/CH2/EX2.6/6.txt new file mode 100755 index 000000000..e6b57b9db --- /dev/null +++ b/1271/CH2/EX2.6/6.txt @@ -0,0 +1,2 @@ +
+ Radius of first ,second and third half period zone = 7.676588e-04,1.329624e-03 and 1.716537e-03 meter.
diff --git a/1271/CH2/EX2.6/example2_6.sce b/1271/CH2/EX2.6/example2_6.sce new file mode 100755 index 000000000..c3e34df74 --- /dev/null +++ b/1271/CH2/EX2.6/example2_6.sce @@ -0,0 +1,14 @@ +clc +// Given that +lambda = 5.893e-7 // wavelength of light in meter +f = 1 // focal-length of convex lens in meter +n1 = 1 // no. of first half period zone +n2 = 3 // no. of second half period zone +n3 = 5 // no. of third half period zone +// Sample Problem 6 on page no. 2.40 +printf("\n # PROBLEM 6 # \n") +R1 = sqrt(n1 * lambda * f) // calculation for Radius of first half period zone +R2 = sqrt(n2 * lambda * f) // calculation for Radius of second half period zone +R3 = sqrt(n3 * lambda * f) // calculation for Radius of third half period zone +printf("Standard formula used \n R = sqrt(f*n*lambda)\n") +printf("\n Radius of first ,second and third half period zone = %e,%e and %e meter. ",R1,R2,R3) |