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 --- 296/CH1/EX1.2/eg1_2.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 296/CH1/EX1.2/eg1_2.sce (limited to '296/CH1/EX1.2/eg1_2.sce') diff --git a/296/CH1/EX1.2/eg1_2.sce b/296/CH1/EX1.2/eg1_2.sce new file mode 100755 index 000000000..a879d15c8 --- /dev/null +++ b/296/CH1/EX1.2/eg1_2.sce @@ -0,0 +1,10 @@ +disp("The plane illustrated in Fig. 1-5 has intercepts at 2a, 4b and lc along the three crystal axes. Taking the reciprocals of these intercepts, we get 1/4, 1/2,and 1. These three fractions have the same relationship to each other as the integers 2,1, and 4 (obtained by multiplying each fraction by 4).Thus the plane can be referred to as a (214) plane. The only exception is if the intercept is a fraction of the lattice constant a. In that case, we do not reduce it to the lowest set of integers.") +x = 0:0.05:2; +y = 0:0.1:4; +a=2; +b=4; +c=1; +deff('[z]=fs(x,y)','z = (1-(0.5*x)-(0.25*y))'); +//z = (1-(0.5*x)-(0.25*y)); +fplot3d(x,y,fs); + -- cgit