From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3411/CH5/EX5.12.u1/Ex5_12_u1.sce | 14 ++++++++++++++ 3411/CH5/EX5.12.u1/Ex5_12_u1.txt | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 3411/CH5/EX5.12.u1/Ex5_12_u1.sce create mode 100644 3411/CH5/EX5.12.u1/Ex5_12_u1.txt (limited to '3411/CH5/EX5.12.u1') diff --git a/3411/CH5/EX5.12.u1/Ex5_12_u1.sce b/3411/CH5/EX5.12.u1/Ex5_12_u1.sce new file mode 100644 index 000000000..35bb1c6fd --- /dev/null +++ b/3411/CH5/EX5.12.u1/Ex5_12_u1.sce @@ -0,0 +1,14 @@ +//Example 5_12_u1 +clc(); +clear; +//To determine the cubic structure of element and lattice constant and to identify element +ratio=(sin(20*%pi/180)/sin(29*%pi/180))^2 +printf("The ratio of sin(theta)^2 values for first and second angles is %.2f\n Hence the crystal structure is bcc\n",ratio) +lamda=0.154 //units in nm +h=1 +k=1 +l=0 +theta=20 //units in degrees +a=(lamda/2)*(sqrt(sqrt(h^2+k^2+l^2)/sin(theta*(%pi/180))^2)) //units in nm +printf("Lattice constant a=%.3fnm \n And the element is tungsten Since Tungsten has lattice constant of %.3fnm and crystallizes in bcc structure",a,a) +//Given in textbook lattice constant as a=0.318nm but the correct answer is a=0.268nm diff --git a/3411/CH5/EX5.12.u1/Ex5_12_u1.txt b/3411/CH5/EX5.12.u1/Ex5_12_u1.txt new file mode 100644 index 000000000..59d8efafb --- /dev/null +++ b/3411/CH5/EX5.12.u1/Ex5_12_u1.txt @@ -0,0 +1,4 @@ +The ratio of sin(theta)^2 values for first and second angles is 0.50 + Hence the crystal structure is bcc +Lattice constant a=0.268nm + And the element is tungsten Since Tungsten has lattice constant of 0.268nm and crystallizes in bcc structure \ No newline at end of file -- cgit