From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1271/CH2/EX2.6/6.txt | 2 ++ 1271/CH2/EX2.6/example2_6.sce | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 1271/CH2/EX2.6/6.txt create mode 100755 1271/CH2/EX2.6/example2_6.sce (limited to '1271/CH2/EX2.6') 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) -- cgit