summaryrefslogtreecommitdiff
path: root/539/CH3/EX3.5/Example_3_5.sce
blob: d48845fc083c54cf572d3401cafcf6d0a529066e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//Specification of Point Coordinates

clear;
clc;

printf("\tExample 3.5\n");

disp("Point coordinates for given positions of BCC cell are");

A=['Point_no','x_axis','y_axis','z_axis','Coordinates';
'  1','0','0','0','000';
'  2','1','0','0','100';
'  3','1','1','0','110';
'  4','0','1','0','010';
'  5','1/2','1/2','1/2','1/2 1/2 1/2';
'  6','0','0','1','001';
'  7','1','0','1','101';
'  8','1','1','1','111';
'  9','0','1','1','011'];

disp(A);

//End