diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1586/CH4/EX4.3/EXP4_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1586/CH4/EX4.3/EXP4_3.sce')
-rw-r--r-- | 1586/CH4/EX4.3/EXP4_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1586/CH4/EX4.3/EXP4_3.sce b/1586/CH4/EX4.3/EXP4_3.sce new file mode 100644 index 000000000..96c30452e --- /dev/null +++ b/1586/CH4/EX4.3/EXP4_3.sce @@ -0,0 +1,20 @@ +clc;funcprot(0);//EXAMPLE 4.3
+// Initialisation of Variables
+a01=0.2866;............//The Lattice parameter of BCC in nm
+a02=0.3571;............//The Lattice parameter of FCC in nm
+r=0.071;............//Radius of carbon atom in nm
+ni1=12;..........//No. of interstitial sites per unit cell for BCC
+ni2=4;...........//No. of interstitial sites per unit cell for FCC
+//CALCULATIONS
+Rb=(sqrt(3)*a01)/4;.......//Radius of iron atom in nm
+Ri1=sqrt(0.3125*a01^2)-Rb;.......// Interstitial Radius of iron atom in nm
+Rf=(sqrt(2)*a02)/4;.........//the radius of the iron atom in nm
+Ri2=(a02-(2*Rf))/2;................//the radius of the interstitial site in nm
+%C1=(ni1/(ni1+2))*100;...........//The atomic percentage of carbon contained in the BCC iron in percent
+%C2=(ni2/(ni2+4))*100;...........//The atomic percentage of carbon contained in the FCC iron in percent
+disp(Rb,"Radius of iron atom in nm")
+disp(Ri1,"Interstitial Radius of iron atom in nm:")
+disp(Rf,"the radius of the iron atom in nm:")
+disp(Ri2,"the radius of the interstitial site in nm:")
+disp(%C1,"The atomic percentage of carbon contained in BCC iron in percent:")
+disp(%C2,"The atomic percentage of carbon contained in FCC iron in percent:")
|