summaryrefslogtreecommitdiff
path: root/Materials_Science/Chapter09_1.ipynb
diff options
context:
space:
mode:
authorhardythe12015-05-05 14:21:39 +0530
committerhardythe12015-05-05 14:21:39 +0530
commitfba055ce5aa0955e22bac2413c33493b10ae6532 (patch)
treebe70ef4fccd07c9c88de778014219201b4ea971f /Materials_Science/Chapter09_1.ipynb
parent67068710030ddd6b6c809518c34af2e04e0bf7ca (diff)
downloadPython-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.gz
Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.tar.bz2
Python-Textbook-Companions-fba055ce5aa0955e22bac2413c33493b10ae6532.zip
add books
Diffstat (limited to 'Materials_Science/Chapter09_1.ipynb')
-rwxr-xr-xMaterials_Science/Chapter09_1.ipynb200
1 files changed, 200 insertions, 0 deletions
diff --git a/Materials_Science/Chapter09_1.ipynb b/Materials_Science/Chapter09_1.ipynb
new file mode 100755
index 00000000..51e1c31d
--- /dev/null
+++ b/Materials_Science/Chapter09_1.ipynb
@@ -0,0 +1,200 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:99acc61267a81b1afad3a95ee2f2b991fd04bf73d9065c7e2427d0f97c316207"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter09:Fracture of Metals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9.1:pg-200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 9.1 : difference\n",
+ "import math \n",
+ "#given data :\n",
+ "E=200*10**9; # in N/m**2\n",
+ "C=(4*10**-6)/2;# in m\n",
+ "gama=1.48; # in J/m**2\n",
+ "sigma=math.sqrt((2*E*gama)/(math.pi*C));\n",
+ "print round(sigma*10**-6),\"= fracture strength,sigma(MN/m**2) \"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "307.0 = fracture strength,sigma(MN/m**2) \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9.2:pg-200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 9.2 : the fracture strength and compare\n",
+ " \n",
+ "import math\n",
+ "#given data :\n",
+ "E=70*10**9; # in N/m**2\n",
+ "C=(4.2*10**-6)/2;# in m\n",
+ "gama=1.1; # in J/m**2\n",
+ "sigma=math.sqrt((2*E*gama)/(math.pi*C));\n",
+ "print \"{:.3e}\".format(sigma),\"= fracture strength,sigma(N/m**2) \"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "1.528e+08 = fracture strength,sigma(N/m**2) \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9.3:pg-200"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Example 9.3 : maximum length of surface\n",
+ "import math\n",
+ "\n",
+ "#given data :\n",
+ "sigma=36;#in MN/m**2\n",
+ "gama=0.27;# in J/m**2\n",
+ "E=70*10**9;#in N/m**2\n",
+ "C=((2*E*gama)/(sigma**2*math.pi))*10**-6;\n",
+ "C2=2*C;\n",
+ "print round(C2,3),\"= maximum length of surface flow,C2(micro-m) \"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "18.568 = maximum length of surface flow,C2(micro-m) \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9.4a:pg-203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Example 9.4.a: Temperature\n",
+ " \n",
+ "import math\n",
+ "E=350;# in GN/m**2\n",
+ "Y=2;# in J/m**2\n",
+ "C=2;# in micro meter\n",
+ "sg=math.sqrt((2*E*10**9*Y)/(math.pi*C*10**-6));# IN mn/M**2\n",
+ "e=10**-2;# per second\n",
+ "T=173600/(round(sg*10**-6)-20.6-61.3*(math.log10(e)));# in kelvin\n",
+ "print round(T,1),\"= temperature in kelvin for ductile to brittle transition at a strain rate of 10**-2 per second\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "302.4 = temperature in kelvin for ductile to brittle transition at a strain rate of 10**-2 per second\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex9.4b:pg-203"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# Example 9.4.b: Temperature\n",
+ "import math\n",
+ "\n",
+ "E=350;# in GN/m**2\n",
+ "Y=2;# in J/m**2\n",
+ "C=2;# in micro meter\n",
+ "sg=math.sqrt((2*E*10**9*Y)/(math.pi*C*10**-6));# IN mn/M**2\n",
+ "e=10**-5;# per second\n",
+ "T=173600/(round(sg*10**-6)-20.6-61.3*(math.log10(e)));# in kelvin\n",
+ "print round(T),\"= temperature in kelvin for ductile to brittle transition at a strain rate of 10**-5 per second\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "229.0 = temperature in kelvin for ductile to brittle transition at a strain rate of 10**-5 per second\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file