diff options
Diffstat (limited to '3840/CH3/EX3.7/Ex3_7.sce')
-rw-r--r-- | 3840/CH3/EX3.7/Ex3_7.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3840/CH3/EX3.7/Ex3_7.sce b/3840/CH3/EX3.7/Ex3_7.sce new file mode 100644 index 000000000..e08b3f336 --- /dev/null +++ b/3840/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,22 @@ +clear +// +// +// + +//Variable declaration +d=0.203*10**-9 //lattice spacing(m) +h=1 +k=1 +l=0 //miller indices of (110) +lamda=1.5 //wavelength of X-rays(angstrom) + +//Calculation +a=d*sqrt(h**2+k**2+l**2) //length(m) +V=a**3 //volume of unit cell(m**3) +r=sqrt(3)*a/4 //radius of atom(m) + +//Result +printf("\n length is %0.3f *10**-9 m",a*10**9) +printf("\n volume of unit cell is %0.5f *10**-27 m**3",V*10**27) +printf("\n answer for volume given in the book varies due to rounding off errors") +printf("\n radius of atom is %0.4f *10**-9 m",r*10**9) |