summaryrefslogtreecommitdiff
path: root/3492/CH1/EX1.7
diff options
context:
space:
mode:
Diffstat (limited to '3492/CH1/EX1.7')
-rw-r--r--3492/CH1/EX1.7/Ex1_7.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3492/CH1/EX1.7/Ex1_7.sce b/3492/CH1/EX1.7/Ex1_7.sce
new file mode 100644
index 000000000..4aedd9331
--- /dev/null
+++ b/3492/CH1/EX1.7/Ex1_7.sce
@@ -0,0 +1,25 @@
+clc
+//Chapter1
+//Ex_1.7
+//Given
+n=4
+M_at=63.55*10^-3//Kg/mol
+NA=6.022*10^23 //mol^-1
+R=0.128// in nm
+c=8 //no.of cornersof unit cells
+f=6 //no.of faces of unit cells
+//a
+N=c*(1/8)+f*(1/2)
+disp(N,"No. of atoms per unit cells is")
+//b
+//Lattice parameter
+a=R*2*2^(1/2)
+disp(a,"Lattice Parameter in nm is")
+a=a*10^-9 //in m
+//c
+//APF=(No.of atoms in unit cell)*(Vol. of atom)/(Vol. of unit cell)
+APF=4^2*%pi/(3*(2*sqrt(2))^3)
+disp(APF,"Atomic Packing Factor is")
+//d
+p=n*M_at/(a^3*NA) //density
+disp(p,"density of Copper in Kg/m3 is")