summaryrefslogtreecommitdiff
path: root/1865/CH3/EX3.8/prob_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1865/CH3/EX3.8/prob_8.sce')
-rw-r--r--1865/CH3/EX3.8/prob_8.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1865/CH3/EX3.8/prob_8.sce b/1865/CH3/EX3.8/prob_8.sce
new file mode 100644
index 000000000..b2d74426f
--- /dev/null
+++ b/1865/CH3/EX3.8/prob_8.sce
@@ -0,0 +1,11 @@
+
+//Problem 8
+//calculate the wavelength of X-rays used
+clear
+clc
+d=2.81//interplanar spacing in A
+n=1//order of beam
+x=10//angle of first order beam with the incident beam
+y=x/2//angle of incident
+w=2*d*sind(y)// wavelength of X-rays used in A
+printf('wavelength of X-rays used = %.2f A',w) \ No newline at end of file