summaryrefslogtreecommitdiff
path: root/Materials_science_and_engineering_an_introduction/CH9.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Materials_science_and_engineering_an_introduction/CH9.ipynb')
-rw-r--r--Materials_science_and_engineering_an_introduction/CH9.ipynb11
1 files changed, 0 insertions, 11 deletions
diff --git a/Materials_science_and_engineering_an_introduction/CH9.ipynb b/Materials_science_and_engineering_an_introduction/CH9.ipynb
index 0953b608..0ddab2a7 100644
--- a/Materials_science_and_engineering_an_introduction/CH9.ipynb
+++ b/Materials_science_and_engineering_an_introduction/CH9.ipynb
@@ -27,15 +27,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#(a)Determination of Phases Present\n",
- "#(b)Computation of Phase Compositions\n",
"\n",
- "#Given\n",
"C1=40.0 # Overall alloy composition\n",
"Cb=98.0\n",
"Ca=10.0\n",
"\n",
- "#Calculation\n",
"Wa=(Cb-C1)/(Cb-Ca)\n",
"Wb=(C1-Ca)/(Cb-Ca)\n",
"d_Sn=7.24 # in g/cm**3 density of tin\n",
@@ -50,7 +46,6 @@
"Vb=Wb/(d_b*((Wa/d_a)+(Wb/d_b)))\n",
"\n",
"\n",
- "#Result\n",
"print\"Mass fractions for alpha and beta phases are respectively\",round(Wa,2),\"and\",round(Wb,2)\n",
"print\"Density of alpha phase is \",round(d_a,2),\"g/cm**3\"\n",
"print\"Density of beta phase is \",round(d_b,2),\"g/cm**3\"\n",
@@ -87,16 +82,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#(a)Determining ferrite and cementite phase\n",
- "#(b)Determining proeutectoid ferrite and pearlite\n",
- "#(c)Determining eutectoid ferrite\n",
"\n",
- "#Given\n",
"C0=0.35\n",
"Ca=0.022\n",
"C_Fe3C=6.7\n",
"\n",
- "#Calculation\n",
"Wa=(C_Fe3C-C0)/(C_Fe3C-Ca)\n",
"W_Fe3C=(C0-Ca)/(C_Fe3C-Ca)\n",
"C_p=0.76\n",
@@ -107,7 +97,6 @@
"Wa=(C_Fe3C-C0)/(C_Fe3C-Ca)\n",
"Wae=Wa-W_a\n",
"\n",
- "#result\n",
"print\"Mass fraction of total ferritic phase is\",round(Wa,2)\n",
"print\"Mass fraction of Fe3C is\",round(W_Fe3C,2)\n",
"print\"Mass fraction of Pearlite is\",round(Wp,2)\n",