diff options
Diffstat (limited to '1172/CH3/EX3.10.2/Example3_10b.sce')
-rwxr-xr-x | 1172/CH3/EX3.10.2/Example3_10b.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1172/CH3/EX3.10.2/Example3_10b.sce b/1172/CH3/EX3.10.2/Example3_10b.sce new file mode 100755 index 000000000..585b9c0cb --- /dev/null +++ b/1172/CH3/EX3.10.2/Example3_10b.sce @@ -0,0 +1,12 @@ +clc
+//Given that
+n = 2 // order
+lambda = 5.2e-11 // wavelength in Angstrom
+d = 2.98e-10 // interatomic separation in Angstrom
+//Sample Problem 10b page No. 139
+printf("\n\n\n # Problem 10b # \n")
+printf("\n Standard formula Used \n 2 * d * sin(theta) = n * lambda ")
+theta_rad = asin ( (n * lambda) / ( 2 * d)) //calculation of angle for secondary maxima in radian
+theta_deg = theta_rad * 180 / %pi //calculation of angle for secondary maxima in degree
+printf ("\n Angle for secondary maxima is %d. ", theta_deg )
+
|