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/CH5/EX5.5/EXP5_5.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/CH5/EX5.5/EXP5_5.sce')
-rw-r--r-- | 1586/CH5/EX5.5/EXP5_5.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/1586/CH5/EX5.5/EXP5_5.sce b/1586/CH5/EX5.5/EXP5_5.sce new file mode 100644 index 000000000..1c3c9449a --- /dev/null +++ b/1586/CH5/EX5.5/EXP5_5.sce @@ -0,0 +1,26 @@ +clc;funcprot(0);//EXAMPLE 5.5
+// Initialisation of Variables
+N=1;..........//N0. of atoms on one side of iron bar
+H=1;..........//No. of atoms onother side of iron bar
+d=3;.......//Diameter of an impermeable cylinder in cm
+l=10;.....//Length of an impermeable cylinder in cm
+A1=50*10^18*N;..........// No. of gaseous Atoms per cm^3 on one side
+A2=50*10^18*H;..........//No. of gaseous Atom per cm^3 on one side
+B1=1*10^18*N;...........//No. of gaseous atoms per cm^3 on another side
+B2=1*10^18*H;..........//No. of gaseous atoms per cm^3 on another side
+t=973;...........//The di¤usion coefficient of nitrogen in BCC iron at 700 degree celsius in K
+Q=18300;.........//The activation energy for di¤usion of Ceramic
+Do=0.0047;.......//The pre-exponential term of ceramic
+R=1.987;.........//Gas constant in cal/mol.K
+//CALCULATIONS
+T=A1*(%pi/4)*d^2*l;....//The total number of nitrogen atoms in the container in N atoms
+LN=0.01*T/3600;......//The maximum number of atoms to be lost per second in N atoms per Second
+JN=LN/((%pi/4)*d^2);.........//The Flux of ceramic in Natoms per cm^2. sec.
+Dn=Do*exp(-Q/(R*t));........//The di¤usion coefficient of Ceramic in cm^2/Sec
+deltaX=Dn*(A1-B1)/JN;.........//minimum thickness of the membrane in cm
+LH=0.90*T/3600;........//Hydrogen atom loss per sec.
+JH=LH/((%pi/4)*d^2);.........//The Flux of ceramic in Hatoms per cm^2. sec.
+Dh=Do*exp(-Q/(R*t));........//The di¤usion coeficient of Ceramic in cm^2/Sec
+deltaX2=((1.86*10^-4)*(A2-B2))/JH;.......//Minimum thickness of the membrane in cm
+disp(deltaX,"Minimum thickness of the membrane of Natoms in cm")
+disp(deltaX2,"Minimum thickness of the membrane of Hatoms in cm")
|