summaryrefslogtreecommitdiff
path: root/1085/CH3/EX3.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1085/CH3/EX3.18
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 '1085/CH3/EX3.18')
-rwxr-xr-x1085/CH3/EX3.18/ex3_18.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1085/CH3/EX3.18/ex3_18.sce b/1085/CH3/EX3.18/ex3_18.sce
new file mode 100755
index 000000000..2969afd12
--- /dev/null
+++ b/1085/CH3/EX3.18/ex3_18.sce
@@ -0,0 +1,10 @@
+//Exam:3.18
+clc;
+clear;
+close;
+A=55.8;//atomic weight of Fe
+n=2;//number of atoms per unit cell
+N=6.02*10^(26);//Avogadro's number
+p=7.87*10^3;//density of Fe(in kg/m^3)
+a=((A*n/(N*p))^(1/3))*10^10;//Value of lattice constant
+disp(a,'Value of lattice constant(in A)='); \ No newline at end of file