summaryrefslogtreecommitdiff
path: root/296/CH1/EX1.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /296/CH1/EX1.3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '296/CH1/EX1.3')
-rwxr-xr-x296/CH1/EX1.3/eg1_3.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/296/CH1/EX1.3/eg1_3.sce b/296/CH1/EX1.3/eg1_3.sce
new file mode 100755
index 000000000..ad956ff42
--- /dev/null
+++ b/296/CH1/EX1.3/eg1_3.sce
@@ -0,0 +1,8 @@
+a = 5.43*10^-8; // lattice constant
+d = (1+4*0.25)/(a*a); //areal density on (100) plane
+n = 2*(6*0.5+8*0.125); //number of atoms per cube
+V = n/(a*a*a); //volume density
+disp("3)")
+disp(a,"lattice constant (in cm)=")
+disp(d,"areal density on (100) plane (in per cm square) =")
+disp(V,"volume density (in per cm cube) =") \ No newline at end of file