summaryrefslogtreecommitdiff
path: root/3557/CH9/EX9.7/Ex9_7.sce
blob: 5a95cd89add3463420247bb7efa73d035f50204c (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example 9.7//

xy=0.77;//wt % // composition of two phases
x1=0.50;//wt % //x1 is the overall composition
xa=0.02;//wt % //composition of two phases
a=1;//kg
ma=((xy-x1)/(xy-xa))*a
mprintf("ma = %f kg ",ma)
b=10^3;//grams //As 1 kg = 10^3grams
ma1=ma*b
mprintf ("\nma1= %i g",ma1)