summaryrefslogtreecommitdiff
path: root/1367/CH5/EX5.6/5_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1367/CH5/EX5.6/5_6.sce')
-rwxr-xr-x1367/CH5/EX5.6/5_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1367/CH5/EX5.6/5_6.sce b/1367/CH5/EX5.6/5_6.sce
new file mode 100755
index 000000000..08e557ea2
--- /dev/null
+++ b/1367/CH5/EX5.6/5_6.sce
@@ -0,0 +1,12 @@
+//Find Linear Density per unit length
+//Ex:5.6
+clc;
+clear;
+close;
+a=3.61*10^-10;//unit cell in m
+r_110=2/(sqrt(2)*a);//in atoms/m
+r_a=r_110/10^3;//in atoms/mm
+disp(r_a,"Linear Density per unit length along direction [110] (in atoms/mm) =");
+r_111=1/(sqrt(3)*a);//in atoms/m
+r_b=r_111/10^3;//in atoms/mm
+disp(r_b,"Linear Density per unit length along direction [111] (in atoms/mm) =");