Chapter 10 Solid Solutions and Phase Equilibrium

Example 10_6 pgno:391

In [1]:
#INITIALISATION OF VARIABLES
c1=2;#NO.of independent Chemical components at 1300 celsius
p1=1;#No.of phases at 1300 celsius
c2=2;#NO.of independent Chemical components at 1250 celsius
p2=2;#No.of phases at 1250 celsius
c3=2;#NO.of independent Chemical components at 1200 celsius
p3=1;#No.of phases at 1200 celsius
#CALCULATIONS
f1=1+c1-p1;#Degrees of freedom of both Copper and NIckel at 1300 celsius 
f2=1+c2-p2;#Degrees of freedom of both Copper and NIckel at 1250 celsius
f3=1+c3-p3;#Degrees of freedom of both Copper and NIckel at 1200 celsius
print "Degrees of freedom of both Copper and NIckel at 1300 celsius ",f1
print "Degrees of freedom of both Copper and NIckel at 1250 celsius ",f2
print "Degrees of freedom of both Copper and NIckel at 1200 celsius ",f3
Degrees of freedom of both Copper and NIckel at 1300 celsius  2
Degrees of freedom of both Copper and NIckel at 1250 celsius  1
Degrees of freedom of both Copper and NIckel at 1200 celsius  2

Example 10_8 pgno:393

In [2]:
# Initialisation of Variables
Nia=40.;#no, of grams of nickel in alloy at alla temperature
NiL=32.;#Mass of Nickel present in Liquid
Nialpha=45.;#Mass of NIckel present in alpha
#CALCULATIONS
x=(Nia-NiL)/(Nialpha-NiL);#Mass fraction of alloy in percent
print "Mass fraction of alloy in percent:",round(x,2)
print"By converting 62percent alpha and 38percent Liquid are present.:"
Mass fraction of alloy in percent: 0.62
By converting 62percent alpha and 38percent Liquid are present.:

Example 10_9 pgno:395

In [3]:
# Initialisation of Variables
NiL=37.;# percentage of NI the Liquid contains at 1270 degree celsius
NiS=50.;#percentage of NI the Solid contains at 1270 degree celsius
NiL2=32.;#percentage of NI the Liquidcontains at 1250 degree celsius
NiS2=45.;#percentage of NI the Solid contains at 1250 degree celsius
NiS3=40.;#percentage of NI the Solid contains at 1200 degree celsius
NiL3=40.;#percentage of NI the Liquid contains at 1300 degree celsius
#CALCULATIONS
L=((NiS-NiL3)/(NiS-NiL))*100;#Percentage of Liquid at 1270 degree celsius 
S=((NiS3-NiL)/(NiS-NiL))*100;#Percentage of Solid qt 1270 degree celsius
L2=((NiS2-NiL3)/(NiS2-NiL2))*100;#Percentage of Liquid at 1250 degree celsius 
S2=((NiS3-NiL2)/(NiS2-NiL2))*100;#Percentage of Solid qt 1250 degree celsius
print "At 1300 degree celsius only one phase so 100 percent Liquid"
print "Percentage of Liquid at 1270 degree celsius :",round(L)
print "Percentage of Solid qt 1270 degree celsius:",round(S)
print "Percentage of Liquid at 1250 degree celsius :",round(L2)
print "Percentage of Solid at 1250 degree celsius:",round(S2)
print "At 1200 degree celsius only one phase so 100 percent Solid "
At 1300 degree celsius only one phase so 100 percent Liquid
Percentage of Liquid at 1270 degree celsius : 77.0
Percentage of Solid qt 1270 degree celsius: 23.0
Percentage of Liquid at 1250 degree celsius : 38.0
Percentage of Solid at 1250 degree celsius: 62.0
At 1200 degree celsius only one phase so 100 percent Solid