summaryrefslogtreecommitdiff
path: root/Materials_science_and_engineering_an_introduction/CH7.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Materials_science_and_engineering_an_introduction/CH7.ipynb')
-rw-r--r--Materials_science_and_engineering_an_introduction/CH7.ipynb17
1 files changed, 0 insertions, 17 deletions
diff --git a/Materials_science_and_engineering_an_introduction/CH7.ipynb b/Materials_science_and_engineering_an_introduction/CH7.ipynb
index ffef5715..262231ec 100644
--- a/Materials_science_and_engineering_an_introduction/CH7.ipynb
+++ b/Materials_science_and_engineering_an_introduction/CH7.ipynb
@@ -27,21 +27,17 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Resolved Shear Stress Computations\n",
"\n",
- "#Direction for given plane\n",
"u1=1\n",
"v1=1\n",
"w1=0\n",
"u2=0\n",
"v2=1\n",
"w2=0\n",
- "#For lamda\n",
"u3=-1\n",
"v3=1\n",
"w3=1\n",
"\n",
- "#Calculation\n",
"import math\n",
"phi=math.acos((u1*u2+v1*v2+w1*w2)/(math.sqrt((u1**2+v1**2+w1**2)*(u2**2+v2**2+w2**2))))\n",
"lam=math.acos((u3*u2+v3*v2+w3*w2)/(math.sqrt((u3**2+v3**2+w3**2)*(u2**2+v2**2+w2**2))))\n",
@@ -50,7 +46,6 @@
"trc=30 #in MPa Critical resolved shear stress\n",
"sy=trc/(math.cos(phi)*math.cos(lam))\n",
"\n",
- "#Result\n",
"print\"(a)The resolved shear stress is \",round(tr,2),\"MPa\"\n",
"print\"(b)Yield strength is\",round(sy,1),\"MPa\"\n",
"\n"
@@ -81,18 +76,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Tensile Strength and Ductility Determinations for Cold-Worked Copper\n",
"\n",
- "#Given\n",
"df=12.2 #Final dia in mm\n",
"di=15.2 #Initial dia in mm\n",
"\n",
- "#Calculation\n",
"CW = ((di**2-df**2)/di**2)*100\n",
"ts=340 #in Mpa tensile strength, from fig 7.19 (b)\n",
"duc=7 #in % Ductility from fig 7.19 (c)\n",
"\n",
- "#result\n",
"print\"Percent Cold Work is \",round(CW,1),\"%\"\n",
"print\"Tensile strength is\",ts,\"MPa\"\n",
"print\"Ductility is \",duc,\"%\"\n",
@@ -125,21 +116,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Description of Diameter Reduction Procedure\n",
"\n",
- "#Given\n",
"di=6.4 #Initial dia in mm\n",
"df=5.1 #Final dia in mm\n",
"\n",
- "#Calculation\n",
- "#Cold Work Computation\n",
"CW = ((di**2-df**2)/di**2)*100\n",
- "#From Figures 7.19a and 7.19c, \n",
- "#A yield strength of 410 MPa \n",
- "#And a ductility of 8% EL are attained from this deformation\n",
"dmid = math.sqrt(df**2/(1-0.215))\n",
"\n",
- "#Result\n",
"print\"Cold work is \",round(CW,1),\"%\"\n",
"print\"But required ductility and yield strength is not matched at this cold work\"\n",
"print\"Hence required Cold work is 21.5 %\"\n",