summaryrefslogtreecommitdiff
path: root/1586/CH10/EX10.11/EXP10_11.sce
blob: e52156693c285adbd521f3556e83e5fd365c4b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc;funcprot(0);//EXAMPLE 10.11
// Initialisation of Variables
W=123.2;.....//The molecular weight of zirconia (ZrO2) 
W2=285.2;.....//The molecular weight of Yttyium
N1=0.91;....//No. of moles of Zirconia in YSZ
N2=0.09;.....//No. of moles of Yttria in YSZ
Wy=2000;....//Weight of YSZ in g
//CALCULATIONS
M1=N1*W;.......//The mass of 0.91 moles of zirconia in g
M2=N2*W2;.......//The mass of 0.09 moles of Yttria in g
%W1=M1/(M1+M2);.....//The weight fraction of zirconia in this 9 mol.% YSZ material
%W2=1-%W1;....//The weight fraction of yttria in this 9 mol.% YSZ material
Z=Wy*%W1;....//The amount of Zirconia in g
disp(M1,"he mass of 0.91 moles of zirconia in g:")
disp(M2,"The mass of 0.09 moles of Yttria in g:")
disp(%W1,"The mass of 0.91 moles of zirconia in g:")
disp(%W2,"The weight fraction of yttria in this 9 mol.% YSZ material:")
disp(Z,"The amount of Zirconia in g")