diff options
Diffstat (limited to '1271/CH2/EX2.31')
-rwxr-xr-x | 1271/CH2/EX2.31/31.txt | 1 | ||||
-rwxr-xr-x | 1271/CH2/EX2.31/example2_31.sce | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/1271/CH2/EX2.31/31.txt b/1271/CH2/EX2.31/31.txt new file mode 100755 index 000000000..3e4f221f5 --- /dev/null +++ b/1271/CH2/EX2.31/31.txt @@ -0,0 +1 @@ + No. of lines per cm = 3086
\ No newline at end of file diff --git a/1271/CH2/EX2.31/example2_31.sce b/1271/CH2/EX2.31/example2_31.sce new file mode 100755 index 000000000..2ba8da3db --- /dev/null +++ b/1271/CH2/EX2.31/example2_31.sce @@ -0,0 +1,11 @@ +clc +// Given that +lambda1 = 5.4e-7 // wavelength of light for nth order in meter +lambda2 = 4.05e-7 // wavelength of light for (n+1)th order in meter +theta = %pi / 6 // angle of diffraction in radian +// Sample Problem 31 on page no. 2.50 +printf("\n # PROBLEM 31 # \n") +k = (lambda1 * lambda2) / ((lambda1 - lambda2) * sin(theta)) // calculation for b+d +N = (1 / k) * (0.01) // calculation for no. of lines per cm +printf("\n Standard formula used \n b+d = (lambda1 * lambda2) / ((lambda1 - lambda2) * sin(theta)). \n N = (1 / k) * (0.01). \n") +printf("\n No. of lines per cm = %d ",N) |