diff options
Diffstat (limited to '1026/CH9/EX9.6/Example9_6.sce')
-rwxr-xr-x | 1026/CH9/EX9.6/Example9_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1026/CH9/EX9.6/Example9_6.sce b/1026/CH9/EX9.6/Example9_6.sce new file mode 100755 index 000000000..4089599f4 --- /dev/null +++ b/1026/CH9/EX9.6/Example9_6.sce @@ -0,0 +1,13 @@ +//chapter9,Example9_6,pg 239
+
+a=3.615*10^-10
+
+d111=a/sqrt(1+1+1)//for 111 plane
+
+theta=21.7*(%pi/180)//converting into radian
+
+lam=2*d111*sin(theta)
+
+printf("wavelength of X-rays\n")
+
+disp(lam)
\ No newline at end of file |