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.17/17.txt | 2 ++ 1271/CH2/EX2.17/example2_17.sce | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100755 1271/CH2/EX2.17/17.txt create mode 100755 1271/CH2/EX2.17/example2_17.sce (limited to '1271/CH2/EX2.17') diff --git a/1271/CH2/EX2.17/17.txt b/1271/CH2/EX2.17/17.txt new file mode 100755 index 000000000..38700d4a9 --- /dev/null +++ b/1271/CH2/EX2.17/17.txt @@ -0,0 +1,2 @@ + Slit width in first case = 1.000000e-06 meter. + Slit width in second case = 5.000000e-07 meter diff --git a/1271/CH2/EX2.17/example2_17.sce b/1271/CH2/EX2.17/example2_17.sce new file mode 100755 index 000000000..d132632e5 --- /dev/null +++ b/1271/CH2/EX2.17/example2_17.sce @@ -0,0 +1,12 @@ +clc +// Given that +lambda = 5e-7 // wavelength of light in meter +theta = %pi / 6 // half angular width of central maximum in first case in radian +theta_ = %pi / 2 // half angular width of central maximum in second case in radian +// Sample Problem 17 on page no. 2.44 +printf("\n # PROBLEM 17 # \n") +m = 1 // for first minima +b1 = (lambda * m) / sin(theta) // calculation for slit width in first case +b2 = (lambda * m) / sin(theta_) // calculation for slit width in second case +printf("\n Standard formula used \n b = (lambda * m) / sin(theta). \n") +printf("\n Slit width in first case = %e meter. \n Slit width in second case = %e meter",b1,b2) -- cgit