summaryrefslogtreecommitdiff
path: root/446/CH3/EX3.1
diff options
context:
space:
mode:
Diffstat (limited to '446/CH3/EX3.1')
-rwxr-xr-x446/CH3/EX3.1/3_1.sce6
-rwxr-xr-x446/CH3/EX3.1/3_1.txt3
2 files changed, 9 insertions, 0 deletions
diff --git a/446/CH3/EX3.1/3_1.sce b/446/CH3/EX3.1/3_1.sce
new file mode 100755
index 000000000..5e4c3afe5
--- /dev/null
+++ b/446/CH3/EX3.1/3_1.sce
@@ -0,0 +1,6 @@
+clear
+clc
+disp('Exa-3.1');
+w=0.250; theta=26.3;n=1 // n=1 for hydrogen atom and rest all are given values
+d=n*w/(2*sind(theta)); // bragg's law
+printf('Hence the atomic spacing is %.3f nm.',d); \ No newline at end of file
diff --git a/446/CH3/EX3.1/3_1.txt b/446/CH3/EX3.1/3_1.txt
new file mode 100755
index 000000000..e9aa3a300
--- /dev/null
+++ b/446/CH3/EX3.1/3_1.txt
@@ -0,0 +1,3 @@
+
+ Exa-3.1
+Hence the atomic spacing is 0.282 nm. \ No newline at end of file