summaryrefslogtreecommitdiff
path: root/backup/Machine_Design_by_U.C._Jindal_version_backup
diff options
context:
space:
mode:
Diffstat (limited to 'backup/Machine_Design_by_U.C._Jindal_version_backup')
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch10.ipynb258
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch10_1.ipynb264
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch11.ipynb434
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch11_1.ipynb440
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch12.ipynb442
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch12_1.ipynb444
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch13.ipynb284
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch13_1.ipynb291
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch14.ipynb412
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch14_1.ipynb420
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch15.ipynb341
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch15_1.ipynb349
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch16.ipynb438
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch16_1.ipynb445
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch17.ipynb362
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch17_1.ipynb366
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch18.ipynb458
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch18_1.ipynb460
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch19.ipynb382
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch19_1.ipynb389
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch20.ipynb472
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch20_1.ipynb480
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch21.ipynb346
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch21_1.ipynb350
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch22.ipynb598
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch22_1.ipynb606
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch23.ipynb438
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch23_1.ipynb442
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch24.ipynb188
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch24_1.ipynb195
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch25.ipynb380
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch25_1.ipynb387
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch26.ipynb265
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch26_1.ipynb273
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch27.ipynb461
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch27_1.ipynb468
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch28.ipynb343
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch28_1.ipynb350
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch29.ipynb258
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch29_1.ipynb264
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch3.ipynb1389
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch30.ipynb210
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch30_1.ipynb217
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch31.ipynb173
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch31_1.ipynb180
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch3_1.ipynb1391
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb266
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch4_1.ipynb271
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch5.ipynb253
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch5_1.ipynb258
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch6.ipynb370
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch6_1.ipynb378
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch7.ipynb303
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch7_1.ipynb310
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch8.ipynb832
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch8_1.ipynb838
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch9.ipynb358
-rwxr-xr-xbackup/Machine_Design_by_U.C._Jindal_version_backup/Ch9_1.ipynb361
58 files changed, 23601 insertions, 0 deletions
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10.ipynb
new file mode 100755
index 00000000..1d59c739
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10.ipynb
@@ -0,0 +1,258 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:07d8c9662c407447473b639e8ef72a48c0966dd22d390e447be5846d8f6256c8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:10 Pipes and pipe joints"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 10-1 - Page 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "sigta=140/2#\n",
+ "nt=0.75#\n",
+ "#Let the flow rate be Q\n",
+ "Q=0.25#\n",
+ "v=1.2#\n",
+ "D=1.13*sqrt(Q/v)#\n",
+ "D=520#\n",
+ "p=0.7#\n",
+ "C=9#\n",
+ "t=(p*D)/(2*sigta*nt)+C#\n",
+ "print \" t is %0.1f mm \"%(t)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " t is 12.5 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 10-2 - Page 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "p=3*8#\n",
+ "sigta=60#\n",
+ "d=150#\n",
+ "t=d/2*sqrt(((sigta+p)/(sigta-p))-1)#\n",
+ "t=75*sqrt((84/36)-1)#\n",
+ "t=40#\n",
+ "do=d+(2*t)#\n",
+ "D=d+(2*t)+20#\n",
+ "w=10#\n",
+ "Ds=d+(2*w)#\n",
+ "P=pi*(Ds**2)*8/4#\n",
+ "sigp=310#\n",
+ "FOS=4#\n",
+ "sigb=77.5#\n",
+ "At=P/(sigb*2)#\n",
+ "At=1300#\n",
+ "D=250#\n",
+ "db=45#\n",
+ "b=D#\n",
+ "a=1.8*b#\n",
+ "CD=D+(2*db*1.2)#\n",
+ "sigp=310#\n",
+ "Pr=0.75*sigp*At#\n",
+ "Pr=Pr*10**-3#\n",
+ "t=40#\n",
+ "D1=d+(2*t)+20#\n",
+ "D2=D1+(4.6*31)#\n",
+ "CD=D2-((3*t)+20)#\n",
+ "print \" Pr is %0.2f kN \"%(Pr)#\n",
+ "print \"\\n D1 is %0.0f mm \"%(D1)#\n",
+ "print \"\\n D2 is %0.1f mm \"%(D2)#\n",
+ "print \"\\n CD is %0.1f mm \"%(CD)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Pr is 302.25 kN \n",
+ "\n",
+ " D1 is 250 mm \n",
+ "\n",
+ " D2 is 392.6 mm \n",
+ "\n",
+ " CD is 252.6 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 10-3 - Page 296"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "p=14#\n",
+ "d=50#\n",
+ "sigyp=270#\n",
+ "FOS=3#\n",
+ "sigta=sigyp/FOS#\n",
+ "pt=2*p#\n",
+ "t=d/2*sqrt(((sigta+pt)/(sigta-pt))-1)#\n",
+ "t=10#\n",
+ "D1=d+(2*t)#\n",
+ "Ds=D1+20#\n",
+ "P=pi*(Ds**2)*p/4#\n",
+ "sigba=380/4#\n",
+ "At=P/(4*sigba)#\n",
+ "At=245#\n",
+ "db=20#\n",
+ "Dd=70+(2*20)+5#\n",
+ "R=db+2.5#\n",
+ "B=(Dd/sqrt(2))+(2*(db+2.5))#\n",
+ "B=127#\n",
+ "Y=Dd/(2*sqrt(2))#\n",
+ "Rm=34.12#\n",
+ "M=(P*Y/2)+(P*Rm/pi)#\n",
+ "sigfa=250/5#\n",
+ "b=127/70#\n",
+ "Z=b/6#\n",
+ "tf=sqrt(M/(sigfa*Z))#\n",
+ "tf=44#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n B is %0.0f mm \"%(B)#\n",
+ "print \"\\n R is %0.1f mm \"%(R)#\n",
+ "print \"\\n Y is %0.2f mm \"%(Y)#\n",
+ "print \"\\n tf is %0.0f mm \"%(tf)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 50 mm \n",
+ "\n",
+ " t is 10 mm \n",
+ "\n",
+ " B is 127 mm \n",
+ "\n",
+ " R is 22.5 mm \n",
+ "\n",
+ " Y is 40.66 mm \n",
+ "\n",
+ " tf is 44 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 10-4 - Page 297"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import tan\n",
+ "p=1.25#\n",
+ "D=200#\n",
+ "nt=0.75#\n",
+ "C=9#\n",
+ "sigta=20#\n",
+ "t=(p*D)/(2*sigta*nt)+C#\n",
+ "t=18#\n",
+ "D1=D+(2*t)#\n",
+ "dr=D1+10#\n",
+ "sigp=310#\n",
+ "sigba=sigp/4#\n",
+ "db=16#\n",
+ "Db=dr+32+5#\n",
+ "Do=Db+(2*db)#\n",
+ "P=pi*(251+db)**2*1.25/4#\n",
+ "n=6#\n",
+ "Y=(Db-dr)/2#\n",
+ "M=P/n*Y#\n",
+ "Z=dr*tan(30*pi/180)/6#\n",
+ "tf=sqrt(M/(sigta*Z))#\n",
+ "tf=22#\n",
+ "Deff=dr+db+5#\n",
+ "print \" D is %0.0f mm \"%(D)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Y is %0.1f mm \"%(Y)#\n",
+ "print \"\\n tf is %0.0f mm \"%(tf)#\n",
+ "print \"\\n Deff is %0.0f mm \"%(Deff)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " D is 200 mm \n",
+ "\n",
+ " t is 18 mm \n",
+ "\n",
+ " Y is 18.5 mm \n",
+ "\n",
+ " tf is 22 mm \n",
+ "\n",
+ " Deff is 267 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10_1.ipynb
new file mode 100755
index 00000000..1e74026b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch10_1.ipynb
@@ -0,0 +1,264 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:10 Pipes and pipe joints"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 10-1 - Page 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " t is 12.5 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "sigta=140/2#\n",
+ "nt=0.75#\n",
+ "#Let the flow rate be Q\n",
+ "Q=0.25#\n",
+ "v=1.2#\n",
+ "D=1.13*sqrt(Q/v)#\n",
+ "D=520#\n",
+ "p=0.7#\n",
+ "C=9#\n",
+ "t=(p*D)/(2*sigta*nt)+C#\n",
+ "print \" t is %0.1f mm \"%(t)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 10-2 - Page 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Pr is 302.25 kN \n",
+ "\n",
+ " D1 is 250 mm \n",
+ "\n",
+ " D2 is 392.6 mm \n",
+ "\n",
+ " CD is 252.6 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "p=3*8#\n",
+ "sigta=60#\n",
+ "d=150#\n",
+ "t=d/2*sqrt(((sigta+p)/(sigta-p))-1)#\n",
+ "t=75*sqrt((84/36)-1)#\n",
+ "t=40#\n",
+ "do=d+(2*t)#\n",
+ "D=d+(2*t)+20#\n",
+ "w=10#\n",
+ "Ds=d+(2*w)#\n",
+ "P=pi*(Ds**2)*8/4#\n",
+ "sigp=310#\n",
+ "FOS=4#\n",
+ "sigb=77.5#\n",
+ "At=P/(sigb*2)#\n",
+ "At=1300#\n",
+ "D=250#\n",
+ "db=45#\n",
+ "b=D#\n",
+ "a=1.8*b#\n",
+ "CD=D+(2*db*1.2)#\n",
+ "sigp=310#\n",
+ "Pr=0.75*sigp*At#\n",
+ "Pr=Pr*10**-3#\n",
+ "t=40#\n",
+ "D1=d+(2*t)+20#\n",
+ "D2=D1+(4.6*31)#\n",
+ "CD=D2-((3*t)+20)#\n",
+ "print \" Pr is %0.2f kN \"%(Pr)#\n",
+ "print \"\\n D1 is %0.0f mm \"%(D1)#\n",
+ "print \"\\n D2 is %0.1f mm \"%(D2)#\n",
+ "print \"\\n CD is %0.1f mm \"%(CD)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 10-3 - Page 296"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 50 mm \n",
+ "\n",
+ " t is 10 mm \n",
+ "\n",
+ " B is 127 mm \n",
+ "\n",
+ " R is 22.5 mm \n",
+ "\n",
+ " Y is 40.66 mm \n",
+ "\n",
+ " tf is 44 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt,pi\n",
+ "p=14#\n",
+ "d=50#\n",
+ "sigyp=270#\n",
+ "FOS=3#\n",
+ "sigta=sigyp/FOS#\n",
+ "pt=2*p#\n",
+ "t=d/2*sqrt(((sigta+pt)/(sigta-pt))-1)#\n",
+ "t=10#\n",
+ "D1=d+(2*t)#\n",
+ "Ds=D1+20#\n",
+ "P=pi*(Ds**2)*p/4#\n",
+ "sigba=380/4#\n",
+ "At=P/(4*sigba)#\n",
+ "At=245#\n",
+ "db=20#\n",
+ "Dd=70+(2*20)+5#\n",
+ "R=db+2.5#\n",
+ "B=(Dd/sqrt(2))+(2*(db+2.5))#\n",
+ "B=127#\n",
+ "Y=Dd/(2*sqrt(2))#\n",
+ "Rm=34.12#\n",
+ "M=(P*Y/2)+(P*Rm/pi)#\n",
+ "sigfa=250/5#\n",
+ "b=127/70#\n",
+ "Z=b/6#\n",
+ "tf=sqrt(M/(sigfa*Z))#\n",
+ "tf=44#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n B is %0.0f mm \"%(B)#\n",
+ "print \"\\n R is %0.1f mm \"%(R)#\n",
+ "print \"\\n Y is %0.2f mm \"%(Y)#\n",
+ "print \"\\n tf is %0.0f mm \"%(tf)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 10-4 - Page 297"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " D is 200 mm \n",
+ "\n",
+ " t is 18 mm \n",
+ "\n",
+ " Y is 18.5 mm \n",
+ "\n",
+ " tf is 22 mm \n",
+ "\n",
+ " Deff is 267 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan,sqrt,pi\n",
+ "p=1.25#\n",
+ "D=200#\n",
+ "nt=0.75#\n",
+ "C=9#\n",
+ "sigta=20#\n",
+ "t=(p*D)/(2*sigta*nt)+C#\n",
+ "t=18#\n",
+ "D1=D+(2*t)#\n",
+ "dr=D1+10#\n",
+ "sigp=310#\n",
+ "sigba=sigp/4#\n",
+ "db=16#\n",
+ "Db=dr+32+5#\n",
+ "Do=Db+(2*db)#\n",
+ "P=pi*(251+db)**2*1.25/4#\n",
+ "n=6#\n",
+ "Y=(Db-dr)/2#\n",
+ "M=P/n*Y#\n",
+ "Z=dr*tan(30*pi/180)/6#\n",
+ "tf=sqrt(M/(sigta*Z))#\n",
+ "tf=22#\n",
+ "Deff=dr+db+5#\n",
+ "print \" D is %0.0f mm \"%(D)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Y is %0.1f mm \"%(Y)#\n",
+ "print \"\\n tf is %0.0f mm \"%(tf)#\n",
+ "print \"\\n Deff is %0.0f mm \"%(Deff)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11.ipynb
new file mode 100755
index 00000000..f8fa86e3
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11.ipynb
@@ -0,0 +1,434 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:53a1ba1b803cb0b51138c9b8688085c88b0a88d5fedff21bf58ba2fdae3bfaab"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:11 Riveted joints"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-1 - Page 322"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "t=20#\n",
+ "p=100#\n",
+ "d=25#\n",
+ "sigt=40#\n",
+ "P=(p-d)*t*sigt#\n",
+ "Ts=(4*P)/(pi*d**2)#\n",
+ "sigb=P/(d*t)#\n",
+ "print \" P is %0.0f N \"%(P)#\n",
+ "print \"\\n Ts is %0.2f MPa \"%(Ts)#\n",
+ "print \"\\n sigb is %0.0f MPa \"%(sigb)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " P is 60000 N \n",
+ "\n",
+ " Ts is 122.23 MPa \n",
+ "\n",
+ " sigb is 120 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-2 - Page 322"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "t=22#\n",
+ "t1=5*t/8#\n",
+ "d=30#\n",
+ "p=100#\n",
+ "sigt=75#\n",
+ "P=(p-d)*t*sigt#\n",
+ "Ts=(2*P)/(pi*d**2)#\n",
+ "sigb=P/(d*t)#\n",
+ "P=P*10**-3\n",
+ "print \" P is %0.1f kN \"%(P)#\n",
+ "print \"\\n Ts is %0.1f MPa \"%(Ts)#\n",
+ "print \"\\n sigb is %0.0f N/mm**2 \"%(sigb)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " P is 115.5 kN \n",
+ "\n",
+ " Ts is 81.7 MPa \n",
+ "\n",
+ " sigb is 175 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-3 - Page 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "t=15#\n",
+ "t1=5*t/8#\n",
+ "d=25#\n",
+ "n=2#\n",
+ "Ta=80#\n",
+ "sigta=100#\n",
+ "sigba=120#\n",
+ "Ps=n*1.875*pi*d**2*Ta/4#\n",
+ "Pb=n*d*t*sigba#\n",
+ "p=Pb/(t*Ta)+d#\n",
+ "Pp=p*t*Ta#\n",
+ "n=Pb/Pp#\n",
+ "print \" p is %0.0f mm \"%(p)#\n",
+ "print \"\\n n is %0.2f \"%(n)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " p is 100 mm \n",
+ "\n",
+ " n is 0.00 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-4 - Page 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "b=200#\n",
+ "t=16#\n",
+ "d=6*sqrt(t)#\n",
+ "sigta=80#\n",
+ "Ta=60#\n",
+ "sigba=100#\n",
+ "Pt=(b-d)*t*sigta#\n",
+ "Ps=1.875*pi*d**2*Ta/4#\n",
+ "Pb=d*t*sigba#\n",
+ "n1=Pt/Pb#\n",
+ "n1=6#\n",
+ "Pt2=((b-(2*d))*t*sigta)+Pb#\n",
+ "Pt3=((b-(3*d))*t*sigta)+(3*Pb)#\n",
+ "Pp=b*t*sigta#\n",
+ "n2=Pt/Pp#\n",
+ "n2=n2*100#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n n1 is %0.0f \"%(n1)#\n",
+ "print \"\\n Pt is %0.0f N \"%(Pt)#\n",
+ "print \"\\n Pt2 is %0.0f N \"%(Pt2)#\n",
+ "print \"\\n Pt3 is %0.0f N \"%(Pt3)#\n",
+ "print \"\\n n2 is %0.0f \"%(n2)#\n",
+ "#Answer to strength of rivet in bearing 'Pb' is calculated incorrectly in the book, hence Pt2,Pt3 is calculated subsequently incorrect."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 24 mm \n",
+ "\n",
+ " n1 is 6 \n",
+ "\n",
+ " Pt is 225280 N \n",
+ "\n",
+ " Pt2 is 232960 N \n",
+ "\n",
+ " Pt3 is 279040 N \n",
+ "\n",
+ " n2 is 88 \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-5 - Page 324"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan\n",
+ "a=50#\n",
+ "b=75#\n",
+ "P=36*10**3#\n",
+ "d=24#\n",
+ "Ta=60#\n",
+ "n=9#\n",
+ "A=pi*d**2/4#\n",
+ "Td=P/(n*A)#\n",
+ "theta=atan(b/a)#\n",
+ "Ts=54.64#\n",
+ "r2=90.184#\n",
+ "e=A*29575.7/P#\n",
+ "print \" e is %0.1f mm \"%(e)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " e is 371.7 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-6 - Page 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=12*10**3#\n",
+ "Tmax=100#\n",
+ "n=6#\n",
+ "e=50+50+(5/2)#\n",
+ "T=P*e#\n",
+ "Td=P/n#\n",
+ "ra=125#\n",
+ "k=T/((2*125**2)+(2*75**2)+(2*25**2))#\n",
+ "Tr=(k*ra)+Td#\n",
+ "A=Tr/Tmax#\n",
+ "d=sqrt(A*4/pi)#\n",
+ "d=12#\n",
+ "print \" d is %0.0f mm \"%(d)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 12 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-7 - Page 326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "t=15#\n",
+ "d=6*sqrt(t)#\n",
+ "d=24#\n",
+ "sigta=75#\n",
+ "sigba=105#\n",
+ "Ta=60#\n",
+ "n=4#\n",
+ "Pt=n*pi*d**2*Ta/4#\n",
+ "x=d*t*sigta#\n",
+ "y=2*t*sigta#\n",
+ "p=(Pt+x)/y#\n",
+ "p=60#\n",
+ "C=4.17#\n",
+ "pmax=(C*t)+41.28#\n",
+ "Pt1=(y*p)-x#\n",
+ "Ps=n*pi*d**2*Ta/4#\n",
+ "Pb=n*d*t*sigba#\n",
+ "S=2*p*t*sigta#\n",
+ "n=Pt1/S#\n",
+ "n=n*100#\n",
+ "print \" n is %0.f \"%(n)# "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " n is 80 \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-8 - Page 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=1500#\n",
+ "p=2#\n",
+ "nt=0.75#\n",
+ "sigut=420#\n",
+ "FOS=5#\n",
+ "sigta=sigut/FOS#\n",
+ "t=p*D/(2*sigta*nt)#\n",
+ "t=24#\n",
+ "d=6*sqrt(t)#\n",
+ "d=30#\n",
+ "Ta=330/5#\n",
+ "sigba=640/5#\n",
+ "Ps=2*1.875*pi*(d**2)*Ta/4#\n",
+ "p=(Ps/(t*sigta))+d#\n",
+ "p=117#\n",
+ "t1=5*t/8#\n",
+ "Pt=(p-d)*t*sigta#\n",
+ "Pp=p*t*sigta#\n",
+ "Pb=2*d*t*sigba#\n",
+ "n=Ps/Pb#\n",
+ "n=n*100#\n",
+ "print \" n is %0.0f \"%(n)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " n is 95 \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 11-9 - Page 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=1200#\n",
+ "p=2.5#\n",
+ "sigba=110#\n",
+ "Pa=pi*D**2*p/4#\n",
+ "nt=0.8#\n",
+ "sigta=80#\n",
+ "t=p*D/(2*sigta*nt)#\n",
+ "t=24#\n",
+ "d=6*sqrt(t)#\n",
+ "d=30#\n",
+ "Ta=55#\n",
+ "Ps=pi*(d**2)*Ta/4#\n",
+ "Np=Pa/Ps#\n",
+ "Np=74#\n",
+ "nr=Np/2#\n",
+ "p=pi*(D+t)/nr#\n",
+ "pb=2*d#\n",
+ "m=1.5*d#\n",
+ "Pt=(p-d)*t*sigta#\n",
+ "Ps=2*Ps#\n",
+ "Pb=2*d*t*sigba#\n",
+ "Pp=p*t*sigta#\n",
+ "n=Ps/Pp#\n",
+ "n=n*100#\n",
+ "print \" n is %0.0f \"%(n)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " n is 39 \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11_1.ipynb
new file mode 100755
index 00000000..81cd13ac
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch11_1.ipynb
@@ -0,0 +1,440 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:11 Riveted joints"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-1 - Page 322"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " P is 60000 N \n",
+ "\n",
+ " Ts is 122.23 MPa \n",
+ "\n",
+ " sigb is 120 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "t=20#\n",
+ "p=100#\n",
+ "d=25#\n",
+ "sigt=40#\n",
+ "P=(p-d)*t*sigt#\n",
+ "Ts=(4*P)/(pi*d**2)#\n",
+ "sigb=P/(d*t)#\n",
+ "print \" P is %0.0f N \"%(P)#\n",
+ "print \"\\n Ts is %0.2f MPa \"%(Ts)#\n",
+ "print \"\\n sigb is %0.0f MPa \"%(sigb)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-2 - Page 322"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " P is 115.5 kN \n",
+ "\n",
+ " Ts is 81.7 MPa \n",
+ "\n",
+ " sigb is 175 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "t=22#\n",
+ "t1=5*t/8#\n",
+ "d=30#\n",
+ "p=100#\n",
+ "sigt=75#\n",
+ "P=(p-d)*t*sigt#\n",
+ "Ts=(2*P)/(pi*d**2)#\n",
+ "sigb=P/(d*t)#\n",
+ "P=P*10**-3\n",
+ "print \" P is %0.1f kN \"%(P)#\n",
+ "print \"\\n Ts is %0.1f MPa \"%(Ts)#\n",
+ "print \"\\n sigb is %0.0f N/mm**2 \"%(sigb)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-3 - Page 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " p is 100 mm \n",
+ "\n",
+ " n is 0.00 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "t=15#\n",
+ "t1=5*t/8#\n",
+ "d=25#\n",
+ "n=2#\n",
+ "Ta=80#\n",
+ "sigta=100#\n",
+ "sigba=120#\n",
+ "Ps=n*1.875*pi*d**2*Ta/4#\n",
+ "Pb=n*d*t*sigba#\n",
+ "p=Pb/(t*Ta)+d#\n",
+ "Pp=p*t*Ta#\n",
+ "n=Pb/Pp#\n",
+ "print \" p is %0.0f mm \"%(p)#\n",
+ "print \"\\n n is %0.2f \"%(n)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-4 - Page 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 24 mm \n",
+ "\n",
+ " n1 is 6 \n",
+ "\n",
+ " Pt is 225280 N \n",
+ "\n",
+ " Pt2 is 232960 N \n",
+ "\n",
+ " Pt3 is 279040 N \n",
+ "\n",
+ " n2 is 88 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "b=200#\n",
+ "t=16#\n",
+ "d=6*sqrt(t)#\n",
+ "sigta=80#\n",
+ "Ta=60#\n",
+ "sigba=100#\n",
+ "Pt=(b-d)*t*sigta#\n",
+ "Ps=1.875*pi*d**2*Ta/4#\n",
+ "Pb=d*t*sigba#\n",
+ "n1=Pt/Pb#\n",
+ "n1=6#\n",
+ "Pt2=((b-(2*d))*t*sigta)+Pb#\n",
+ "Pt3=((b-(3*d))*t*sigta)+(3*Pb)#\n",
+ "Pp=b*t*sigta#\n",
+ "n2=Pt/Pp#\n",
+ "n2=n2*100#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n n1 is %0.0f \"%(n1)#\n",
+ "print \"\\n Pt is %0.0f N \"%(Pt)#\n",
+ "print \"\\n Pt2 is %0.0f N \"%(Pt2)#\n",
+ "print \"\\n Pt3 is %0.0f N \"%(Pt3)#\n",
+ "print \"\\n n2 is %0.0f \"%(n2)#\n",
+ "#Answer to strength of rivet in bearing 'Pb' is calculated incorrectly in the book, hence Pt2,Pt3 is calculated subsequently incorrect."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-5 - Page 324"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " e is 371.7 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan\n",
+ "a=50#\n",
+ "b=75#\n",
+ "P=36*10**3#\n",
+ "d=24#\n",
+ "Ta=60#\n",
+ "n=9#\n",
+ "A=pi*d**2/4#\n",
+ "Td=P/(n*A)#\n",
+ "theta=atan(b/a)#\n",
+ "Ts=54.64#\n",
+ "r2=90.184#\n",
+ "e=A*29575.7/P#\n",
+ "print \" e is %0.1f mm \"%(e)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-6 - Page 325"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 12 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "P=12*10**3#\n",
+ "Tmax=100#\n",
+ "n=6#\n",
+ "e=50+50+(5/2)#\n",
+ "T=P*e#\n",
+ "Td=P/n#\n",
+ "ra=125#\n",
+ "k=T/((2*125**2)+(2*75**2)+(2*25**2))#\n",
+ "Tr=(k*ra)+Td#\n",
+ "A=Tr/Tmax#\n",
+ "d=sqrt(A*4/pi)#\n",
+ "d=12#\n",
+ "print \" d is %0.0f mm \"%(d)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-7 - Page 326"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " n is 80 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt,pi\n",
+ "t=15#\n",
+ "d=6*sqrt(t)#\n",
+ "d=24#\n",
+ "sigta=75#\n",
+ "sigba=105#\n",
+ "Ta=60#\n",
+ "n=4#\n",
+ "Pt=n*pi*d**2*Ta/4#\n",
+ "x=d*t*sigta#\n",
+ "y=2*t*sigta#\n",
+ "p=(Pt+x)/y#\n",
+ "p=60#\n",
+ "C=4.17#\n",
+ "pmax=(C*t)+41.28#\n",
+ "Pt1=(y*p)-x#\n",
+ "Ps=n*pi*d**2*Ta/4#\n",
+ "Pb=n*d*t*sigba#\n",
+ "S=2*p*t*sigta#\n",
+ "n=Pt1/S#\n",
+ "n=n*100#\n",
+ "print \" n is %0.f \"%(n)# "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-8 - Page 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " n is 95 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "D=1500#\n",
+ "p=2#\n",
+ "nt=0.75#\n",
+ "sigut=420#\n",
+ "FOS=5#\n",
+ "sigta=sigut/FOS#\n",
+ "t=p*D/(2*sigta*nt)#\n",
+ "t=24#\n",
+ "d=6*sqrt(t)#\n",
+ "d=30#\n",
+ "Ta=330/5#\n",
+ "sigba=640/5#\n",
+ "Ps=2*1.875*pi*(d**2)*Ta/4#\n",
+ "p=(Ps/(t*sigta))+d#\n",
+ "p=117#\n",
+ "t1=5*t/8#\n",
+ "Pt=(p-d)*t*sigta#\n",
+ "Pp=p*t*sigta#\n",
+ "Pb=2*d*t*sigba#\n",
+ "n=Ps/Pb#\n",
+ "n=n*100#\n",
+ "print \" n is %0.0f \"%(n)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 11-9 - Page 327"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " n is 39 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "D=1200#\n",
+ "p=2.5#\n",
+ "sigba=110#\n",
+ "Pa=pi*D**2*p/4#\n",
+ "nt=0.8#\n",
+ "sigta=80#\n",
+ "t=p*D/(2*sigta*nt)#\n",
+ "t=24#\n",
+ "d=6*sqrt(t)#\n",
+ "d=30#\n",
+ "Ta=55#\n",
+ "Ps=pi*(d**2)*Ta/4#\n",
+ "Np=Pa/Ps#\n",
+ "Np=74#\n",
+ "nr=Np/2#\n",
+ "p=pi*(D+t)/nr#\n",
+ "pb=2*d#\n",
+ "m=1.5*d#\n",
+ "Pt=(p-d)*t*sigta#\n",
+ "Ps=2*Ps#\n",
+ "Pb=2*d*t*sigba#\n",
+ "Pp=p*t*sigta#\n",
+ "n=Ps/Pp#\n",
+ "n=n*100#\n",
+ "print \" n is %0.0f \"%(n)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12.ipynb
new file mode 100755
index 00000000..21de3f82
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12.ipynb
@@ -0,0 +1,442 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:24bbadb74dcdce0a144766279891314e41406bba0c41d580bf7981786895ce30"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:12 Welded joints"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-1 - Page 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "h=8#\n",
+ "F=100*10**3#\n",
+ "t=0.707*h#\n",
+ "A=4*60*t#\n",
+ "T=F/A#\n",
+ "print \"T is %0.1f MPa \"%(T)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T is 73.7 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-2 - Page 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "FOS=3#\n",
+ "Ta=95/FOS#\n",
+ "P=350*10**3#\n",
+ "h=12.5#\n",
+ "t=0.707*h#\n",
+ "l=P/(2*t*Ta)#\n",
+ "print \"l is %0.0f mm \"%(l)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "l is 639 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-3 - Page 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "h=12#\n",
+ "t=0.707*h#\n",
+ "l=60#\n",
+ "Ta=80#\n",
+ "P=2*l*t*Ta#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f kN \"%(P)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 81.446 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-4 - Page 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin, pi, cos, sqrt\n",
+ "P=6*10**3#\n",
+ "e=150+(100/2)#\n",
+ "T=P*e#\n",
+ "A=200#\n",
+ "Td=P/A#\n",
+ "r=sqrt(2*50**2)#\n",
+ "Ixx=2*(100*50**2)#\n",
+ "Iyy=2*100**3/12#\n",
+ "IG=Ixx+Iyy#\n",
+ "Ts=r*T/IG#\n",
+ "Tmax=sqrt((Ts*sin(45*pi/180))**2+(Td+(Ts*cos(45*pi/180)))**2)#\n",
+ "Ta=80#\n",
+ "t=Tmax/Ta#\n",
+ "h=sqrt(2)*t#\n",
+ "h=3#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "h is 3 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-5 - Page 349"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "h=10#\n",
+ "t=10/sqrt(2)#\n",
+ "Ta=80#\n",
+ "x=((50*25)+(50*0))/(50+50)#\n",
+ "y=x#\n",
+ "ra=sqrt(x**2+37.5**2)#\n",
+ "Ixx=(7.07*50**3/12)+(50*7.07*(12.5**2))+(50*7.07*12.5**2)#\n",
+ "IG=2*Ixx#\n",
+ "e=100+(50-12.5)#\n",
+ "Tr=16.09*10**-3#\n",
+ "P=Ta/Tr#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f KN \"%(P)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 4.972 KN \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-6 - Page 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=16*10**3#\n",
+ "l=300#\n",
+ "r=50#\n",
+ "M=P*l#\n",
+ "A=2*pi*r#\n",
+ "Ixx=pi*r**3#\n",
+ "sigb=M*r/Ixx#\n",
+ "Td=P/A#\n",
+ "Tmax=sqrt((sigb/2)**2+(Td**2))#\n",
+ "Ta=90#\n",
+ "t=Tmax/Ta#\n",
+ "h=sqrt(2)*t#\n",
+ "h=5#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "h is 5 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-7 - Page 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigut=415#\n",
+ "sige=sigut/3#\n",
+ "Ka=0.5#\n",
+ "Kb=0.85#\n",
+ "Kc=0.897#\n",
+ "SCF=1.5#\n",
+ "Kd=1/SCF#\n",
+ "FOS=2#\n",
+ "sige1=sige*Ka*Kb*Kc*Kd/FOS#\n",
+ "Pa=50*10**3#\n",
+ "h=10#\n",
+ "t=0.707*h#\n",
+ "l=Pa/(2*sige1*t)#\n",
+ "print \"l is %0.0f mm \"%(l)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "l is 202 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-8 - Page 351"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l=300#\n",
+ "P=30*10**3#\n",
+ "T=P/(2*l)#\n",
+ "Ta=124#\n",
+ "t1=T/Ta#\n",
+ "h1=sqrt(2)*t1#\n",
+ "M=P*l#\n",
+ "Ixx=2*100*110**2#\n",
+ "sigb=M/Ixx*110#\n",
+ "#Let the allowable bending stress is Tab\n",
+ "Tab=200#\n",
+ "t2=sigb/Tab#\n",
+ "h2=t2/0.707#\n",
+ "h2=3#\n",
+ "print \"h is %0.0f mm \"%(h2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "h is 3 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-9 - Page 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Ta=60#\n",
+ "l1=60#\n",
+ "l2=40#\n",
+ "P1=Ta*0.707*l1#\n",
+ "P2=Ta*0.707*l2#\n",
+ "P=80*10**3#\n",
+ "h=P/(P1+P2)#\n",
+ "h=20#\n",
+ "a=(P2*100)/(P1+P2)#\n",
+ "print \" h is %0.0f mm \"%(h)#\n",
+ "print \"\\n a is %0.0f mm \"%(a)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " h is 20 mm \n",
+ "\n",
+ " a is 40 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-10 - Page 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=300*10**3#\n",
+ "l=500#\n",
+ "A=2*l#\n",
+ "Td=P/A#\n",
+ "T=(350-250)*P#\n",
+ "IG=(l**3*2/12)+(l*2*5**2)#\n",
+ "r=sqrt(250**2+5**2)#\n",
+ "Ts=T*r/IG#\n",
+ "Ts=Ts+Td#\n",
+ "Ta=110#\n",
+ "t=Ts/Ta#\n",
+ "h=t/0.707#\n",
+ "h=9#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "h is 9 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 12-11 - Page 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "t=30#\n",
+ "sigut=417#\n",
+ "sige=sigut/2#\n",
+ "Ka=0.5#\n",
+ "Kb=0.85#\n",
+ "Kc=0.897#\n",
+ "SCF=1.2#\n",
+ "Kd=1/SCF#\n",
+ "FOS=1.5#\n",
+ "sige1=sige*Ka*Kb*Kc*Kd/FOS#\n",
+ "Pa=60*10**3#\n",
+ "l=Pa/(sige1*t)#\n",
+ "print \"l is %0.1f mm \"%(l)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "l is 45.4 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12_1.ipynb
new file mode 100755
index 00000000..01177ff1
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch12_1.ipynb
@@ -0,0 +1,444 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:12 Welded joints"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-1 - Page 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T is 73.7 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "h=8#\n",
+ "F=100*10**3#\n",
+ "t=0.707*h#\n",
+ "A=4*60*t#\n",
+ "T=F/A#\n",
+ "print \"T is %0.1f MPa \"%(T)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-2 - Page 347"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "l is 639 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "FOS=3#\n",
+ "Ta=95/FOS#\n",
+ "P=350*10**3#\n",
+ "h=12.5#\n",
+ "t=0.707*h#\n",
+ "l=P/(2*t*Ta)#\n",
+ "print \"l is %0.0f mm \"%(l)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-3 - Page 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 81.446 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "h=12#\n",
+ "t=0.707*h#\n",
+ "l=60#\n",
+ "Ta=80#\n",
+ "P=2*l*t*Ta#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f kN \"%(P)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-4 - Page 348"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "h is 3 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sin, pi, cos, sqrt\n",
+ "P=6*10**3#\n",
+ "e=150+(100/2)#\n",
+ "T=P*e#\n",
+ "A=200#\n",
+ "Td=P/A#\n",
+ "r=sqrt(2*50**2)#\n",
+ "Ixx=2*(100*50**2)#\n",
+ "Iyy=2*100**3/12#\n",
+ "IG=Ixx+Iyy#\n",
+ "Ts=r*T/IG#\n",
+ "Tmax=sqrt((Ts*sin(45*pi/180))**2+(Td+(Ts*cos(45*pi/180)))**2)#\n",
+ "Ta=80#\n",
+ "t=Tmax/Ta#\n",
+ "h=sqrt(2)*t#\n",
+ "h=3#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-5 - Page 349"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 4.972 KN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "h=10#\n",
+ "t=10/sqrt(2)#\n",
+ "Ta=80#\n",
+ "x=((50*25)+(50*0))/(50+50)#\n",
+ "y=x#\n",
+ "ra=sqrt(x**2+37.5**2)#\n",
+ "Ixx=(7.07*50**3/12)+(50*7.07*(12.5**2))+(50*7.07*12.5**2)#\n",
+ "IG=2*Ixx#\n",
+ "e=100+(50-12.5)#\n",
+ "Tr=16.09*10**-3#\n",
+ "P=Ta/Tr#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f KN \"%(P)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-6 - Page 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "h is 5 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "P=16*10**3#\n",
+ "l=300#\n",
+ "r=50#\n",
+ "M=P*l#\n",
+ "A=2*pi*r#\n",
+ "Ixx=pi*r**3#\n",
+ "sigb=M*r/Ixx#\n",
+ "Td=P/A#\n",
+ "Tmax=sqrt((sigb/2)**2+(Td**2))#\n",
+ "Ta=90#\n",
+ "t=Tmax/Ta#\n",
+ "h=sqrt(2)*t#\n",
+ "h=5#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-7 - Page 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "l is 202 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "sigut=415#\n",
+ "sige=sigut/3#\n",
+ "Ka=0.5#\n",
+ "Kb=0.85#\n",
+ "Kc=0.897#\n",
+ "SCF=1.5#\n",
+ "Kd=1/SCF#\n",
+ "FOS=2#\n",
+ "sige1=sige*Ka*Kb*Kc*Kd/FOS#\n",
+ "Pa=50*10**3#\n",
+ "h=10#\n",
+ "t=0.707*h#\n",
+ "l=Pa/(2*sige1*t)#\n",
+ "print \"l is %0.0f mm \"%(l)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-8 - Page 351"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "h is 3 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "l=300#\n",
+ "P=30*10**3#\n",
+ "T=P/(2*l)#\n",
+ "Ta=124#\n",
+ "t1=T/Ta#\n",
+ "h1=sqrt(2)*t1#\n",
+ "M=P*l#\n",
+ "Ixx=2*100*110**2#\n",
+ "sigb=M/Ixx*110#\n",
+ "#Let the allowable bending stress is Tab\n",
+ "Tab=200#\n",
+ "t2=sigb/Tab#\n",
+ "h2=t2/0.707#\n",
+ "h2=3#\n",
+ "print \"h is %0.0f mm \"%(h2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-9 - Page 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " h is 20 mm \n",
+ "\n",
+ " a is 40 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "Ta=60#\n",
+ "l1=60#\n",
+ "l2=40#\n",
+ "P1=Ta*0.707*l1#\n",
+ "P2=Ta*0.707*l2#\n",
+ "P=80*10**3#\n",
+ "h=P/(P1+P2)#\n",
+ "h=20#\n",
+ "a=(P2*100)/(P1+P2)#\n",
+ "print \" h is %0.0f mm \"%(h)#\n",
+ "print \"\\n a is %0.0f mm \"%(a)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-10 - Page 352"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "h is 9 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "P=300*10**3#\n",
+ "l=500#\n",
+ "A=2*l#\n",
+ "Td=P/A#\n",
+ "T=(350-250)*P#\n",
+ "IG=(l**3*2/12)+(l*2*5**2)#\n",
+ "r=sqrt(250**2+5**2)#\n",
+ "Ts=T*r/IG#\n",
+ "Ts=Ts+Td#\n",
+ "Ta=110#\n",
+ "t=Ts/Ta#\n",
+ "h=t/0.707#\n",
+ "h=9#\n",
+ "print \"h is %0.0f mm \"%(h)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 12-11 - Page 353"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "l is 45.4 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "t=30#\n",
+ "sigut=417#\n",
+ "sige=sigut/2#\n",
+ "Ka=0.5#\n",
+ "Kb=0.85#\n",
+ "Kc=0.897#\n",
+ "SCF=1.2#\n",
+ "Kd=1/SCF#\n",
+ "FOS=1.5#\n",
+ "sige1=sige*Ka*Kb*Kc*Kd/FOS#\n",
+ "Pa=60*10**3#\n",
+ "l=Pa/(sige1*t)#\n",
+ "print \"l is %0.1f mm \"%(l)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13.ipynb
new file mode 100755
index 00000000..8a9638f2
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13.ipynb
@@ -0,0 +1,284 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:699e68915e564767c2f777c1b196296273ea15e52a0652061e0ad59d630a55ce"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:13 Cotter and knuckle joints"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 13-1 - Page 371"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, pi\n",
+ "F=25*10**3#\n",
+ "sigat=50#\n",
+ "Ta=40#\n",
+ "pa=80#\n",
+ "d=sqrt((4*F)/(pi*sigat))#\n",
+ "d=26#\n",
+ "t=d/4#\n",
+ "t=7#\n",
+ "d1=1.2*d#\n",
+ "d1=32#\n",
+ "pc=F/(d1*t)#\n",
+ "t=10#\n",
+ "c=0.75*d#\n",
+ "c=20#\n",
+ "d2=44#\n",
+ "tw=(d2-d1)/2#\n",
+ "b=F/(2*t*Ta)#\n",
+ "b=34#\n",
+ "a=0.5*d#\n",
+ "d3=(F/(pa*t))+d1#\n",
+ "d3=64#\n",
+ "e=F/(Ta*(d3-d1))#\n",
+ "d4=sqrt((F*4/(pi*pa))+d1**2)#\n",
+ "d4=40#\n",
+ "f=0.5*d#\n",
+ "sigbc=3*F*d3/(t*b**2*4)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\n d2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\n d3 is %0.0f mm \"%(d3)#\n",
+ "print \"\\n d4 is %0.0f mm \"%(d4)#\n",
+ "print \"\\n sigbc is %0.1f MPa \"%(sigbc)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 26 mm \n",
+ "\n",
+ " d1 is 32 mm \n",
+ "\n",
+ " d2 is 44 mm \n",
+ "\n",
+ " d3 is 64 mm \n",
+ "\n",
+ " d4 is 40 mm \n",
+ "\n",
+ " sigbc is 103.0 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 13-2 - Page 372"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=40*10**3#\n",
+ "sigut=490#\n",
+ "FOS=4#\n",
+ "sigts=sigut/FOS#\n",
+ "sigcs=1.4*sigts#\n",
+ "sigs=0.8*sigts#\n",
+ "d=sqrt((4*P)/(pi*sigts))#\n",
+ "d=21#\n",
+ "sigcc=1.4*330/4#\n",
+ "Tc=0.8*330/4#\n",
+ "t=d/3#\n",
+ "b=P/(2*t*Tc)#\n",
+ "b=31#\n",
+ "t=10#\n",
+ "d1=28#\n",
+ "d2=40#\n",
+ "c=d/2#\n",
+ "c=15#\n",
+ "a=P/(2*(d2-d1)*98)#\n",
+ "a=20#\n",
+ "L=(2*a)+(2*b)+(2*c)+(2*3)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n d2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\n L is %0.0f mm \"%(L)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 21 mm \n",
+ "\n",
+ " d1 is 28 mm \n",
+ "\n",
+ " t is 10 mm \n",
+ "\n",
+ " b is 31 mm \n",
+ "\n",
+ " d2 is 40 mm \n",
+ "\n",
+ " L is 138 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 13-3 - Page 372"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=40*10**3#\n",
+ "sigt=60#\n",
+ "sigc=125#\n",
+ "T=45#\n",
+ "a=sqrt(P*3/(2*sigt))#\n",
+ "a=33#\n",
+ "t=a/3#\n",
+ "b=P/(4.5*t*T)#\n",
+ "b=20#\n",
+ "b1=1.25*b#\n",
+ "t1=P*3/(4*a*sigt)#\n",
+ "t1=16#\n",
+ "l2=P/(2*2*T*t1)#\n",
+ "l2=14#\n",
+ "l1=P/(2*a*T)#\n",
+ "l1=14#\n",
+ "l3=(0.6*a)#\n",
+ "l3=20#\n",
+ "l4=11#\n",
+ "sigcr=P/(t*a)#\n",
+ "sigcr1=P/(2*t1*t)#\n",
+ "print \" a is %0.0f mm \"%(a)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n t1 is %0.0f mm \"%(t1)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n b1 is %0.0f mm \"%(b1)#\n",
+ "print \"\\n l1 is %0.0f mm \"%(l1)#\n",
+ "print \"\\n l2 is %0.0f mm \"%(l2)#\n",
+ "print \"\\n l3 is %0.0f mm \"%(l3)#\n",
+ "print \"\\n l4 is %0.0f mm \"%(l4)#\n",
+ "print \"\\n sigcr is %0.1f MPa \"%(sigcr)#\n",
+ "print \"\\n sigcr1 is %0.1f MPa \"%(sigcr1)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " a is 33 mm \n",
+ "\n",
+ " t is 11 mm \n",
+ "\n",
+ " t1 is 16 mm \n",
+ "\n",
+ " b is 20 mm \n",
+ "\n",
+ " b1 is 25 mm \n",
+ "\n",
+ " l1 is 14 mm \n",
+ "\n",
+ " l2 is 14 mm \n",
+ "\n",
+ " l3 is 20 mm \n",
+ "\n",
+ " l4 is 11 mm \n",
+ "\n",
+ " sigcr is 110.0 MPa \n",
+ "\n",
+ " sigcr1 is 113.0 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 13-4 - Page 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=50*10**3#\n",
+ "sigp=380#\n",
+ "FOS=4#\n",
+ "sigca=80#\n",
+ "Ta=50#\n",
+ "sigta=sigp/FOS#\n",
+ "At=P/sigta#\n",
+ "d=30#\n",
+ "d1=1.5*d#\n",
+ "t=P/(sigca*d1)#\n",
+ "t=14#\n",
+ "A=(pi*(d1**2)/4)-(d1*t)#\n",
+ "#let tearing stress be sigt\n",
+ "sigt=P/A#\n",
+ "b=P/(2*t*Ta)#\n",
+ "b=36#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n sigt is %0.1f MPa \"%(sigt)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ " \n",
+ " #The answer to tearing stress in bolt 'sigt' is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 30 mm \n",
+ "\n",
+ " sigt is 52.1 MPa \n",
+ "\n",
+ " b is 36 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13_1.ipynb
new file mode 100755
index 00000000..020a19d3
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch13_1.ipynb
@@ -0,0 +1,291 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:13 Cotter and knuckle joints"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 13-1 - Page 371"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 26 mm \n",
+ "\n",
+ " d1 is 32 mm \n",
+ "\n",
+ " d2 is 44 mm \n",
+ "\n",
+ " d3 is 64 mm \n",
+ "\n",
+ " d4 is 40 mm \n",
+ "\n",
+ " sigbc is 103.0 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "F=25*10**3#\n",
+ "sigat=50#\n",
+ "Ta=40#\n",
+ "pa=80#\n",
+ "d=sqrt((4*F)/(pi*sigat))#\n",
+ "d=26#\n",
+ "t=d/4#\n",
+ "t=7#\n",
+ "d1=1.2*d#\n",
+ "d1=32#\n",
+ "pc=F/(d1*t)#\n",
+ "t=10#\n",
+ "c=0.75*d#\n",
+ "c=20#\n",
+ "d2=44#\n",
+ "tw=(d2-d1)/2#\n",
+ "b=F/(2*t*Ta)#\n",
+ "b=34#\n",
+ "a=0.5*d#\n",
+ "d3=(F/(pa*t))+d1#\n",
+ "d3=64#\n",
+ "e=F/(Ta*(d3-d1))#\n",
+ "d4=sqrt((F*4/(pi*pa))+d1**2)#\n",
+ "d4=40#\n",
+ "f=0.5*d#\n",
+ "sigbc=3*F*d3/(t*b**2*4)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\n d2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\n d3 is %0.0f mm \"%(d3)#\n",
+ "print \"\\n d4 is %0.0f mm \"%(d4)#\n",
+ "print \"\\n sigbc is %0.1f MPa \"%(sigbc)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 13-2 - Page 372"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 21 mm \n",
+ "\n",
+ " d1 is 28 mm \n",
+ "\n",
+ " t is 10 mm \n",
+ "\n",
+ " b is 31 mm \n",
+ "\n",
+ " d2 is 40 mm \n",
+ "\n",
+ " L is 138 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=40*10**3#\n",
+ "sigut=490#\n",
+ "FOS=4#\n",
+ "sigts=sigut/FOS#\n",
+ "sigcs=1.4*sigts#\n",
+ "sigs=0.8*sigts#\n",
+ "d=sqrt((4*P)/(pi*sigts))#\n",
+ "d=21#\n",
+ "sigcc=1.4*330/4#\n",
+ "Tc=0.8*330/4#\n",
+ "t=d/3#\n",
+ "b=P/(2*t*Tc)#\n",
+ "b=31#\n",
+ "t=10#\n",
+ "d1=28#\n",
+ "d2=40#\n",
+ "c=d/2#\n",
+ "c=15#\n",
+ "a=P/(2*(d2-d1)*98)#\n",
+ "a=20#\n",
+ "L=(2*a)+(2*b)+(2*c)+(2*3)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n d2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\n L is %0.0f mm \"%(L)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 13-3 - Page 372"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " a is 33 mm \n",
+ "\n",
+ " t is 11 mm \n",
+ "\n",
+ " t1 is 16 mm \n",
+ "\n",
+ " b is 20 mm \n",
+ "\n",
+ " b1 is 25 mm \n",
+ "\n",
+ " l1 is 14 mm \n",
+ "\n",
+ " l2 is 14 mm \n",
+ "\n",
+ " l3 is 20 mm \n",
+ "\n",
+ " l4 is 11 mm \n",
+ "\n",
+ " sigcr is 110.0 MPa \n",
+ "\n",
+ " sigcr1 is 113.0 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=40*10**3#\n",
+ "sigt=60#\n",
+ "sigc=125#\n",
+ "T=45#\n",
+ "a=sqrt(P*3/(2*sigt))#\n",
+ "a=33#\n",
+ "t=a/3#\n",
+ "b=P/(4.5*t*T)#\n",
+ "b=20#\n",
+ "b1=1.25*b#\n",
+ "t1=P*3/(4*a*sigt)#\n",
+ "t1=16#\n",
+ "l2=P/(2*2*T*t1)#\n",
+ "l2=14#\n",
+ "l1=P/(2*a*T)#\n",
+ "l1=14#\n",
+ "l3=(0.6*a)#\n",
+ "l3=20#\n",
+ "l4=11#\n",
+ "sigcr=P/(t*a)#\n",
+ "sigcr1=P/(2*t1*t)#\n",
+ "print \" a is %0.0f mm \"%(a)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n t1 is %0.0f mm \"%(t1)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n b1 is %0.0f mm \"%(b1)#\n",
+ "print \"\\n l1 is %0.0f mm \"%(l1)#\n",
+ "print \"\\n l2 is %0.0f mm \"%(l2)#\n",
+ "print \"\\n l3 is %0.0f mm \"%(l3)#\n",
+ "print \"\\n l4 is %0.0f mm \"%(l4)#\n",
+ "print \"\\n sigcr is %0.1f MPa \"%(sigcr)#\n",
+ "print \"\\n sigcr1 is %0.1f MPa \"%(sigcr1)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 13-4 - Page 373"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 30 mm \n",
+ "\n",
+ " sigt is 52.1 MPa \n",
+ "\n",
+ " b is 36 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "P=50*10**3#\n",
+ "sigp=380#\n",
+ "FOS=4#\n",
+ "sigca=80#\n",
+ "Ta=50#\n",
+ "sigta=sigp/FOS#\n",
+ "At=P/sigta#\n",
+ "d=30#\n",
+ "d1=1.5*d#\n",
+ "t=P/(sigca*d1)#\n",
+ "t=14#\n",
+ "A=(pi*(d1**2)/4)-(d1*t)#\n",
+ "#let tearing stress be sigt\n",
+ "sigt=P/A#\n",
+ "b=P/(2*t*Ta)#\n",
+ "b=36#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n sigt is %0.1f MPa \"%(sigt)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ " \n",
+ "#The answer to tearing stress in bolt 'sigt' is calculated incorrectly in the book."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14.ipynb
new file mode 100755
index 00000000..766ceb71
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14.ipynb
@@ -0,0 +1,412 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d7736c3b733f2dee976dda18085a361ed833c66d2ffff17be44c76a801411ca2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:14 Keys and couplings"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-1 - Page 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, pi, atan, acos, cos\n",
+ "d=40#\n",
+ "r=d/2#\n",
+ "P=6*10**3#\n",
+ "N=350#\n",
+ "sigyt=380#\n",
+ "A=pi*12**2/2#\n",
+ "theta=pi-(2*atan(4/12))#\n",
+ "alpha=180-(theta*pi/180)#\n",
+ "l=2*12*cos(19.5*pi/180)#\n",
+ "A1=l*4/2#\n",
+ "Abcd=(A*141/180)-A1#\n",
+ "A2=A-Abcd#\n",
+ "A3=8*l#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Pt=T*10**3/r#\n",
+ "sigb=Pt/A2#\n",
+ "#Let shear stress developed in key Tk\n",
+ "Tk=Pt/A3#\n",
+ "FOS1=sigyt/sigb#\n",
+ "FOS2=0.577*sigyt/Tk#\n",
+ "print \" FOS1 is %0.3f \"%(FOS1)#\n",
+ "print \"\\n FOS2 is %0.2f \"%(FOS2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " FOS1 is 4.376 \n",
+ "\n",
+ " FOS2 is 4.85 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-2 - Page 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "n=12#\n",
+ "phi=360*pi/(180*12*2)#\n",
+ "R1=45/2#\n",
+ "R2=50/2#\n",
+ "l=60#\n",
+ "Rm=(R1+R2)/2#\n",
+ "p=6.5#\n",
+ "Pn=(R2-R1)*l*p#\n",
+ "T=Pn*Rm#\n",
+ "T=T*n#\n",
+ "N=400#\n",
+ "w=2*pi*N/60#\n",
+ "P=T*w#\n",
+ "A=(pi*R1*l)/n#\n",
+ "Ts=Pn/A#\n",
+ "Ah=(pi*R2*l)/n#\n",
+ "Th=Pn/Ah#\n",
+ "print \" Ts is %0.2f N/mm**2 \"%(Ts)#\n",
+ "print \"\\n Th is %0.2f N/mm**2 \"%(Th)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Ts is 3.39 N/mm**2 \n",
+ "\n",
+ " Th is 2.98 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-3 - Page 402"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=360#\n",
+ "w=2*pi*N/60#\n",
+ "sigyt=380#\n",
+ "r=25#\n",
+ "P=40*10**3#\n",
+ "FOS=3#\n",
+ "T=P/w#\n",
+ "Pt=T*10**3/(2*r)#\n",
+ "siga=380/3#\n",
+ "Ta=0.577*380/3#\n",
+ "l1=Pt/(sqrt(2)*12*Ta)#\n",
+ "l2=Pt*sqrt(2)/(siga*12)#\n",
+ "print \" l1 is %0.0f mm \"%(l1)#\n",
+ "print \"\\n l2 is %0.2f mm \"%(l2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " l1 is 17 mm \n",
+ "\n",
+ " l2 is 19.85 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-4 - Page 403"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=300#\n",
+ "w=2*pi*N/60#\n",
+ "P=12*10**3#\n",
+ "Ks=1.25#\n",
+ "Pd=P*Ks#\n",
+ "T=Pd/w#\n",
+ "Tas=50#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=40#\n",
+ "Ts=10#\n",
+ "d1=(2*d)+13#\n",
+ "x=(d1**4-d**4)/d1#\n",
+ "#Let the shear stress in the key be Tsh\n",
+ "Tsh=T*10**3*16/(pi*x)#\n",
+ "l=3.5*d#\n",
+ "Ft=T*2*10**3/d#\n",
+ "l1=70#\n",
+ "sigak=50#\n",
+ "b=Ft/(l1*sigak)#\n",
+ "t=2*Ft/(100*l1)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n Tsh is %0.2f MPa \"%(Tsh)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 40 mm \n",
+ "\n",
+ " Tsh is 3.13 MPa \n",
+ "\n",
+ " b is 7 mm \n",
+ "\n",
+ " t is 7 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-5 - Page 403"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=36*10**3#\n",
+ "N=200#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Tas=45#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=60#\n",
+ "d1=(2*d)+13#\n",
+ "l=3.5*d#\n",
+ "Ftk=T*2/d#\n",
+ "lk=l/2#\n",
+ "Tak=40#\n",
+ "sigack=90#\n",
+ "b=Ftk*10**3/(lk*Tak)#\n",
+ "t=2*Ftk*10**3/(sigack*lk)#\n",
+ "n=4#\n",
+ "sigatb=60#\n",
+ "u=0.25#\n",
+ "dr=16*T*10**3/(u*pi**2*sigatb*n*d)#\n",
+ "dr=sqrt(dr)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n b is %0.1f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n dr is %0.3f mm \"%(dr)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 60 mm \n",
+ "\n",
+ " b is 13.6 mm \n",
+ "\n",
+ " t is 12 mm \n",
+ "\n",
+ " dr is 27.822 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-6 - Page 404"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=16*10**3#\n",
+ "N=1000#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Ks=1.4#\n",
+ "Td=T*Ks#\n",
+ "Tas=40#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=32#\n",
+ "d1=2*d#\n",
+ "l=1.5*d#\n",
+ "ds=1.5*d#\n",
+ "Tak=40#\n",
+ "sigack=70#\n",
+ "Ftk=Td*2/d#\n",
+ "b=Ftk*10**3/(l*Tak)#\n",
+ "t=2*Ftk*10**3/(sigack*l)#\n",
+ "Taf=10#\n",
+ "tf=Td*10**3*2/(pi*Taf*d1**2)#\n",
+ "Ftb=Td*10**3/(1.5*d*4)#\n",
+ "Tab=40#\n",
+ "db=sqrt(Ftb*4/(Tab*pi))#\n",
+ "D=4*d#\n",
+ "trp=d/6#\n",
+ "Ftb1=Td*10**3/(45*4)#\n",
+ "db1=sqrt(Ftb1*4/(Tab*pi))#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n db is %0.2f mm \"%(db)#\n",
+ "print \"\\n db1 is %0.2f mm \"%(db1)#\n",
+ " \n",
+ " #The answer to Key thickness 't' is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 32 mm \n",
+ "\n",
+ " b is 7 mm \n",
+ "\n",
+ " t is 8 mm \n",
+ "\n",
+ " db is 5.96 mm \n",
+ "\n",
+ " db1 is 6.15 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 14-7 - Page 404"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=30*10**3#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "d=36#\n",
+ "d1=30#\n",
+ "d2=2*d#\n",
+ "d3=d1*2#\n",
+ "l=1.5*d#\n",
+ "Dp=3.5*d#\n",
+ "n=6#\n",
+ "Ft=(2*T)/(Dp*n)#\n",
+ "p=0.5#\n",
+ "A=Ft/p#\n",
+ "Lf=d#\n",
+ "dp=A/Lf#\n",
+ "M=Ft*10**3*(5+(Lf/2))#\n",
+ "db=(32*M/(pi*40))**(1/3)#\n",
+ "db=15#\n",
+ "T=(4*526)/(pi*db**2)#\n",
+ "sigb=32*M/(pi*db**3)#\n",
+ "sigmax=(sigb/2)+sqrt(((sigb/2)**2)+(T**2))#\n",
+ "b=d/4#\n",
+ "t=6#\n",
+ "Lf=36#\n",
+ "La=10#\n",
+ "Do=126+30+(2*(5+1))+(2*6)#\n",
+ "print \" sigmax is %0.2f MPa \"%(sigmax)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Lf is %0.0f mm \"%(Lf)#\n",
+ "print \"\\n Do is %0.0f mm \"%(Do)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " sigmax is 36.77 MPa \n",
+ "\n",
+ " b is 9 mm \n",
+ "\n",
+ " t is 6 mm \n",
+ "\n",
+ " Lf is 36 mm \n",
+ "\n",
+ " Do is 180 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14_1.ipynb
new file mode 100755
index 00000000..955eef4c
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch14_1.ipynb
@@ -0,0 +1,420 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:14 Keys and couplings"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-1 - Page 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " FOS1 is 4.376 \n",
+ "\n",
+ " FOS2 is 4.85 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, acos, cos\n",
+ "d=40#\n",
+ "r=d/2#\n",
+ "P=6*10**3#\n",
+ "N=350#\n",
+ "sigyt=380#\n",
+ "A=pi*12**2/2#\n",
+ "theta=pi-(2*atan(4/12))#\n",
+ "alpha=180-(theta*pi/180)#\n",
+ "l=2*12*cos(19.5*pi/180)#\n",
+ "A1=l*4/2#\n",
+ "Abcd=(A*141/180)-A1#\n",
+ "A2=A-Abcd#\n",
+ "A3=8*l#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Pt=T*10**3/r#\n",
+ "sigb=Pt/A2#\n",
+ "#Let shear stress developed in key Tk\n",
+ "Tk=Pt/A3#\n",
+ "FOS1=sigyt/sigb#\n",
+ "FOS2=0.577*sigyt/Tk#\n",
+ "print \" FOS1 is %0.3f \"%(FOS1)#\n",
+ "print \"\\n FOS2 is %0.2f \"%(FOS2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-2 - Page 401"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Ts is 3.39 N/mm**2 \n",
+ "\n",
+ " Th is 2.98 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "n=12#\n",
+ "phi=360*pi/(180*12*2)#\n",
+ "R1=45/2#\n",
+ "R2=50/2#\n",
+ "l=60#\n",
+ "Rm=(R1+R2)/2#\n",
+ "p=6.5#\n",
+ "Pn=(R2-R1)*l*p#\n",
+ "T=Pn*Rm#\n",
+ "T=T*n#\n",
+ "N=400#\n",
+ "w=2*pi*N/60#\n",
+ "P=T*w#\n",
+ "A=(pi*R1*l)/n#\n",
+ "Ts=Pn/A#\n",
+ "Ah=(pi*R2*l)/n#\n",
+ "Th=Pn/Ah#\n",
+ "print \" Ts is %0.2f N/mm**2 \"%(Ts)#\n",
+ "print \"\\n Th is %0.2f N/mm**2 \"%(Th)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-3 - Page 402"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " l1 is 17 mm \n",
+ "\n",
+ " l2 is 19.85 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "N=360#\n",
+ "w=2*pi*N/60#\n",
+ "sigyt=380#\n",
+ "r=25#\n",
+ "P=40*10**3#\n",
+ "FOS=3#\n",
+ "T=P/w#\n",
+ "Pt=T*10**3/(2*r)#\n",
+ "siga=380/3#\n",
+ "Ta=0.577*380/3#\n",
+ "l1=Pt/(sqrt(2)*12*Ta)#\n",
+ "l2=Pt*sqrt(2)/(siga*12)#\n",
+ "print \" l1 is %0.0f mm \"%(l1)#\n",
+ "print \"\\n l2 is %0.2f mm \"%(l2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-4 - Page 403"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 40 mm \n",
+ "\n",
+ " Tsh is 3.13 MPa \n",
+ "\n",
+ " b is 7 mm \n",
+ "\n",
+ " t is 7 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "N=300#\n",
+ "w=2*pi*N/60#\n",
+ "P=12*10**3#\n",
+ "Ks=1.25#\n",
+ "Pd=P*Ks#\n",
+ "T=Pd/w#\n",
+ "Tas=50#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=40#\n",
+ "Ts=10#\n",
+ "d1=(2*d)+13#\n",
+ "x=(d1**4-d**4)/d1#\n",
+ "#Let the shear stress in the key be Tsh\n",
+ "Tsh=T*10**3*16/(pi*x)#\n",
+ "l=3.5*d#\n",
+ "Ft=T*2*10**3/d#\n",
+ "l1=70#\n",
+ "sigak=50#\n",
+ "b=Ft/(l1*sigak)#\n",
+ "t=2*Ft/(100*l1)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n Tsh is %0.2f MPa \"%(Tsh)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-5 - Page 403"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 60 mm \n",
+ "\n",
+ " b is 13.6 mm \n",
+ "\n",
+ " t is 12 mm \n",
+ "\n",
+ " dr is 27.822 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=36*10**3#\n",
+ "N=200#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Tas=45#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=60#\n",
+ "d1=(2*d)+13#\n",
+ "l=3.5*d#\n",
+ "Ftk=T*2/d#\n",
+ "lk=l/2#\n",
+ "Tak=40#\n",
+ "sigack=90#\n",
+ "b=Ftk*10**3/(lk*Tak)#\n",
+ "t=2*Ftk*10**3/(sigack*lk)#\n",
+ "n=4#\n",
+ "sigatb=60#\n",
+ "u=0.25#\n",
+ "dr=16*T*10**3/(u*pi**2*sigatb*n*d)#\n",
+ "dr=sqrt(dr)#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n b is %0.1f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n dr is %0.3f mm \"%(dr)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-6 - Page 404"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 32 mm \n",
+ "\n",
+ " b is 7 mm \n",
+ "\n",
+ " t is 8 mm \n",
+ "\n",
+ " db is 5.96 mm \n",
+ "\n",
+ " db1 is 6.15 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=16*10**3#\n",
+ "N=1000#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Ks=1.4#\n",
+ "Td=T*Ks#\n",
+ "Tas=40#\n",
+ "d=16*T*10**3/(pi*Tas)#\n",
+ "d=d**(1/3)#\n",
+ "d=32#\n",
+ "d1=2*d#\n",
+ "l=1.5*d#\n",
+ "ds=1.5*d#\n",
+ "Tak=40#\n",
+ "sigack=70#\n",
+ "Ftk=Td*2/d#\n",
+ "b=Ftk*10**3/(l*Tak)#\n",
+ "t=2*Ftk*10**3/(sigack*l)#\n",
+ "Taf=10#\n",
+ "tf=Td*10**3*2/(pi*Taf*d1**2)#\n",
+ "Ftb=Td*10**3/(1.5*d*4)#\n",
+ "Tab=40#\n",
+ "db=sqrt(Ftb*4/(Tab*pi))#\n",
+ "D=4*d#\n",
+ "trp=d/6#\n",
+ "Ftb1=Td*10**3/(45*4)#\n",
+ "db1=sqrt(Ftb1*4/(Tab*pi))#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n db is %0.2f mm \"%(db)#\n",
+ "print \"\\n db1 is %0.2f mm \"%(db1)#\n",
+ " \n",
+ "#The answer to Key thickness 't' is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 14-7 - Page 404"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " sigmax is 36.77 MPa \n",
+ "\n",
+ " b is 9 mm \n",
+ "\n",
+ " t is 6 mm \n",
+ "\n",
+ " Lf is 36 mm \n",
+ "\n",
+ " Do is 180 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=30*10**3#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "d=36#\n",
+ "d1=30#\n",
+ "d2=2*d#\n",
+ "d3=d1*2#\n",
+ "l=1.5*d#\n",
+ "Dp=3.5*d#\n",
+ "n=6#\n",
+ "Ft=(2*T)/(Dp*n)#\n",
+ "p=0.5#\n",
+ "A=Ft/p#\n",
+ "Lf=d#\n",
+ "dp=A/Lf#\n",
+ "M=Ft*10**3*(5+(Lf/2))#\n",
+ "db=(32*M/(pi*40))**(1/3)#\n",
+ "db=15#\n",
+ "T=(4*526)/(pi*db**2)#\n",
+ "sigb=32*M/(pi*db**3)#\n",
+ "sigmax=(sigb/2)+sqrt(((sigb/2)**2)+(T**2))#\n",
+ "b=d/4#\n",
+ "t=6#\n",
+ "Lf=36#\n",
+ "La=10#\n",
+ "Do=126+30+(2*(5+1))+(2*6)#\n",
+ "print \" sigmax is %0.2f MPa \"%(sigmax)#\n",
+ "print \"\\n b is %0.0f mm \"%(b)#\n",
+ "print \"\\n t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Lf is %0.0f mm \"%(Lf)#\n",
+ "print \"\\n Do is %0.0f mm \"%(Do)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15.ipynb
new file mode 100755
index 00000000..5a76fb0c
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15.ipynb
@@ -0,0 +1,341 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9b7bd78ba4da34e6b0bfbd99a229a10f40ca2ca34b3d46eeee9c738f3ac0df6a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:15 Shafts"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-2 - Page 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import pi, sqrt, tan\n",
+ "dA=150#\n",
+ "dB=250#\n",
+ "alpha=20*pi/180#\n",
+ "W=400#\n",
+ "sigyt=400#\n",
+ "sigut=500#\n",
+ "Kb=1.5#\n",
+ "Kt=2#\n",
+ "T=W*dA/2#\n",
+ "Pt=T/(dB/2)#\n",
+ "Pr1=W*tan(alpha)#\n",
+ "Pr2=Pt*tan(alpha)#\n",
+ "RDH=((W*120)-(Pt*320))/440#\n",
+ "RcH=W-RDH-Pt#\n",
+ "#RcH=400+65.5-240#\n",
+ "McH=0#\n",
+ "MAH=RcH*120#\n",
+ "MBH=RDH*120#\n",
+ "RDV=((Pr1*120)-(Pr2*320))/440#\n",
+ "RcV=Pr1-RDV-Pr2#\n",
+ "MAV=RcV*120#\n",
+ "MBV=RDV*120#\n",
+ "Mmax=sqrt((MAH**2)+(MAV**2))#\n",
+ "T=30*10**3#\n",
+ "Ta=0.135*sigut#\n",
+ "d=16*sqrt((Kb*Mmax)**2+(Kt*T)**2)/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "print \"d is %0.2f mm \"%(d)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 17.73 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-3 - Page 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=16*746#\n",
+ "N=3000#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w*10**3#\n",
+ "sigy=400#\n",
+ "Ty=sigy/2#\n",
+ "FOS=2#\n",
+ "Ta=Ty/FOS#\n",
+ "d=T*16/(pi*Ta)#\n",
+ "d1=d**(1/3)#\n",
+ "r=3#\n",
+ "D=d1+(2*r)#\n",
+ "SCF=1.196\n",
+ "Tys=Ta/SCF#\n",
+ "d=T*16/(pi*Tys)#\n",
+ "d2=d**(1/3)#\n",
+ "d=14#\n",
+ "D=d+(2*r)#\n",
+ "print \"d1 is %0.2f mm \"%(d1)#\n",
+ "print \"\\nd2 is %0.2f mm \"%(d2)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d1 is 12.46 mm \n",
+ "\n",
+ "d2 is 13.23 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-4 - Page 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P1=24*10**3#\n",
+ "P2=10*10**3#\n",
+ "sigyt=460#\n",
+ "Tya=sigyt*0.3#\n",
+ "SCF=2.84#\n",
+ "Ta=Tya/SCF#\n",
+ "N=400#\n",
+ "w=2*pi*N/60#\n",
+ "T1=P1/w#\n",
+ "T2=P2/w#\n",
+ "d1=T1*16*10**3/(pi*Ta)#\n",
+ "d1=d1**(1/3)#\n",
+ "d2=T2*16*10**3/(pi*Ta)#\n",
+ "d2=d2**(1/3)#\n",
+ "theta1=pi/3600#\n",
+ "l1=120#\n",
+ "G=84*10**3#\n",
+ "d3=T1*10**3*l1*32/(pi*G*theta1)#\n",
+ "d3=d3**(1/4)#\n",
+ "d4=T2*l1*10**3*32/(pi*G*theta1)#\n",
+ "d4=d4**(1/4)#\n",
+ "print \" d1 is %0.2f mm \"%(d1)#\n",
+ "print \"\\n d2 is %0.2f mm \"%(d2)#\n",
+ "print \"\\n d3 is %0.1f mm \"%(d3)#\n",
+ "print \"\\n d4 is %0.2f mm \"%(d4)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d1 is 39.16 mm \n",
+ "\n",
+ " d2 is 29.25 mm \n",
+ "\n",
+ " d3 is 55.6 mm \n",
+ "\n",
+ " d4 is 44.67 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-5 - Page 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin, exp\n",
+ "d=200#\n",
+ "r=d/2#\n",
+ "N=300#\n",
+ "P=5000#\n",
+ "D=500#\n",
+ "R=D/2#\n",
+ "u=0.3#\n",
+ "E=205*10**3#\n",
+ "G=84*10**3#\n",
+ "Ta=60#\n",
+ "Kb=1.5#\n",
+ "Kt=2#\n",
+ "w=2*pi*N/60#\n",
+ "beta1=20*pi/180#\n",
+ "V=r*w#\n",
+ "v=R*w#\n",
+ "# Let T1-T2 =T\n",
+ "T=P/V#\n",
+ "x=u*pi/sin(beta1)#\n",
+ "T2=T/((exp(x)-1))#\n",
+ "T1=T2*exp(x)#\n",
+ "t=P/v#\n",
+ "y=u*pi#\n",
+ "T3=t/((exp(x)-1))#\n",
+ "T4=T3*exp(x)#\n",
+ "T=P/w#\n",
+ "Rc=2612##\n",
+ "RA=645.1#\n",
+ "MB=96.76#\n",
+ "MC=-208.96#\n",
+ "d=16*10**3*sqrt((Kb*MC)**2+(Kt*T)**2)/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "l=380#\n",
+ "J=pi*d**4/32#\n",
+ "theta=T*10**3*l/(G*J)#\n",
+ "theta=theta*180/pi#\n",
+ "print \"d is %0.1f mm \"%(d)#\n",
+ "print \"\\ntheta is %0.2f degree \"%(theta)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 33.6 mm \n",
+ "\n",
+ "theta is 0.33 degree \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-6 - Page 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "T=400#\n",
+ "Pt=4800#\n",
+ "Pg=3600#\n",
+ "sigyt=360#\n",
+ "E=205*10**3#\n",
+ "G=80*10**3#\n",
+ "Kb=2#\n",
+ "Kt=1.5#\n",
+ "FOS=3#\n",
+ "RC=((Pt*90)+(Pg*200))/140#\n",
+ "RA=8400-RC#\n",
+ "MB=RA*0.9#\n",
+ "MC=Pg*0.045#\n",
+ "Te=sqrt((Kb*MC)**2+(Kt*T)**2)#\n",
+ "Ta=0.577*sigyt/FOS#\n",
+ "d=16*10**3*Te/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "L=110#\n",
+ "J=pi*d**4/32#\n",
+ "T=400#\n",
+ "theta=T*10**3*L/(G*J)#\n",
+ "theta=theta*180/pi#\n",
+ "print \"d is %0.0f mm \"%(d)#\n",
+ "print \"\\ntheta is %0.4f deg \"%(theta)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 37 mm \n",
+ "\n",
+ "theta is 0.1735 deg \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 15-7 - Page 424"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "T=47*10**3#\n",
+ "M=32*10**3#\n",
+ "d=20#\n",
+ "siga=32*M/(pi*d**3)#\n",
+ "Tm=16*T/(pi*d**3)#\n",
+ "sige=75#\n",
+ "Tys=165#\n",
+ "n=1/sqrt((siga/sige)**2+(Tm/Tys)**2)#\n",
+ "print \"n is %0.2f \"%(n)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "n is 1.75 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15_1.ipynb
new file mode 100755
index 00000000..2b3160d7
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch15_1.ipynb
@@ -0,0 +1,349 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:15 Shafts"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 15-2 - Page 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 17.73 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import pi, sqrt, tan\n",
+ "dA=150#\n",
+ "dB=250#\n",
+ "alpha=20*pi/180#\n",
+ "W=400#\n",
+ "sigyt=400#\n",
+ "sigut=500#\n",
+ "Kb=1.5#\n",
+ "Kt=2#\n",
+ "T=W*dA/2#\n",
+ "Pt=T/(dB/2)#\n",
+ "Pr1=W*tan(alpha)#\n",
+ "Pr2=Pt*tan(alpha)#\n",
+ "RDH=((W*120)-(Pt*320))/440#\n",
+ "RcH=W-RDH-Pt#\n",
+ "#RcH=400+65.5-240#\n",
+ "McH=0#\n",
+ "MAH=RcH*120#\n",
+ "MBH=RDH*120#\n",
+ "RDV=((Pr1*120)-(Pr2*320))/440#\n",
+ "RcV=Pr1-RDV-Pr2#\n",
+ "MAV=RcV*120#\n",
+ "MBV=RDV*120#\n",
+ "Mmax=sqrt((MAH**2)+(MAV**2))#\n",
+ "T=30*10**3#\n",
+ "Ta=0.135*sigut#\n",
+ "d=16*sqrt((Kb*Mmax)**2+(Kt*T)**2)/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "print \"d is %0.2f mm \"%(d)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 15-3 - Page 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d1 is 12.46 mm \n",
+ "\n",
+ "d2 is 13.23 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=16*746#\n",
+ "N=3000#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w*10**3#\n",
+ "sigy=400#\n",
+ "Ty=sigy/2#\n",
+ "FOS=2#\n",
+ "Ta=Ty/FOS#\n",
+ "d=T*16/(pi*Ta)#\n",
+ "d1=d**(1/3)#\n",
+ "r=3#\n",
+ "D=d1+(2*r)#\n",
+ "SCF=1.196\n",
+ "Tys=Ta/SCF#\n",
+ "d=T*16/(pi*Tys)#\n",
+ "d2=d**(1/3)#\n",
+ "d=14#\n",
+ "D=d+(2*r)#\n",
+ "print \"d1 is %0.2f mm \"%(d1)#\n",
+ "print \"\\nd2 is %0.2f mm \"%(d2)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 15-4 - Page 422"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d1 is 39.16 mm \n",
+ "\n",
+ " d2 is 29.25 mm \n",
+ "\n",
+ " d3 is 55.6 mm \n",
+ "\n",
+ " d4 is 44.67 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P1=24*10**3#\n",
+ "P2=10*10**3#\n",
+ "sigyt=460#\n",
+ "Tya=sigyt*0.3#\n",
+ "SCF=2.84#\n",
+ "Ta=Tya/SCF#\n",
+ "N=400#\n",
+ "w=2*pi*N/60#\n",
+ "T1=P1/w#\n",
+ "T2=P2/w#\n",
+ "d1=T1*16*10**3/(pi*Ta)#\n",
+ "d1=d1**(1/3)#\n",
+ "d2=T2*16*10**3/(pi*Ta)#\n",
+ "d2=d2**(1/3)#\n",
+ "theta1=pi/3600#\n",
+ "l1=120#\n",
+ "G=84*10**3#\n",
+ "d3=T1*10**3*l1*32/(pi*G*theta1)#\n",
+ "d3=d3**(1/4)#\n",
+ "d4=T2*l1*10**3*32/(pi*G*theta1)#\n",
+ "d4=d4**(1/4)#\n",
+ "print \" d1 is %0.2f mm \"%(d1)#\n",
+ "print \"\\n d2 is %0.2f mm \"%(d2)#\n",
+ "print \"\\n d3 is %0.1f mm \"%(d3)#\n",
+ "print \"\\n d4 is %0.2f mm \"%(d4)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 15-5 - Page 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 33.6 mm \n",
+ "\n",
+ "theta is 0.33 degree \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sin, exp\n",
+ "d=200#\n",
+ "r=d/2#\n",
+ "N=300#\n",
+ "P=5000#\n",
+ "D=500#\n",
+ "R=D/2#\n",
+ "u=0.3#\n",
+ "E=205*10**3#\n",
+ "G=84*10**3#\n",
+ "Ta=60#\n",
+ "Kb=1.5#\n",
+ "Kt=2#\n",
+ "w=2*pi*N/60#\n",
+ "beta1=20*pi/180#\n",
+ "V=r*w#\n",
+ "v=R*w#\n",
+ "# Let T1-T2 =T\n",
+ "T=P/V#\n",
+ "x=u*pi/sin(beta1)#\n",
+ "T2=T/((exp(x)-1))#\n",
+ "T1=T2*exp(x)#\n",
+ "t=P/v#\n",
+ "y=u*pi#\n",
+ "T3=t/((exp(x)-1))#\n",
+ "T4=T3*exp(x)#\n",
+ "T=P/w#\n",
+ "Rc=2612##\n",
+ "RA=645.1#\n",
+ "MB=96.76#\n",
+ "MC=-208.96#\n",
+ "d=16*10**3*sqrt((Kb*MC)**2+(Kt*T)**2)/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "l=380#\n",
+ "J=pi*d**4/32#\n",
+ "theta=T*10**3*l/(G*J)#\n",
+ "theta=theta*180/pi#\n",
+ "print \"d is %0.1f mm \"%(d)#\n",
+ "print \"\\ntheta is %0.2f degree \"%(theta)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "\n",
+ "## exa 15-6 - Page 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 37 mm \n",
+ "\n",
+ "theta is 0.1735 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "T=400#\n",
+ "Pt=4800#\n",
+ "Pg=3600#\n",
+ "sigyt=360#\n",
+ "E=205*10**3#\n",
+ "G=80*10**3#\n",
+ "Kb=2#\n",
+ "Kt=1.5#\n",
+ "FOS=3#\n",
+ "RC=((Pt*90)+(Pg*200))/140#\n",
+ "RA=8400-RC#\n",
+ "MB=RA*0.9#\n",
+ "MC=Pg*0.045#\n",
+ "Te=sqrt((Kb*MC)**2+(Kt*T)**2)#\n",
+ "Ta=0.577*sigyt/FOS#\n",
+ "d=16*10**3*Te/(pi*Ta)#\n",
+ "d=d**(1/3)#\n",
+ "L=110#\n",
+ "J=pi*d**4/32#\n",
+ "T=400#\n",
+ "theta=T*10**3*L/(G*J)#\n",
+ "theta=theta*180/pi#\n",
+ "print \"d is %0.0f mm \"%(d)#\n",
+ "print \"\\ntheta is %0.4f deg \"%(theta)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 15-7 - Page 424"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "n is 1.75 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "T=47*10**3#\n",
+ "M=32*10**3#\n",
+ "d=20#\n",
+ "siga=32*M/(pi*d**3)#\n",
+ "Tm=16*T/(pi*d**3)#\n",
+ "sige=75#\n",
+ "Tys=165#\n",
+ "n=1/sqrt((siga/sige)**2+(Tm/Tys)**2)#\n",
+ "print \"n is %0.2f \"%(n)#\n",
+ " "
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16.ipynb
new file mode 100755
index 00000000..6197d784
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16.ipynb
@@ -0,0 +1,438 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:01311d1278cad60b1c0d60099bb705f52b2b4566cc66cef72df1eddeb97f8ca1"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:16 Power screws"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-1 - Page 450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan, pi, sqrt, tan\n",
+ "d=30#\n",
+ "W=20*10**3#\n",
+ "r1=8#\n",
+ "r2=16#\n",
+ "p=6#\n",
+ "u1=0.2#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Ttr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Ttr=Ttr*10**-3#\n",
+ "print \"Ttr is %0.3f Nm \"%(Ttr)#\n",
+ "#The answer to Ttr is slightly different than in the book due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ttr is 110.148 Nm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-2 - Page 451"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import cos\n",
+ "d=50#\n",
+ "W=20*10**3#\n",
+ "r1=10#\n",
+ "r2=30#\n",
+ "p=7#\n",
+ "u1=0.12/cos(15*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(3*p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Tr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr=Tr*10**-3#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "L=0.30#\n",
+ "Ph=Tr/L#\n",
+ "print \" Tr is %0.2f Nm \"%(Tr)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n Ph is %0.2f N \"%(Ph)#\n",
+ "#The answers to Tr, Te and Ph is slightly different than in the book due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tr is 187.49 Nm \n",
+ "\n",
+ " Te is 51.691 Nm \n",
+ "\n",
+ " n is 0.3489 \n",
+ "\n",
+ " Ph is 624.96 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-3 - Page 452"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=30#\n",
+ "W=5*10**3#\n",
+ "p=5#\n",
+ "rm=45/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Tr1=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr1=Tr1*10**-3#\n",
+ "n1=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "T1=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "T1=T1*10**-3#\n",
+ "n2=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "u2=0.02#\n",
+ "Tr2=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr2=Tr2*10**-3#\n",
+ "n3=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n4=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "print \" Tr1 is %0.3f Nm \"%(Tr1)#\n",
+ "print \"\\n n1 is %0.4f \"%(n1)#\n",
+ "print \"\\n T1 is %0.3f Nm \"%(T1)#\n",
+ "print \"\\n n2 is %0.4f \"%(n2)#\n",
+ "print \"\\n Tr2 is %0.3f Nm \"%(Tr2)#\n",
+ "print \"\\n n3 is %0.4f \"%(n3)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n4 is %0.4f \"%(n4)#\n",
+ " \n",
+ " #The answer to T1 is misprinted in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tr1 is 31.456 Nm \n",
+ "\n",
+ " n1 is 0.1265 \n",
+ "\n",
+ " T1 is 23.307 Nm \n",
+ "\n",
+ " n2 is 0.1707 \n",
+ "\n",
+ " Tr2 is 17.156 Nm \n",
+ "\n",
+ " n3 is 0.2319 \n",
+ "\n",
+ " Te is 9.007 Nm \n",
+ "\n",
+ " n4 is 0.4418 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-4 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=28#\n",
+ "P=300#\n",
+ "L=180#\n",
+ "p=8#\n",
+ "r1=16#\n",
+ "r2=46#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.12#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=P*L#\n",
+ "F=T/((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "F=F*10**-3#\n",
+ "print \"F is %0.3f kN \"%(F)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F is 7.299 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-5 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=25#\n",
+ "p=8#\n",
+ "F=392.4#\n",
+ "L=250#\n",
+ "l=p*2#\n",
+ "u=0.14#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(l/(pi*dm))#\n",
+ "phi=atan(u)#\n",
+ "T=dm*tan(alpha+phi)/2#\n",
+ "M=F*L#\n",
+ "P=M/T*10**-3#\n",
+ "print \"P is %0.1f kN \"%(P)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 23.6 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-6 - Page 454"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=52#\n",
+ "W=2.2*10**3#\n",
+ "p=8#\n",
+ "r1=15#\n",
+ "r2=30#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Ts=W*dm*tan(alpha+phi)/2#\n",
+ "u2=0.12#\n",
+ "Tc=u2*W*rm#\n",
+ "T=10**-3*(Ts+Tc)#\n",
+ "N=40#\n",
+ "w=2*pi*N/60#\n",
+ "P=T*w*10**-3#\n",
+ "To=W*dm/2*tan(alpha)#\n",
+ "n=To/(T*10**3)#\n",
+ "print \"P is %0.2f KW \"%(P)#\n",
+ "print \"\\nn is %0.4f \"%(n)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 0.07 KW \n",
+ "\n",
+ "n is 0.1659 \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-7 - Page 455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "alpha=atan(2*0.2/(pi*0.9))#\n",
+ "u1=0.15#\n",
+ "phi=atan(u1)#\n",
+ "P=200#\n",
+ "L=250#\n",
+ "Tt=P*L#\n",
+ "W=10*10**3#\n",
+ "u2=0.15#\n",
+ "x=Tt/W#\n",
+ "d=x/0.1716#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=0.8*d#\n",
+ "d=24#\n",
+ "p=5#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "print \"d is %0.0f mm \"%(d)#\n",
+ "print \"\\np is %0.0f mm \"%(p)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 24 mm \n",
+ "\n",
+ "p is 5 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 16-8 - Page 456"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "FOS=3#\n",
+ "sigut=380#\n",
+ "Ta=0.577*sigut/FOS#\n",
+ "d=25#\n",
+ "Tus=460#\n",
+ "Ps=pi*d*Tus#\n",
+ "siga=127#\n",
+ "dr=sqrt(Ps*4/(pi*siga))#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "u1=0.15#\n",
+ "alpha=atan(p*2/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=Ps*dm*tan(alpha+phi)/2#\n",
+ "T1=16*T/(pi*dr**3)#\n",
+ "sigc=4*Ps/(pi*dr**2)#\n",
+ "sigmax=sigc/2+sqrt((sigc/2**2)+(T1**2))#\n",
+ "Tmax=sqrt((sigc/2**2)+(T1**2))#\n",
+ "n=tan(alpha)/tan(alpha+phi)#\n",
+ "Uo=Ps/2#\n",
+ "Ui=Uo/n#\n",
+ "wav=pi/2#\n",
+ "wmax=2*wav#\n",
+ "I=Ui*2/wmax**2#\n",
+ "k=0.4#\n",
+ "Ir=0.9*I*10**-3#\n",
+ "m=Ir/k**2#\n",
+ "R=0.4#\n",
+ "rho=7200#\n",
+ "a=sqrt(m/(2*pi*R*rho))#\n",
+ "T=T*10**-3#\n",
+ "print \" T is %0.3f Nm \"%(T)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n a is %0.5f mm \"%(a)#\n",
+ " \n",
+ "#The difference in the answers of T is due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " T is 145.242 Nm \n",
+ "\n",
+ " n is 0.4751 \n",
+ "\n",
+ " a is 0.04894 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16_1.ipynb
new file mode 100755
index 00000000..bc87342d
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch16_1.ipynb
@@ -0,0 +1,445 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:16 Power screws"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-1 - Page 450"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ttr is 110.148 Nm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan, pi, sqrt, tan\n",
+ "d=30#\n",
+ "W=20*10**3#\n",
+ "r1=8#\n",
+ "r2=16#\n",
+ "p=6#\n",
+ "u1=0.2#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Ttr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Ttr=Ttr*10**-3#\n",
+ "print \"Ttr is %0.3f Nm \"%(Ttr)#\n",
+ "#The answer to Ttr is slightly different than in the book due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-2 - Page 451"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tr is 187.49 Nm \n",
+ "\n",
+ " Te is 51.691 Nm \n",
+ "\n",
+ " n is 0.3489 \n",
+ "\n",
+ " Ph is 624.96 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import cos,pi,atan,tan\n",
+ "d=50#\n",
+ "W=20*10**3#\n",
+ "r1=10#\n",
+ "r2=30#\n",
+ "p=7#\n",
+ "u1=0.12/cos(15*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(3*p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "rm=(r1+r2)/2#\n",
+ "Tr=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr=Tr*10**-3#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "L=0.30#\n",
+ "Ph=Tr/L#\n",
+ "print \" Tr is %0.2f Nm \"%(Tr)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n Ph is %0.2f N \"%(Ph)#\n",
+ "#The answers to Tr, Te and Ph is slightly different than in the book due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-3 - Page 452"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tr1 is 31.456 Nm \n",
+ "\n",
+ " n1 is 0.1265 \n",
+ "\n",
+ " T1 is 23.307 Nm \n",
+ "\n",
+ " n2 is 0.1707 \n",
+ "\n",
+ " Tr2 is 17.156 Nm \n",
+ "\n",
+ " n3 is 0.2319 \n",
+ "\n",
+ " Te is 9.007 Nm \n",
+ "\n",
+ " n4 is 0.4418 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan,tan\n",
+ "d=30#\n",
+ "W=5*10**3#\n",
+ "p=5#\n",
+ "rm=45/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Tr1=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr1=Tr1*10**-3#\n",
+ "n1=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "T1=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "T1=T1*10**-3#\n",
+ "n2=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "u2=0.02#\n",
+ "Tr2=W*((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "Tr2=Tr2*10**-3#\n",
+ "n3=dm/2*tan(alpha)/(dm*tan(alpha+phi)/2+(u2*rm))#\n",
+ "Te=W*((dm*tan(phi-alpha)/2)+(u2*rm))#\n",
+ "Te=Te*10**-3#\n",
+ "n4=dm/2*tan(alpha)/(dm*tan(phi-alpha)/2+(u2*rm))#\n",
+ "print \" Tr1 is %0.3f Nm \"%(Tr1)#\n",
+ "print \"\\n n1 is %0.4f \"%(n1)#\n",
+ "print \"\\n T1 is %0.3f Nm \"%(T1)#\n",
+ "print \"\\n n2 is %0.4f \"%(n2)#\n",
+ "print \"\\n Tr2 is %0.3f Nm \"%(Tr2)#\n",
+ "print \"\\n n3 is %0.4f \"%(n3)#\n",
+ "print \"\\n Te is %0.3f Nm \"%(Te)#\n",
+ "print \"\\n n4 is %0.4f \"%(n4)#\n",
+ " \n",
+ " #The answer to T1 is misprinted in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-4 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "F is 7.299 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan,atan,pi\n",
+ "d=28#\n",
+ "P=300#\n",
+ "L=180#\n",
+ "p=8#\n",
+ "r1=16#\n",
+ "r2=46#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.12#\n",
+ "u2=0.15#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=P*L#\n",
+ "F=T/((dm*tan(alpha+phi)/2)+(u2*rm))#\n",
+ "F=F*10**-3#\n",
+ "print \"F is %0.3f kN \"%(F)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-5 - Page 453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 23.6 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan,tan\n",
+ "d=25#\n",
+ "p=8#\n",
+ "F=392.4#\n",
+ "L=250#\n",
+ "l=p*2#\n",
+ "u=0.14#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(l/(pi*dm))#\n",
+ "phi=atan(u)#\n",
+ "T=dm*tan(alpha+phi)/2#\n",
+ "M=F*L#\n",
+ "P=M/T*10**-3#\n",
+ "print \"P is %0.1f kN \"%(P)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-6 - Page 454"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 0.07 KW \n",
+ "\n",
+ "n is 0.1659 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "d=52#\n",
+ "W=2.2*10**3#\n",
+ "p=8#\n",
+ "r1=15#\n",
+ "r2=30#\n",
+ "rm=(r1+r2)/2#\n",
+ "u1=0.15/cos(14.5*pi/180)#\n",
+ "dm=d-(p/2)#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "Ts=W*dm*tan(alpha+phi)/2#\n",
+ "u2=0.12#\n",
+ "Tc=u2*W*rm#\n",
+ "T=10**-3*(Ts+Tc)#\n",
+ "N=40#\n",
+ "w=2*pi*N/60#\n",
+ "P=T*w*10**-3#\n",
+ "To=W*dm/2*tan(alpha)#\n",
+ "n=To/(T*10**3)#\n",
+ "print \"P is %0.2f KW \"%(P)#\n",
+ "print \"\\nn is %0.4f \"%(n)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-7 - Page 455"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 24 mm \n",
+ "\n",
+ "p is 5 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "alpha=atan(2*0.2/(pi*0.9))#\n",
+ "u1=0.15#\n",
+ "phi=atan(u1)#\n",
+ "P=200#\n",
+ "L=250#\n",
+ "Tt=P*L#\n",
+ "W=10*10**3#\n",
+ "u2=0.15#\n",
+ "x=Tt/W#\n",
+ "d=x/0.1716#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=0.8*d#\n",
+ "d=24#\n",
+ "p=5#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "print \"d is %0.0f mm \"%(d)#\n",
+ "print \"\\np is %0.0f mm \"%(p)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 16-8 - Page 456"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " T is 145.242 Nm \n",
+ "\n",
+ " n is 0.4751 \n",
+ "\n",
+ " a is 0.04894 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,atan,tan\n",
+ "FOS=3#\n",
+ "sigut=380#\n",
+ "Ta=0.577*sigut/FOS#\n",
+ "d=25#\n",
+ "Tus=460#\n",
+ "Ps=pi*d*Tus#\n",
+ "siga=127#\n",
+ "dr=sqrt(Ps*4/(pi*siga))#\n",
+ "d=30#\n",
+ "p=6#\n",
+ "dr=d-p#\n",
+ "dm=d-(p/2)#\n",
+ "u1=0.15#\n",
+ "alpha=atan(p*2/(pi*dm))#\n",
+ "phi=atan(u1)#\n",
+ "T=Ps*dm*tan(alpha+phi)/2#\n",
+ "T1=16*T/(pi*dr**3)#\n",
+ "sigc=4*Ps/(pi*dr**2)#\n",
+ "sigmax=sigc/2+sqrt((sigc/2**2)+(T1**2))#\n",
+ "Tmax=sqrt((sigc/2**2)+(T1**2))#\n",
+ "n=tan(alpha)/tan(alpha+phi)#\n",
+ "Uo=Ps/2#\n",
+ "Ui=Uo/n#\n",
+ "wav=pi/2#\n",
+ "wmax=2*wav#\n",
+ "I=Ui*2/wmax**2#\n",
+ "k=0.4#\n",
+ "Ir=0.9*I*10**-3#\n",
+ "m=Ir/k**2#\n",
+ "R=0.4#\n",
+ "rho=7200#\n",
+ "a=sqrt(m/(2*pi*R*rho))#\n",
+ "T=T*10**-3#\n",
+ "print \" T is %0.3f Nm \"%(T)#\n",
+ "print \"\\n n is %0.4f \"%(n)#\n",
+ "print \"\\n a is %0.5f mm \"%(a)#\n",
+ " \n",
+ "#The difference in the answers of T is due to rounding-off of values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17.ipynb
new file mode 100755
index 00000000..ea3f1c00
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17.ipynb
@@ -0,0 +1,362 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d8d637e7ecf72daf7222d9457fa6d30ac8f9c6b3089d299c87aaa45e1504178c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:17 Sliding contact bearings"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-1 - Page 482"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import pi, sqrt\n",
+ "Ta=22#\n",
+ "u=7/10**9#\n",
+ "nj=20#\n",
+ "r=25#\n",
+ "l=2*r#\n",
+ "Ao=30000#\n",
+ "Uo=15.3/10**3#\n",
+ "c=0.025#\n",
+ "#specific weight of the material is rho\n",
+ "rho=8.46*(10**-6)#\n",
+ "Cp=179.8#\n",
+ "Tf=Ta+(16*pi**3*u*nj**2*l*r**3/(Uo*Ao*c))#\n",
+ "# avg mean film temperature is Tav\n",
+ "Tav=(Tf-Ta)/2#\n",
+ "x= l*c*rho*pi*r*nj*Cp*10**3#\n",
+ "y=Ao*Tav*Uo#\n",
+ "delT=y/x#\n",
+ "print \" Tav is %0.2f degC \"%(Tav)#\n",
+ "print \"\\n delT is %0.1f degC \"%(delT)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tav is 47.29 degC \n",
+ "\n",
+ " delT is 7.3 degC \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-2 - Page 482"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l=60#\n",
+ "d=60#\n",
+ "r=d/2#\n",
+ "ho=0.008#\n",
+ "c=0.04#\n",
+ "S=0.0446#\n",
+ "nj=1260/60#\n",
+ "W=6000#\n",
+ "p=W/(l*d)#\n",
+ "u=S*(c/r)**2*p/nj#\n",
+ "u=u*10**9#\n",
+ "print \"u is %0.3f cP \"%(u)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "u is 6.293 cP \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-3 - Page 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=60#\n",
+ "r=30#\n",
+ "l=60#\n",
+ "c=0.8*10**-3*r#\n",
+ "ho=0.2*c#\n",
+ "W=21000/2#\n",
+ "p=W/(l*d)#\n",
+ "S=0.0446#\n",
+ "nj=1440/60#\n",
+ "u=S*(c/r)**2*p/nj#\n",
+ "u=u*10**9#\n",
+ "# since Q/(r*nj*l)=4.62\n",
+ "Q=4.62*r*c*nj*l#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" u is %0.3f cP \"%(u)#\n",
+ "print \"\\n Q is %0.4f lpm \"%(Q)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " u is 3.469 cP \n",
+ "\n",
+ " Q is 0.2874 lpm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-4 - Page 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l=60#\n",
+ "d=60#\n",
+ "r=d/2#\n",
+ "W=3000#\n",
+ "p=W/(l*d)#\n",
+ "u=30*10**-9#\n",
+ "c=0.06#\n",
+ "nj=1440/60#\n",
+ "S=(r/c)**2*u*nj/p#\n",
+ "#For ratio l/d=1, values of different parameters are given in matrix A corresponding to S\n",
+ "from numpy import mat\n",
+ "A=mat([[0,0,0,0,0,0],[0,1, 0.264, 0.6, 5.79, 3.99],[0,1, 0.121, 0.4 ,3.22, 4.33]])#\n",
+ "#let ho/c=x\n",
+ "x=(A[1,3])-((A[1,3]-(A[2,3]))*((A[1,2])-S)/((A[1,2])-(A[2,2])))#\n",
+ "#let y= (r/c)*f=CFV\n",
+ "y=(A[1,4])-(A[1,4]-(A[2,4]))*((A[1,2])-S)/((A[1,2])-(A[2,2]))#\n",
+ "#let z=Q/(r*c*nj*l)=FV\n",
+ "z=(A[1,5])-((A[1,5]-(A[2,5]))*((A[1,2])-S)/((A[1,2])-(A[2,2])))#\n",
+ "f=y*c/r#\n",
+ "ho=x*c#\n",
+ "Q=z*r*c*nj*l#\n",
+ "Q=Q*60/10**6#\n",
+ "delT=8.3*p*y/z#\n",
+ "#let power lost in friction be Pf\n",
+ "Pf=2*pi*nj*f*W*r/10**6#\n",
+ "print \" f is %0.5f \"%(f)#\n",
+ "print \"\\n ho is %0.3f mm \"%(ho)#\n",
+ "print \"\\n Q is %0.3f lpm \"%(Q)#\n",
+ "print \"\\n delT is %0.1f degC \"%(delT)#\n",
+ "print \"\\n Pf is %0.4f KW \"%(Pf)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " f is 0.00985 \n",
+ "\n",
+ " ho is 0.032 mm \n",
+ "\n",
+ " Q is 0.638 lpm \n",
+ "\n",
+ " delT is 8.3 degC \n",
+ "\n",
+ " Pf is 0.1337 KW \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-5 - Page 484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "W=22000#\n",
+ "nj=960/60#\n",
+ "p=2.4#\n",
+ "u=20*10**-9#\n",
+ "d=sqrt(W/p)#\n",
+ "d=96#\n",
+ "r=d/2#\n",
+ "l=d#\n",
+ "S=0.0446#\n",
+ "pact=W/(l*d)#\n",
+ "#x=r/c#\n",
+ "x=sqrt(S*pact/(u*nj))#\n",
+ "c=r/x#\n",
+ "ho=0.2*c#\n",
+ "Q=r*c*nj*l*4.62#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n l is %0.0f mm \"%(l)#\n",
+ "print \"\\n ho is %0.4f mm \"%(ho)#\n",
+ "print \"\\n Q is %0.3f lpm \"%(Q)#\n",
+ "#The difference in answer to Q is due to rounding -off the value of c."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 96 mm \n",
+ "\n",
+ " l is 96 mm \n",
+ "\n",
+ " ho is 0.0166 mm \n",
+ "\n",
+ " Q is 1.701 lpm \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-6 - Page 485"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import log\n",
+ "W=400*10**3#\n",
+ "Ro=200#\n",
+ "Ri=160#\n",
+ "ho=0.1#\n",
+ "t=150#\n",
+ "# specific gravity is rho\n",
+ "rho=0.86#\n",
+ "pi=2*W*log(Ro/Ri)/(pi*(Ro**2-Ri**2))#\n",
+ "zk=(0.22*t)-(180/t)#\n",
+ "z=rho*zk#\n",
+ "u=z/(10**9)#\n",
+ "Q=pi*pi*ho**3/(6*u*log(Ro/Ri))#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" pi is %0.3f MPa \"%(pi)#\n",
+ "print \"\\n Q is %0.2f lpm \"%(Q)#\n",
+ " \n",
+ " #The difference in answer to Q is due to rounding -off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " pi is 3.946 MPa \n",
+ "\n",
+ " Q is 25.52 lpm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 17-7 - Page 486"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#let number of pads be n\n",
+ "n=4#\n",
+ "W=100*10**3#\n",
+ "Ro=125#\n",
+ "Ri=50#\n",
+ "t=200#\n",
+ "ho=0.15#\n",
+ "pi=2*W*log(Ro/Ri)/(pi*(Ro**2-Ri**2))#\n",
+ "zk=(0.22*t)-(180/t)#\n",
+ "# specific gravity is rho\n",
+ "rho=0.86#\n",
+ "z=rho*zk#\n",
+ "u=z/(10**9)#\n",
+ "Q=pi*pi*ho**3/(6*u*log(Ro/Ri))#\n",
+ "Q=Q*60/10**6#\n",
+ "print \"pi is %0.2f MPa \"%(pi)#\n",
+ "print \"\\nQ is %0.3f lpm \"%(Q)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "pi is 3.54 MPa \n",
+ "\n",
+ "Q is 12.441 lpm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17_1.ipynb
new file mode 100755
index 00000000..bd4b86bc
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch17_1.ipynb
@@ -0,0 +1,366 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:17 Sliding contact bearings"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-1 - Page 482"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tav is 47.29 degC \n",
+ "\n",
+ " delT is 7.3 degC \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import pi, sqrt\n",
+ "Ta=22#\n",
+ "u=7/10**9#\n",
+ "nj=20#\n",
+ "r=25#\n",
+ "l=2*r#\n",
+ "Ao=30000#\n",
+ "Uo=15.3/10**3#\n",
+ "c=0.025#\n",
+ "#specific weight of the material is rho\n",
+ "rho=8.46*(10**-6)#\n",
+ "Cp=179.8#\n",
+ "Tf=Ta+(16*pi**3*u*nj**2*l*r**3/(Uo*Ao*c))#\n",
+ "# avg mean film temperature is Tav\n",
+ "Tav=(Tf-Ta)/2#\n",
+ "x= l*c*rho*pi*r*nj*Cp*10**3#\n",
+ "y=Ao*Tav*Uo#\n",
+ "delT=y/x#\n",
+ "print \" Tav is %0.2f degC \"%(Tav)#\n",
+ "print \"\\n delT is %0.1f degC \"%(delT)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-2 - Page 482"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "u is 6.293 cP \n"
+ ]
+ }
+ ],
+ "source": [
+ "l=60#\n",
+ "d=60#\n",
+ "r=d/2#\n",
+ "ho=0.008#\n",
+ "c=0.04#\n",
+ "S=0.0446#\n",
+ "nj=1260/60#\n",
+ "W=6000#\n",
+ "p=W/(l*d)#\n",
+ "u=S*(c/r)**2*p/nj#\n",
+ "u=u*10**9#\n",
+ "print \"u is %0.3f cP \"%(u)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-3 - Page 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " u is 3.469 cP \n",
+ "\n",
+ " Q is 0.2874 lpm \n"
+ ]
+ }
+ ],
+ "source": [
+ "d=60#\n",
+ "r=30#\n",
+ "l=60#\n",
+ "c=0.8*10**-3*r#\n",
+ "ho=0.2*c#\n",
+ "W=21000/2#\n",
+ "p=W/(l*d)#\n",
+ "S=0.0446#\n",
+ "nj=1440/60#\n",
+ "u=S*(c/r)**2*p/nj#\n",
+ "u=u*10**9#\n",
+ "# since Q/(r*nj*l)=4.62\n",
+ "Q=4.62*r*c*nj*l#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" u is %0.3f cP \"%(u)#\n",
+ "print \"\\n Q is %0.4f lpm \"%(Q)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-4 - Page 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " f is 0.00985 \n",
+ "\n",
+ " ho is 0.032 mm \n",
+ "\n",
+ " Q is 0.638 lpm \n",
+ "\n",
+ " delT is 8.3 degC \n",
+ "\n",
+ " Pf is 0.1337 KW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from numpy import mat,pi,sqrt\n",
+ "l=60#\n",
+ "d=60#\n",
+ "r=d/2#\n",
+ "W=3000#\n",
+ "p=W/(l*d)#\n",
+ "u=30*10**-9#\n",
+ "c=0.06#\n",
+ "nj=1440/60#\n",
+ "S=(r/c)**2*u*nj/p#\n",
+ "#For ratio l/d=1, values of different parameters are given in matrix A corresponding to S\n",
+ "A=mat([[0,0,0,0,0,0],[0,1, 0.264, 0.6, 5.79, 3.99],[0,1, 0.121, 0.4 ,3.22, 4.33]])#\n",
+ "#let ho/c=x\n",
+ "x=(A[1,3])-((A[1,3]-(A[2,3]))*((A[1,2])-S)/((A[1,2])-(A[2,2])))#\n",
+ "#let y= (r/c)*f=CFV\n",
+ "y=(A[1,4])-(A[1,4]-(A[2,4]))*((A[1,2])-S)/((A[1,2])-(A[2,2]))#\n",
+ "#let z=Q/(r*c*nj*l)=FV\n",
+ "z=(A[1,5])-((A[1,5]-(A[2,5]))*((A[1,2])-S)/((A[1,2])-(A[2,2])))#\n",
+ "f=y*c/r#\n",
+ "ho=x*c#\n",
+ "Q=z*r*c*nj*l#\n",
+ "Q=Q*60/10**6#\n",
+ "delT=8.3*p*y/z#\n",
+ "#let power lost in friction be Pf\n",
+ "Pf=2*pi*nj*f*W*r/10**6#\n",
+ "print \" f is %0.5f \"%(f)#\n",
+ "print \"\\n ho is %0.3f mm \"%(ho)#\n",
+ "print \"\\n Q is %0.3f lpm \"%(Q)#\n",
+ "print \"\\n delT is %0.1f degC \"%(delT)#\n",
+ "print \"\\n Pf is %0.4f KW \"%(Pf)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-5 - Page 484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 96 mm \n",
+ "\n",
+ " l is 96 mm \n",
+ "\n",
+ " ho is 0.0166 mm \n",
+ "\n",
+ " Q is 1.701 lpm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "W=22000#\n",
+ "nj=960/60#\n",
+ "p=2.4#\n",
+ "u=20*10**-9#\n",
+ "d=sqrt(W/p)#\n",
+ "d=96#\n",
+ "r=d/2#\n",
+ "l=d#\n",
+ "S=0.0446#\n",
+ "pact=W/(l*d)#\n",
+ "#x=r/c#\n",
+ "x=sqrt(S*pact/(u*nj))#\n",
+ "c=r/x#\n",
+ "ho=0.2*c#\n",
+ "Q=r*c*nj*l*4.62#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" d is %0.0f mm \"%(d)#\n",
+ "print \"\\n l is %0.0f mm \"%(l)#\n",
+ "print \"\\n ho is %0.4f mm \"%(ho)#\n",
+ "print \"\\n Q is %0.3f lpm \"%(Q)#\n",
+ "#The difference in answer to Q is due to rounding -off the value of c."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-6 - Page 485"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " pi is 3.946 MPa \n",
+ "\n",
+ " Q is 25.52 lpm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log,pi\n",
+ "W=400*10**3#\n",
+ "Ro=200#\n",
+ "Ri=160#\n",
+ "ho=0.1#\n",
+ "t=150#\n",
+ "# specific gravity is rho\n",
+ "rho=0.86#\n",
+ "pi=2*W*log(Ro/Ri)/(pi*(Ro**2-Ri**2))#\n",
+ "zk=(0.22*t)-(180/t)#\n",
+ "z=rho*zk#\n",
+ "u=z/(10**9)#\n",
+ "Q=pi*pi*ho**3/(6*u*log(Ro/Ri))#\n",
+ "Q=Q*60/10**6#\n",
+ "print \" pi is %0.3f MPa \"%(pi)#\n",
+ "print \"\\n Q is %0.2f lpm \"%(Q)#\n",
+ " \n",
+ "#The difference in answer to Q is due to rounding -off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 17-7 - Page 486"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "pi is 4.44 MPa \n",
+ "\n",
+ "Q is 19.629 lpm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log, pi\n",
+ "#let number of pads be n\n",
+ "n=4#\n",
+ "W=100*10**3#\n",
+ "Ro=125#\n",
+ "Ri=50#\n",
+ "t=200#\n",
+ "ho=0.15#\n",
+ "pi=2*W*log(Ro/Ri)/(pi*(Ro**2-Ri**2))#\n",
+ "zk=(0.22*t)-(180/t)#\n",
+ "# specific gravity is rho\n",
+ "rho=0.86#\n",
+ "z=rho*zk#\n",
+ "u=z/(10**9)#\n",
+ "Q=pi*pi*ho**3/(6*u*log(Ro/Ri))#\n",
+ "Q=Q*60/10**6#\n",
+ "print \"pi is %0.2f MPa \"%(pi)#\n",
+ "print \"\\nQ is %0.3f lpm \"%(Q)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18.ipynb
new file mode 100755
index 00000000..517ede07
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18.ipynb
@@ -0,0 +1,458 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:055c3393195abf0a8ef572fedb25f45ff1f7afe240916a9a2958b3762222b625"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:18 Rolling bearings"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-1 - Page 507"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Pr=16*10**3#\n",
+ "u=0.0011#\n",
+ "F=u*Pr#\n",
+ "r=20*10**-3#\n",
+ "#Let frictional moment be M\n",
+ "M=F*r#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "Pf=M*w#\n",
+ "print \"Pf is %0.2f W \"%(Pf)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Pf is 53.08 W \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-2 - Page 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "C=5590#\n",
+ "Ca=2500#\n",
+ "Pa=625#\n",
+ "Pr=1250#\n",
+ "V=1#\n",
+ "X=0.56#\n",
+ "Y=1.2#\n",
+ "P1=(X*V*Pr)+(Y*Pa)#\n",
+ "L1=(C/P1)**3#\n",
+ "V=1.2#\n",
+ "P2=(X*V*Pr)+(Y*Pa)#\n",
+ "L2=(C/P2)**3#\n",
+ "print \"L1 is %0.1f million revolutions \"%(L1)#\n",
+ "print \"\\nL2 is %0.2f million revoltions \"%(L2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "L1 is 57.3 million revolutions \n",
+ "\n",
+ "L2 is 43.46 million revoltions \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-4 - Page 509"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=20*10**3#\n",
+ "Co=22400#\n",
+ "C=41000#\n",
+ "Ln=(C/P)**3#\n",
+ "Lh=Ln*10**6/(720*60)#\n",
+ "print \"Lh is %0.3f hrs \"%(Lh)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Lh is 199.424 hrs \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-5 - Page 510"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "R1x=120#\n",
+ "R1y=250#\n",
+ "R2x=300#\n",
+ "R2y=400#\n",
+ "Lh=8000#\n",
+ "N=720#\n",
+ "Ln=Lh*60*N*10**-6#\n",
+ "R1=sqrt(R1x**2+R1y**2)#\n",
+ "R2=sqrt(R2x**2+R2y**2)#\n",
+ "#Let load factor be Ks\n",
+ "Ks=1.5#\n",
+ "P1=R1*Ks#\n",
+ "P2=R2*Ks#\n",
+ "C1=P1*(Ln**(1/3))#\n",
+ "C2=P2*(Ln**(1/3))#\n",
+ "#let designation,d,D,B,C at bearing B1 be De1,d1,D1,B1,C1\n",
+ "d1=25#\n",
+ "D1=37#\n",
+ "B1=7#\n",
+ "C1=3120#\n",
+ "De1=61805#\n",
+ "#let designation,d,D,B,C at bearing B2 be De2,d2,D2,B2,C2\n",
+ "d2=25#\n",
+ "D2=47#\n",
+ "B2=8#\n",
+ "C2=7620#\n",
+ "De2=16005#\n",
+ "print \"Designation of Bearing B1 is %0.0f \"%(De1)#\n",
+ "print \"\\nd1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\nD1 is %0.0f mm \"%(D1)#\n",
+ "print \"\\nB1 is %0.0f mm \"%(B1)#\n",
+ "print \"\\nC1 is %0.0f N \"%(C1)#\n",
+ "print \"\\nDesignation of Bearing B2 is %0.0f \"%(De2)#\n",
+ "print \"\\nd2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\nD2 is %0.0f mm \"%(D2)#\n",
+ "print \"\\nB2 is %0.0f mm \"%(B2)#\n",
+ "print \"\\nC2 is %0.0f N \"%(C2)#\n",
+ "print 'Bearing 61805 at B1 and 16005 at B2 can be installed.'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Designation of Bearing B1 is 61805 \n",
+ "\n",
+ "d1 is 25 mm \n",
+ "\n",
+ "D1 is 37 mm \n",
+ "\n",
+ "B1 is 7 mm \n",
+ "\n",
+ "C1 is 3120 N \n",
+ "\n",
+ "Designation of Bearing B2 is 16005 \n",
+ "\n",
+ "d2 is 25 mm \n",
+ "\n",
+ "D2 is 47 mm \n",
+ "\n",
+ "B2 is 8 mm \n",
+ "\n",
+ "C2 is 7620 N \n",
+ "Bearing 61805 at B1 and 16005 at B2 can be installed.\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-6 - Page 511"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import tan\n",
+ "P=7500#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "r=0.2#\n",
+ "#Let T1-T2=t\n",
+ "t=T/r#\n",
+ "T2=t/2.5#\n",
+ "T1=3.5*T2#\n",
+ "R=0.125#\n",
+ "Ft=T/R#\n",
+ "Fr=Ft*tan(20*pi/180)#\n",
+ "# RD & RA are reaction forces calculated in vertical and horizontal directions from FBD by force equilibrium\n",
+ "RDv=186.5#\n",
+ "RAv=236.2#\n",
+ "RDh=36.2#\n",
+ "RAh=108.56#\n",
+ "RA=sqrt(RAv**2+RAh**2)#\n",
+ "RD=sqrt(RDv**2+RDh**2)#\n",
+ "Ks=1.4#\n",
+ "P1=RA*Ks#\n",
+ "P2=RD*Ks#\n",
+ "#let designation,d,D,B,C at bearing B1 be De1,d1,C1\n",
+ "d1=25#\n",
+ "C1=3120#\n",
+ "De1=61805#\n",
+ "#let designation,d,D,B,C at bearing B2 be De2,d2,C2\n",
+ "d2=25#\n",
+ "\n",
+ "C2=2700#\n",
+ "De2=61804#\n",
+ "L1=(C1/P1)**3#\n",
+ "Lh1=L1*10**6/(720*60)#\n",
+ "L2=(C2/P2)**3#\n",
+ "Lh2=L2*10**6/(720*60)#\n",
+ "print \"Lh1 is %0.0f hrs \"%(Lh1)#\n",
+ "print \"\\nLh2 is %0.0f hrs \"%(Lh2)#\n",
+ "#Incorrect value of P2 is taken in the book while calculating L2."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Lh1 is 14585 hrs \n",
+ "\n",
+ "Lh2 is 24216 hrs \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ " exa 18-7 - Page 511"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import log\n",
+ "P=3500#\n",
+ "Lh=6000#\n",
+ "N=1400#\n",
+ "R98=0.98#\n",
+ "R90=0.9#\n",
+ "L98=Lh*60*N/10**6#\n",
+ "x=(log(1/R98)/log(1/R90))**(1/1.17)#\n",
+ "L90=L98/x#\n",
+ "C=P*L90**(1/3)#\n",
+ "print \"C is %0.0f N \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of L."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C is 44589 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-8 - Page 512"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "n=3#\n",
+ "P=3#\n",
+ "#Let Reliability of system be R\n",
+ "R=0.83#\n",
+ "L94=6#\n",
+ "R94=(R)**(1/n)#\n",
+ "x=(log(1/R94)/log(1/0.90))**(1/1.17)#\n",
+ "L90=L94/x#\n",
+ "C=P*L90**(1/3)#\n",
+ "print \"C is %0.3f kN \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of L."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C is 6.337 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-9 - Page 512"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P1=3000#\n",
+ "P2=4000#\n",
+ "P3=5000#\n",
+ "N1=1440#\n",
+ "N2=1080#\n",
+ "N3=720#\n",
+ "t1=1/4#\n",
+ "t2=1/2#\n",
+ "t3=1/4#\n",
+ "n1=N1*t1#\n",
+ "n2=N2*t2#\n",
+ "n3=N3*t3#\n",
+ "N=(n1+n2+n3)#\n",
+ "Pe=(((n1*P1**3)+(n2*P2**3)+(n3*P3**3))/N)**(1/3)#\n",
+ "Lh=10*10**3#\n",
+ "L=Lh*60*N/10**6#\n",
+ "C=Pe*L**(1/3)#\n",
+ "print \"C is %0.0f N \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of Pe"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C is 34219 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 18-10 - Page 513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Co=695#\n",
+ "C=1430#\n",
+ "Pa1=200#\n",
+ "Pr1=600#\n",
+ "x=Pa1/Co#\n",
+ "y=Pa1/Pr1#\n",
+ "e=0.37+((0.44-0.37)*0.038/0.28)#\n",
+ "X=1#\n",
+ "Y=0#\n",
+ "P1=600#\n",
+ "Pa2=120#\n",
+ "Pr2=300#\n",
+ "X=0.56#\n",
+ "Y=1.2-(0.2*0.042/0.12)#\n",
+ "P2=(X*Pr2)+(Y*Pa2)#\n",
+ "N1=1440#\n",
+ "N2=720#\n",
+ "t1=2/3#\n",
+ "t2=1/3#\n",
+ "n1=N1*t1#\n",
+ "n2=N2*t2#\n",
+ "N=(n1+n2)#\n",
+ "Pe=(((n1*P1**3)+(n2*P2**3))/N)**(1/3)#\n",
+ "L=(C/Pe)**3#\n",
+ "Lh=L*10**6/(N*60)#\n",
+ "print \"Lh is %0.2f hrs \"%(Lh)#\n",
+ "#The difference in the value of Lh is due to rounding-off of value of Pe"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Lh is 227.66 hrs \n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18_1.ipynb
new file mode 100755
index 00000000..edb3ac36
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch18_1.ipynb
@@ -0,0 +1,460 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:18 Rolling bearings"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-1 - Page 507"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Pf is 53.08 W \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Pr=16*10**3#\n",
+ "u=0.0011#\n",
+ "F=u*Pr#\n",
+ "r=20*10**-3#\n",
+ "#Let frictional moment be M\n",
+ "M=F*r#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "Pf=M*w#\n",
+ "print \"Pf is %0.2f W \"%(Pf)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-2 - Page 508"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "L1 is 57.3 million revolutions \n",
+ "\n",
+ "L2 is 43.46 million revoltions \n"
+ ]
+ }
+ ],
+ "source": [
+ "C=5590#\n",
+ "Ca=2500#\n",
+ "Pa=625#\n",
+ "Pr=1250#\n",
+ "V=1#\n",
+ "X=0.56#\n",
+ "Y=1.2#\n",
+ "P1=(X*V*Pr)+(Y*Pa)#\n",
+ "L1=(C/P1)**3#\n",
+ "V=1.2#\n",
+ "P2=(X*V*Pr)+(Y*Pa)#\n",
+ "L2=(C/P2)**3#\n",
+ "print \"L1 is %0.1f million revolutions \"%(L1)#\n",
+ "print \"\\nL2 is %0.2f million revoltions \"%(L2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-4 - Page 509"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Lh is 199.424 hrs \n"
+ ]
+ }
+ ],
+ "source": [
+ "P=20*10**3#\n",
+ "Co=22400#\n",
+ "C=41000#\n",
+ "Ln=(C/P)**3#\n",
+ "Lh=Ln*10**6/(720*60)#\n",
+ "print \"Lh is %0.3f hrs \"%(Lh)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-5 - Page 510"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Designation of Bearing B1 is 61805 \n",
+ "\n",
+ "d1 is 25 mm \n",
+ "\n",
+ "D1 is 37 mm \n",
+ "\n",
+ "B1 is 7 mm \n",
+ "\n",
+ "C1 is 3120 N \n",
+ "\n",
+ "Designation of Bearing B2 is 16005 \n",
+ "\n",
+ "d2 is 25 mm \n",
+ "\n",
+ "D2 is 47 mm \n",
+ "\n",
+ "B2 is 8 mm \n",
+ "\n",
+ "C2 is 7620 N \n",
+ "Bearing 61805 at B1 and 16005 at B2 can be installed.\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "R1x=120#\n",
+ "R1y=250#\n",
+ "R2x=300#\n",
+ "R2y=400#\n",
+ "Lh=8000#\n",
+ "N=720#\n",
+ "Ln=Lh*60*N*10**-6#\n",
+ "R1=sqrt(R1x**2+R1y**2)#\n",
+ "R2=sqrt(R2x**2+R2y**2)#\n",
+ "#Let load factor be Ks\n",
+ "Ks=1.5#\n",
+ "P1=R1*Ks#\n",
+ "P2=R2*Ks#\n",
+ "C1=P1*(Ln**(1/3))#\n",
+ "C2=P2*(Ln**(1/3))#\n",
+ "#let designation,d,D,B,C at bearing B1 be De1,d1,D1,B1,C1\n",
+ "d1=25#\n",
+ "D1=37#\n",
+ "B1=7#\n",
+ "C1=3120#\n",
+ "De1=61805#\n",
+ "#let designation,d,D,B,C at bearing B2 be De2,d2,D2,B2,C2\n",
+ "d2=25#\n",
+ "D2=47#\n",
+ "B2=8#\n",
+ "C2=7620#\n",
+ "De2=16005#\n",
+ "print \"Designation of Bearing B1 is %0.0f \"%(De1)#\n",
+ "print \"\\nd1 is %0.0f mm \"%(d1)#\n",
+ "print \"\\nD1 is %0.0f mm \"%(D1)#\n",
+ "print \"\\nB1 is %0.0f mm \"%(B1)#\n",
+ "print \"\\nC1 is %0.0f N \"%(C1)#\n",
+ "print \"\\nDesignation of Bearing B2 is %0.0f \"%(De2)#\n",
+ "print \"\\nd2 is %0.0f mm \"%(d2)#\n",
+ "print \"\\nD2 is %0.0f mm \"%(D2)#\n",
+ "print \"\\nB2 is %0.0f mm \"%(B2)#\n",
+ "print \"\\nC2 is %0.0f N \"%(C2)#\n",
+ "print 'Bearing 61805 at B1 and 16005 at B2 can be installed.'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-6 - Page 511"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Lh1 is 14585 hrs \n",
+ "\n",
+ "Lh2 is 24216 hrs \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan, pi,sqrt\n",
+ "P=7500#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "r=0.2#\n",
+ "#Let T1-T2=t\n",
+ "t=T/r#\n",
+ "T2=t/2.5#\n",
+ "T1=3.5*T2#\n",
+ "R=0.125#\n",
+ "Ft=T/R#\n",
+ "Fr=Ft*tan(20*pi/180)#\n",
+ "# RD & RA are reaction forces calculated in vertical and horizontal directions from FBD by force equilibrium\n",
+ "RDv=186.5#\n",
+ "RAv=236.2#\n",
+ "RDh=36.2#\n",
+ "RAh=108.56#\n",
+ "RA=sqrt(RAv**2+RAh**2)#\n",
+ "RD=sqrt(RDv**2+RDh**2)#\n",
+ "Ks=1.4#\n",
+ "P1=RA*Ks#\n",
+ "P2=RD*Ks#\n",
+ "#let designation,d,D,B,C at bearing B1 be De1,d1,C1\n",
+ "d1=25#\n",
+ "C1=3120#\n",
+ "De1=61805#\n",
+ "#let designation,d,D,B,C at bearing B2 be De2,d2,C2\n",
+ "d2=25#\n",
+ "\n",
+ "C2=2700#\n",
+ "De2=61804#\n",
+ "L1=(C1/P1)**3#\n",
+ "Lh1=L1*10**6/(720*60)#\n",
+ "L2=(C2/P2)**3#\n",
+ "Lh2=L2*10**6/(720*60)#\n",
+ "print \"Lh1 is %0.0f hrs \"%(Lh1)#\n",
+ "print \"\\nLh2 is %0.0f hrs \"%(Lh2)#\n",
+ "#Incorrect value of P2 is taken in the book while calculating L2."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-7 - Page 511"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "C is 44589 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log\n",
+ "P=3500#\n",
+ "Lh=6000#\n",
+ "N=1400#\n",
+ "R98=0.98#\n",
+ "R90=0.9#\n",
+ "L98=Lh*60*N/10**6#\n",
+ "x=(log(1/R98)/log(1/R90))**(1/1.17)#\n",
+ "L90=L98/x#\n",
+ "C=P*L90**(1/3)#\n",
+ "print \"C is %0.0f N \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of L."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-8 - Page 512"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "C is 6.337 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log\n",
+ "n=3#\n",
+ "P=3#\n",
+ "#Let Reliability of system be R\n",
+ "R=0.83#\n",
+ "L94=6#\n",
+ "R94=(R)**(1/n)#\n",
+ "x=(log(1/R94)/log(1/0.90))**(1/1.17)#\n",
+ "L90=L94/x#\n",
+ "C=P*L90**(1/3)#\n",
+ "print \"C is %0.3f kN \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of L."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-9 - Page 512"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "C is 34219 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "P1=3000#\n",
+ "P2=4000#\n",
+ "P3=5000#\n",
+ "N1=1440#\n",
+ "N2=1080#\n",
+ "N3=720#\n",
+ "t1=1/4#\n",
+ "t2=1/2#\n",
+ "t3=1/4#\n",
+ "n1=N1*t1#\n",
+ "n2=N2*t2#\n",
+ "n3=N3*t3#\n",
+ "N=(n1+n2+n3)#\n",
+ "Pe=(((n1*P1**3)+(n2*P2**3)+(n3*P3**3))/N)**(1/3)#\n",
+ "Lh=10*10**3#\n",
+ "L=Lh*60*N/10**6#\n",
+ "C=Pe*L**(1/3)#\n",
+ "print \"C is %0.0f N \"%(C)#\n",
+ "#The difference in the value of C is due to rounding-off of value of Pe"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 18-10 - Page 513"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Lh is 227.66 hrs \n"
+ ]
+ }
+ ],
+ "source": [
+ "Co=695#\n",
+ "C=1430#\n",
+ "Pa1=200#\n",
+ "Pr1=600#\n",
+ "x=Pa1/Co#\n",
+ "y=Pa1/Pr1#\n",
+ "e=0.37+((0.44-0.37)*0.038/0.28)#\n",
+ "X=1#\n",
+ "Y=0#\n",
+ "P1=600#\n",
+ "Pa2=120#\n",
+ "Pr2=300#\n",
+ "X=0.56#\n",
+ "Y=1.2-(0.2*0.042/0.12)#\n",
+ "P2=(X*Pr2)+(Y*Pa2)#\n",
+ "N1=1440#\n",
+ "N2=720#\n",
+ "t1=2/3#\n",
+ "t2=1/3#\n",
+ "n1=N1*t1#\n",
+ "n2=N2*t2#\n",
+ "N=(n1+n2)#\n",
+ "Pe=(((n1*P1**3)+(n2*P2**3))/N)**(1/3)#\n",
+ "L=(C/Pe)**3#\n",
+ "Lh=L*10**6/(N*60)#\n",
+ "print \"Lh is %0.2f hrs \"%(Lh)#\n",
+ "#The difference in the value of Lh is due to rounding-off of value of Pe"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19.ipynb
new file mode 100755
index 00000000..ddcc05f3
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19.ipynb
@@ -0,0 +1,382 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:02d16750a95e9cb061b70a14a88598b538bc7e53305c21d4fa8042fd93a35729"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:19 Flywheel"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-1 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, cos, sin\n",
+ "R=1200#\n",
+ "b=300#\n",
+ "t=150#\n",
+ "N=500#\n",
+ "m=7100*10**-9*b*t#\n",
+ "Ar=b*t#\n",
+ "Aa=Ar/4#\n",
+ "C=(20280/t**2)+0.957+(Ar/Aa)#\n",
+ "w=2*pi*N/60#\n",
+ "V=w*R*10**-3#\n",
+ "siga=2*10**3*m*V**2/(C*Aa*3)#\n",
+ "theta=30*pi/180#\n",
+ "alpha=30*pi/180#\n",
+ "x1=10**3*m*(V**2)/(b*t)#\n",
+ "y1=cos(theta)/(3*C*sin(alpha))#\n",
+ "z1=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr1=x1*(1-y1+z1)#\n",
+ "theta=0*pi/180#\n",
+ "x2=10**3*m*(V**2)/(b*t)#\n",
+ "y2=cos(theta)/(3*C*sin(alpha))#\n",
+ "z2=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr2=x2*(1-y2-z2)#\n",
+ "print \"axial stress is %0.2f MPa \"%(siga)#\n",
+ "print \"\\ntensile stress for theta=30deg is %0.1f MPa \"%(sigrr1)#\n",
+ "print \"\\ntensile stress for theta=0deg is %0.2f MPa \"%(sigrr2)#\n",
+ "#The difference in the value of sigrr1 and sigrr2 is due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "axial stress is 12.76 MPa \n",
+ "\n",
+ "tensile stress for theta=30deg is 38.9 MPa \n",
+ "\n",
+ "tensile stress for theta=0deg is 31.74 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-2 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import asin, cos\n",
+ "N=350#\n",
+ "theta1=asin(sqrt((3-0.6)/4))#\n",
+ "theta1=theta1*180/pi#\n",
+ "theta2=(180)-theta1#\n",
+ "#Ti=16000+6000*sind(3*theta)#\n",
+ "#To=16000+3600*sind(theta)#\n",
+ "a=-3600*(cos(pi/180*theta2)-cos(pi/180*theta1))#\n",
+ "b=2000*(cos(pi/180*3*theta2)-cos(pi/180*3*theta1))#\n",
+ "c=a+b#\n",
+ "delU=c#\n",
+ "Ks=0.05#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "V=25#\n",
+ "Ir=I*0.95#\n",
+ "R=V/w#\n",
+ "Mr=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(Mr*(10**6)/(2*pi*R*2*rho))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.3f m \"%(R)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 63.37 mm \n",
+ "\n",
+ "b is 126.74 mm \n",
+ "\n",
+ "R is 0.682 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-3 - Page 531"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=300#\n",
+ "Ks=0.03#\n",
+ "rho=7150#\n",
+ "Kr=0.9#\n",
+ "w=2*pi*N/60#\n",
+ "WD=(300*2*pi)+(4*pi*200/4)#\n",
+ "Tm=400#\n",
+ "delU=pi*200/16#\n",
+ "Ir=Kr*delU/(w**2*Ks)#\n",
+ "R=Ir/(rho*1.5*0.1*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.4f m \"%(R)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 28.16 mm \n",
+ "\n",
+ "b is 42.24 mm \n",
+ "\n",
+ "R is 0.2816 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-4 - Page 532"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=20#\n",
+ "t=12#\n",
+ "Tus=450#\n",
+ "Pmax=pi*d*t*Tus#\n",
+ "WD=Pmax*t/2*10**-3#\n",
+ "n=0.95#\n",
+ "Wi=WD/n#\n",
+ "delU=5*Wi/6#\n",
+ "N=300#\n",
+ "w=2*pi*N/60#\n",
+ "Ks=0.2#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.5#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*2))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#\n",
+ "print \"\\nR is %0.1f m \"%(R)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 26.9 mm \n",
+ "\n",
+ "b is 53.8 mm \n",
+ "\n",
+ "R is 0.5 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-5 - Page 533"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "U=(500*2*pi)+(3*pi*500/2)#\n",
+ "Tm=U/(2*pi)#\n",
+ "delU=2.25*pi*125/2#\n",
+ "Ks=0.1#\n",
+ "N=250#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "t=0.03#\n",
+ "rho=7800#\n",
+ "R=(I*2/(pi*rho*t))**(1/4)#\n",
+ "V=R*w#\n",
+ "v=0.3#\n",
+ "sigmax=rho*V**2*(3+v)/8*10**-6#\n",
+ "print \"R is %0.3f m \"%(R)#\n",
+ "print \"\\nsigmax is %0.2f MPa \"%(sigmax)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "R is 0.364 m \n",
+ "\n",
+ "sigmax is 0.29 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-6 - Page 534"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=1.5*8*60#\n",
+ "l=200#\n",
+ "t=1.5/2#\n",
+ "W=350*10**3#\n",
+ "WD=0.15*l*W*10**-6#\n",
+ "n=0.9# #since frictional effect is 10%, effciency of system is 90%\n",
+ "Wi=WD/n#\n",
+ "L=400#\n",
+ "delU=(L-(0.15*l))/(L)*10**3*Wi#\n",
+ "Ks=0.12#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.7#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*1.5))#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 24.8 mm \n",
+ "\n",
+ "b is 37.2 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 19-7 - Page 535"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=144#\n",
+ "#Let n be no. of punches/ min\n",
+ "n=8#\n",
+ "#Let t be timr for 1 punch\n",
+ "t=60/n#\n",
+ "theta=N/60*2*pi*0.6#\n",
+ "T=2.1#\n",
+ "U=T*theta#\n",
+ "#Let U1 be revolution of crankshaft in t sec\n",
+ "U1=t*N/60*2*pi#\n",
+ "delU=(U1-theta)/U1*U*10**3#\n",
+ "w=2*pi*1440/60#\n",
+ "Ks=0.1#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "rho=7100#\n",
+ "\n",
+ "R=Ir/(rho*0.2*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=0.2*R*10**3#\n",
+ "t=40#\n",
+ "b=80#\n",
+ "R=400#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t is %0.0f mm \"%(t)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 40 mm \n",
+ "\n",
+ "b is 80 mm \n",
+ "\n",
+ "R is 400 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19_1.ipynb
new file mode 100755
index 00000000..e42db53e
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch19_1.ipynb
@@ -0,0 +1,389 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:19 Flywheel"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-1 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "axial stress is 12.76 MPa \n",
+ "\n",
+ "tensile stress for theta=30deg is 38.9 MPa \n",
+ "\n",
+ "tensile stress for theta=0deg is 31.74 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, cos, sin\n",
+ "R=1200#\n",
+ "b=300#\n",
+ "t=150#\n",
+ "N=500#\n",
+ "m=7100*10**-9*b*t#\n",
+ "Ar=b*t#\n",
+ "Aa=Ar/4#\n",
+ "C=(20280/t**2)+0.957+(Ar/Aa)#\n",
+ "w=2*pi*N/60#\n",
+ "V=w*R*10**-3#\n",
+ "siga=2*10**3*m*V**2/(C*Aa*3)#\n",
+ "theta=30*pi/180#\n",
+ "alpha=30*pi/180#\n",
+ "x1=10**3*m*(V**2)/(b*t)#\n",
+ "y1=cos(theta)/(3*C*sin(alpha))#\n",
+ "z1=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr1=x1*(1-y1+z1)#\n",
+ "theta=0*pi/180#\n",
+ "x2=10**3*m*(V**2)/(b*t)#\n",
+ "y2=cos(theta)/(3*C*sin(alpha))#\n",
+ "z2=2000*R*10**-3/(C*t)*((1/alpha)-(cos(theta)/sin(alpha)))#\n",
+ "sigrr2=x2*(1-y2-z2)#\n",
+ "print \"axial stress is %0.2f MPa \"%(siga)#\n",
+ "print \"\\ntensile stress for theta=30deg is %0.1f MPa \"%(sigrr1)#\n",
+ "print \"\\ntensile stress for theta=0deg is %0.2f MPa \"%(sigrr2)#\n",
+ "#The difference in the value of sigrr1 and sigrr2 is due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-2 - Page 530"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 63.37 mm \n",
+ "\n",
+ "b is 126.74 mm \n",
+ "\n",
+ "R is 0.682 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import asin, cos, sqrt,pi\n",
+ "N=350#\n",
+ "theta1=asin(sqrt((3-0.6)/4))#\n",
+ "theta1=theta1*180/pi#\n",
+ "theta2=(180)-theta1#\n",
+ "#Ti=16000+6000*sind(3*theta)#\n",
+ "#To=16000+3600*sind(theta)#\n",
+ "a=-3600*(cos(pi/180*theta2)-cos(pi/180*theta1))#\n",
+ "b=2000*(cos(pi/180*3*theta2)-cos(pi/180*3*theta1))#\n",
+ "c=a+b#\n",
+ "delU=c#\n",
+ "Ks=0.05#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "V=25#\n",
+ "Ir=I*0.95#\n",
+ "R=V/w#\n",
+ "Mr=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(Mr*(10**6)/(2*pi*R*2*rho))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.3f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-3 - Page 531"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 28.16 mm \n",
+ "\n",
+ "b is 42.24 mm \n",
+ "\n",
+ "R is 0.2816 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=300#\n",
+ "Ks=0.03#\n",
+ "rho=7150#\n",
+ "Kr=0.9#\n",
+ "w=2*pi*N/60#\n",
+ "WD=(300*2*pi)+(4*pi*200/4)#\n",
+ "Tm=400#\n",
+ "delU=pi*200/16#\n",
+ "Ir=Kr*delU/(w**2*Ks)#\n",
+ "R=Ir/(rho*1.5*0.1*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.2f mm \"%(t)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#\n",
+ "print \"\\nR is %0.4f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-4 - Page 532"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 26.9 mm \n",
+ "\n",
+ "b is 53.8 mm \n",
+ "\n",
+ "R is 0.5 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "d=20#\n",
+ "t=12#\n",
+ "Tus=450#\n",
+ "Pmax=pi*d*t*Tus#\n",
+ "WD=Pmax*t/2*10**-3#\n",
+ "n=0.95#\n",
+ "Wi=WD/n#\n",
+ "delU=5*Wi/6#\n",
+ "N=300#\n",
+ "w=2*pi*N/60#\n",
+ "Ks=0.2#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.5#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*2))#\n",
+ "b=2*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#\n",
+ "print \"\\nR is %0.1f m \"%(R)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-5 - Page 533"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "R is 0.364 m \n",
+ "\n",
+ "sigmax is 0.29 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "U=(500*2*pi)+(3*pi*500/2)#\n",
+ "Tm=U/(2*pi)#\n",
+ "delU=2.25*pi*125/2#\n",
+ "Ks=0.1#\n",
+ "N=250#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "t=0.03#\n",
+ "rho=7800#\n",
+ "R=(I*2/(pi*rho*t))**(1/4)#\n",
+ "V=R*w#\n",
+ "v=0.3#\n",
+ "sigmax=rho*V**2*(3+v)/8*10**-6#\n",
+ "print \"R is %0.3f m \"%(R)#\n",
+ "print \"\\nsigmax is %0.2f MPa \"%(sigmax)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-6 - Page 534"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 24.8 mm \n",
+ "\n",
+ "b is 37.2 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=1.5*8*60#\n",
+ "l=200#\n",
+ "t=1.5/2#\n",
+ "W=350*10**3#\n",
+ "WD=0.15*l*W*10**-6#\n",
+ "n=0.9# #since frictional effect is 10%, effciency of system is 90%\n",
+ "Wi=WD/n#\n",
+ "L=400#\n",
+ "delU=(L-(0.15*l))/(L)*10**3*Wi#\n",
+ "Ks=0.12#\n",
+ "w=2*pi*N/60#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "R=0.7#\n",
+ "m=Ir/R**2#\n",
+ "rho=7150#\n",
+ "t=sqrt(m*10**6/(rho*2*pi*R*1.5))#\n",
+ "b=1.5*t#\n",
+ "print \"t is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 19-7 - Page 535"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 40 mm \n",
+ "\n",
+ "b is 80 mm \n",
+ "\n",
+ "R is 400 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "N=144#\n",
+ "#Let n be no. of punches/ min\n",
+ "n=8#\n",
+ "#Let t be timr for 1 punch\n",
+ "t=60/n#\n",
+ "theta=N/60*2*pi*0.6#\n",
+ "T=2.1#\n",
+ "U=T*theta#\n",
+ "#Let U1 be revolution of crankshaft in t sec\n",
+ "U1=t*N/60*2*pi#\n",
+ "delU=(U1-theta)/U1*U*10**3#\n",
+ "w=2*pi*1440/60#\n",
+ "Ks=0.1#\n",
+ "I=delU/(Ks*w**2)#\n",
+ "Ir=I*0.9#\n",
+ "rho=7100#\n",
+ "\n",
+ "R=Ir/(rho*0.2*0.1*2*pi)#\n",
+ "R=R**(1/5)#\n",
+ "t=0.1*R*1000#\n",
+ "b=0.2*R*10**3#\n",
+ "t=40#\n",
+ "b=80#\n",
+ "R=400#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t is %0.0f mm \"%(t)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20.ipynb
new file mode 100755
index 00000000..219efcd6
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20.ipynb
@@ -0,0 +1,472 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:024c273b6060959af0addb9a1834f0026ae7e3f431c6d0d728fddda4c01ee1bb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:20 Flat belt drive"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-1 - Page 565"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, asin, exp, degrees\n",
+ "b=0.2#\n",
+ "P=50*10**3#\n",
+ "v=20#\n",
+ "m=1.95#\n",
+ "d=0.3#\n",
+ "D=0.9#\n",
+ "C=5.8#\n",
+ "u=0.4#\n",
+ "#Let density be rho\n",
+ "rho=1000#\n",
+ "E=40#\n",
+ "#Let T1-T2 = T\n",
+ "T=P/v#\n",
+ "#Let the centrifugal tension be Tc\n",
+ "Tc=m*v**2#\n",
+ "alpha=degrees(asin((D+d)/(2*C)))#\n",
+ "theta=180+(2*alpha)#\n",
+ "theta=theta*pi/180#\n",
+ "x = exp(u*theta)#\n",
+ "T2=(((1-x)*Tc)-T)/(1-x)#\n",
+ "#T1=T+T2#\n",
+ "T1=T+T2#\n",
+ "t=m/(b*rho)*10**3#\n",
+ "#Let maximum stress be sigmax\n",
+ "b=200#\n",
+ "d=300#\n",
+ "sigmax=(T1/(b*t)+((E*t)/d))#\n",
+ "sigmin=(T2/(b*t))#\n",
+ "print \"T1 is %0.1f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nt is %0.2f mm \"%(t)\n",
+ "print \"\\ntheta is %0.2f rad \"%(theta)\n",
+ "print \"\\nsigmax is %0.2f N/mm**2 \"%(sigmax)#\n",
+ "print \"\\nsigmin is %0.3f N/mm**2 \"%(sigmin)#\n",
+ "#The answer for T1 is miscalculated in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T1 is 4167.4 N \n",
+ "\n",
+ "T2 is 1667.4 N \n",
+ "\n",
+ "t is 9.75 mm \n",
+ "\n",
+ "theta is 3.35 rad \n",
+ "\n",
+ "sigmax is 3.44 N/mm**2 \n",
+ "\n",
+ "sigmin is 0.855 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-2 - Page 566"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=12*10**3#\n",
+ "d=0.2#\n",
+ "D=0.5#\n",
+ "C=2#\n",
+ "sigmax=2*10**6#\n",
+ "t=8*10**-3#\n",
+ "#Let density be rho\n",
+ "rho=950#\n",
+ "u=0.38#\n",
+ "N=1500#\n",
+ "#Let angle of contact = thetad\n",
+ "thetad=180-(2*degrees(asin((D-d)/(2*C))))#\n",
+ "thetad=thetad*pi/180#\n",
+ "thetaD=(2*pi)-thetad#\n",
+ "v=(2*pi*N*d)/(60*2)#\n",
+ "#Let T1-T2=T\n",
+ "T=P/v#\n",
+ "x=exp(u*thetad)#\n",
+ "b=(T*x)/((1-x)*t*((rho*v**2)-(sigmax)))#\n",
+ "b=b*10**3#\n",
+ "#Let breadth of the pulley be b1\n",
+ "b1=b*10**3+13# #Table 20-3\n",
+ "L=sqrt((4*C**2)-(C*(D-d)**2))+((D*thetaD)+(d*thetad))/2#\n",
+ "# Let pulley crown for d=h1, D=h2\n",
+ "h1=0.6# #Table 20-4\n",
+ "h2=1#\n",
+ "print \"b is %0.2f mm \"%(b)\n",
+ "print \"\\nL is %0.2f m \"%(L)\n",
+ "print \"\\nb1 is %0.2f mm \"%(b1)#\n",
+ "print \"\\nh1 is %0.1f mm \"%(h1)#\n",
+ "print \"\\nh2 is %0.1f mm \"%(h2)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b is 79.64 mm \n",
+ "\n",
+ "L is 5.10 m \n",
+ "\n",
+ "b1 is 79650.98 mm \n",
+ "\n",
+ "h1 is 0.6 mm \n",
+ "\n",
+ "h2 is 1.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-3 - Page 567"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=11#\n",
+ "N=1440#\n",
+ "n=480#\n",
+ "C=2.4#\n",
+ "#Let power transmitte dfrom high speed belt =P1\n",
+ "P1=0.0118#\n",
+ "V=5#\n",
+ "Ks=1.2#\n",
+ "v=15#\n",
+ "d=v*10**3*60/(2*pi*N)#\n",
+ "d=0.2#\n",
+ "D=N/n*d#\n",
+ "#Let angle of contact =thetaA\n",
+ "thetaA=180-(2*degrees(asin((D-d)/(2*C))))#\n",
+ "thetaA=thetaA*pi/180#\n",
+ "v=(2*pi*N*d)/(60*2)#\n",
+ "#Let the arc of contact correction factor be Ka\n",
+ "Ka=1.05#\n",
+ "Pd=P*Ka*Ks#\n",
+ "#Let corrected load rating=Pc\n",
+ "Pc=P1*v/V#\n",
+ "b=Pd/(Pc*4)#\n",
+ "thetaB=(2*pi)-thetaA#\n",
+ "L=sqrt((4*C**2)-((D-d)**2))+((d*thetaA/2)+(D*thetaB)/2)#\n",
+ "\n",
+ "print \"v is %0.2f m/s \"%(v)\n",
+ "print \"\\nb is %0.3f mm \"%(b)\n",
+ "print \"\\nL is %0.4f m \"%(L)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "v is 15.08 m/s \n",
+ "\n",
+ "b is 97.364 mm \n",
+ "\n",
+ "L is 6.0733 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-4 - Page 568"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=1440#\n",
+ "i=2.5#\n",
+ "C=3600#\n",
+ "#let load factor be LF\n",
+ "LF=1.3#\n",
+ "P=12*10**3#\n",
+ "n=N/i#\n",
+ "V=16#\n",
+ "d=V*10**3*60/(2*pi*N)#\n",
+ "d=220#\n",
+ "D=d*i#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "v=5#\n",
+ "#Let power transmitte dfrom high speed belt =P1\n",
+ "P1=0.0118#\n",
+ "#Let LR be the load rating of belt\n",
+ "LR=P1/v*V#\n",
+ "theta=180+(2*degrees(asin((D-d)/(2*C))))#\n",
+ "theta=theta*pi/180#\n",
+ "#Let Arc of contact connection factor be CF\n",
+ "CF=1-(0.03/2)#\n",
+ "Pd=P*LF*CF#\n",
+ "b=Pd/(LR*5)#\n",
+ "b=80#\n",
+ "L=sqrt((4*C**2)-(D+d)**2)+(theta*(D+d)/2)#\n",
+ "L=L*10**-3#\n",
+ "print \"V is %0.1f m/s \"%(V)\n",
+ "print \"\\nb is %0.0f mm \"%(b)\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "V is 16.6 m/s \n",
+ "\n",
+ "b is 80 mm \n",
+ "\n",
+ "L is 8.404 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-5 - Page 569"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "i=3.6#\n",
+ "N=1440#\n",
+ "d=220#\n",
+ "Ks=1.2#\n",
+ "Kf=1.1#\n",
+ "C=5000#\n",
+ "u=0.8#\n",
+ "D=i*d#\n",
+ "#From table 20-7, the following data is available\n",
+ "t=5#\n",
+ "b=120#\n",
+ "Fa=30.64#\n",
+ "#let weight density be w\n",
+ "w=0.106*10**5#\n",
+ "Cp=0.71# #From table 20-6\n",
+ "Cv=1#\n",
+ "T1=Fa*b*t*Cp*Cv#\n",
+ "m=w*b*t/10**6#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Tc=m*V**2/9.81#\n",
+ "theta=180+(2*degrees(asin((D-d)/(2*C))))#\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "Pd=(T1-T2)*V*10**-3#\n",
+ "P=Pd/(Ks*Kf)#\n",
+ "print \"V is %0.2f m/s \"%(V)#\n",
+ "print \"\\nPd is %0.2f KW \"%(Pd)#\n",
+ "print \"\\nP is %0.1f KW \"%(P)#\n",
+ "#The value of T2 is calculated incorrectly, therefore there is a difference in the values of Pd and P."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "V is 16.59 m/s \n",
+ "\n",
+ "Pd is 197.77 KW \n",
+ "\n",
+ "P is 149.8 KW \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-6 - Page 570"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "i=2.5#\n",
+ "C=4500#\n",
+ "N=960#\n",
+ "P=20*10**3#\n",
+ "Ks=1.15#\n",
+ "Kf=1.10#\n",
+ "t=8#\n",
+ "#let weight density be w\n",
+ "w=0.110*10**5#\n",
+ "m=w*t/10**6#\n",
+ "Fa=8.75#\n",
+ "d=200#\n",
+ "D=i*d#\n",
+ "u=0.4#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Pd=P*Ks*Kf#\n",
+ "Cp=1#\n",
+ "Cv=0.6#\n",
+ "#to find b\n",
+ "T1=Fa*t*Cp*Cv#\n",
+ "Tc=m*V**2/9.81#\n",
+ "theta=180-(2*degrees(asin((D-d)/(2*C))))\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "T=Pd/V#\n",
+ "b=T/(T1-T2)#\n",
+ "#b=90#\n",
+ "L=sqrt((4*C**2)-(D+d)**2)+(theta*(D+d)/2)#\n",
+ "L=L*10**-3#\n",
+ "print \"V is %0.2f m/s \"%(V)\n",
+ "print \"\\nb is %0.3f mm \"%(b)\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "V is 10.05 m/s \n",
+ "\n",
+ "b is 86.537 mm \n",
+ "\n",
+ "L is 10.049 m \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 20-7 - Page 571"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "b=160#\n",
+ "t=7#\n",
+ "P=3*10**3#\n",
+ "Ks=1.2#\n",
+ "d=160#\n",
+ "N=1440#\n",
+ "D=480#\n",
+ "C=2400#\n",
+ "w=11200#\n",
+ "u=0.4#\n",
+ "Fa=7.2#\n",
+ "m=w*b*t/10**6#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Tc=m*V**2/9.81#\n",
+ "Cp=0.6# #from table 20-6\n",
+ "Cv=0.98# #from table 20-7\n",
+ "Ta=Fa*b*Cp*Cv#\n",
+ "T=P/V#\n",
+ "theta=180-(2*degrees(asin((D-d)/(2*C))))\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "#T2=Tc+((T1-Tc)/exp(x))#\n",
+ "T2=(T+((exp(x)*Tc)-Tc))/(exp(x)-1)#\n",
+ "T1=T+T2#\n",
+ "Kf=Ta/T1#\n",
+ "Pd=P*Ks*Kf#\n",
+ "Pd=Pd*10**-3#\n",
+ "print \"Tc is %0.0f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.2f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.2f N \"%(T2)#\n",
+ "print \"\\nKf is %0.2f \"%(Kf)#\n",
+ "print \"\\nPd is %0.1f KW \"%(Pd)#\n",
+ "#The difference in values of T1 and T2 is due to rounding-off of values.\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tc is 186 N \n",
+ "\n",
+ "T1 is 541.46 N \n",
+ "\n",
+ "T2 is 292.78 N \n",
+ "\n",
+ "Kf is 1.25 \n",
+ "\n",
+ "Pd is 4.5 KW \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20_1.ipynb
new file mode 100755
index 00000000..c0fb17e3
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch20_1.ipynb
@@ -0,0 +1,480 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:20 Flat belt drive"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-1 - Page 565"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T1 is 4167.4 N \n",
+ "\n",
+ "T2 is 1667.4 N \n",
+ "\n",
+ "t is 9.75 mm \n",
+ "\n",
+ "theta is 3.35 rad \n",
+ "\n",
+ "sigmax is 3.44 N/mm**2 \n",
+ "\n",
+ "sigmin is 0.855 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, asin, exp, degrees\n",
+ "b=0.2#\n",
+ "P=50*10**3#\n",
+ "v=20#\n",
+ "m=1.95#\n",
+ "d=0.3#\n",
+ "D=0.9#\n",
+ "C=5.8#\n",
+ "u=0.4#\n",
+ "#Let density be rho\n",
+ "rho=1000#\n",
+ "E=40#\n",
+ "#Let T1-T2 = T\n",
+ "T=P/v#\n",
+ "#Let the centrifugal tension be Tc\n",
+ "Tc=m*v**2#\n",
+ "alpha=degrees(asin((D+d)/(2*C)))#\n",
+ "theta=180+(2*alpha)#\n",
+ "theta=theta*pi/180#\n",
+ "x = exp(u*theta)#\n",
+ "T2=(((1-x)*Tc)-T)/(1-x)#\n",
+ "#T1=T+T2#\n",
+ "T1=T+T2#\n",
+ "t=m/(b*rho)*10**3#\n",
+ "#Let maximum stress be sigmax\n",
+ "b=200#\n",
+ "d=300#\n",
+ "sigmax=(T1/(b*t)+((E*t)/d))#\n",
+ "sigmin=(T2/(b*t))#\n",
+ "print \"T1 is %0.1f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nt is %0.2f mm \"%(t)\n",
+ "print \"\\ntheta is %0.2f rad \"%(theta)\n",
+ "print \"\\nsigmax is %0.2f N/mm**2 \"%(sigmax)#\n",
+ "print \"\\nsigmin is %0.3f N/mm**2 \"%(sigmin)#\n",
+ "#The answer for T1 is miscalculated in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-2 - Page 566"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "b is 79.64 mm \n",
+ "\n",
+ "L is 5.10 m \n",
+ "\n",
+ "b1 is 79650.98 mm \n",
+ "\n",
+ "h1 is 0.6 mm \n",
+ "\n",
+ "h2 is 1.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import degrees,asin,pi,exp,sqrt\n",
+ "P=12*10**3#\n",
+ "d=0.2#\n",
+ "D=0.5#\n",
+ "C=2#\n",
+ "sigmax=2*10**6#\n",
+ "t=8*10**-3#\n",
+ "#Let density be rho\n",
+ "rho=950#\n",
+ "u=0.38#\n",
+ "N=1500#\n",
+ "#Let angle of contact = thetad\n",
+ "thetad=180-(2*degrees(asin((D-d)/(2*C))))#\n",
+ "thetad=thetad*pi/180#\n",
+ "thetaD=(2*pi)-thetad#\n",
+ "v=(2*pi*N*d)/(60*2)#\n",
+ "#Let T1-T2=T\n",
+ "T=P/v#\n",
+ "x=exp(u*thetad)#\n",
+ "b=(T*x)/((1-x)*t*((rho*v**2)-(sigmax)))#\n",
+ "b=b*10**3#\n",
+ "#Let breadth of the pulley be b1\n",
+ "b1=b*10**3+13# #Table 20-3\n",
+ "L=sqrt((4*C**2)-(C*(D-d)**2))+((D*thetaD)+(d*thetad))/2#\n",
+ "# Let pulley crown for d=h1, D=h2\n",
+ "h1=0.6# #Table 20-4\n",
+ "h2=1#\n",
+ "print \"b is %0.2f mm \"%(b)\n",
+ "print \"\\nL is %0.2f m \"%(L)\n",
+ "print \"\\nb1 is %0.2f mm \"%(b1)#\n",
+ "print \"\\nh1 is %0.1f mm \"%(h1)#\n",
+ "print \"\\nh2 is %0.1f mm \"%(h2)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-3 - Page 567"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "v is 15.08 m/s \n",
+ "\n",
+ "b is 97.364 mm \n",
+ "\n",
+ "L is 6.0733 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp, degrees,asin,pi,sqrt\n",
+ "P=11#\n",
+ "N=1440#\n",
+ "n=480#\n",
+ "C=2.4#\n",
+ "#Let power transmitte dfrom high speed belt =P1\n",
+ "P1=0.0118#\n",
+ "V=5#\n",
+ "Ks=1.2#\n",
+ "v=15#\n",
+ "d=v*10**3*60/(2*pi*N)#\n",
+ "d=0.2#\n",
+ "D=N/n*d#\n",
+ "#Let angle of contact =thetaA\n",
+ "thetaA=180-(2*degrees(asin((D-d)/(2*C))))#\n",
+ "thetaA=thetaA*pi/180#\n",
+ "v=(2*pi*N*d)/(60*2)#\n",
+ "#Let the arc of contact correction factor be Ka\n",
+ "Ka=1.05#\n",
+ "Pd=P*Ka*Ks#\n",
+ "#Let corrected load rating=Pc\n",
+ "Pc=P1*v/V#\n",
+ "b=Pd/(Pc*4)#\n",
+ "thetaB=(2*pi)-thetaA#\n",
+ "L=sqrt((4*C**2)-((D-d)**2))+((d*thetaA/2)+(D*thetaB)/2)#\n",
+ "\n",
+ "print \"v is %0.2f m/s \"%(v)\n",
+ "print \"\\nb is %0.3f mm \"%(b)\n",
+ "print \"\\nL is %0.4f m \"%(L)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-4 - Page 568"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "V is 16.6 m/s \n",
+ "\n",
+ "b is 80 mm \n",
+ "\n",
+ "L is 8.404 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp, degrees,asin,pi,sqrt\n",
+ "N=1440#\n",
+ "i=2.5#\n",
+ "C=3600#\n",
+ "#let load factor be LF\n",
+ "LF=1.3#\n",
+ "P=12*10**3#\n",
+ "n=N/i#\n",
+ "V=16#\n",
+ "d=V*10**3*60/(2*pi*N)#\n",
+ "d=220#\n",
+ "D=d*i#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "v=5#\n",
+ "#Let power transmitte dfrom high speed belt =P1\n",
+ "P1=0.0118#\n",
+ "#Let LR be the load rating of belt\n",
+ "LR=P1/v*V#\n",
+ "theta=180+(2*degrees(asin((D-d)/(2*C))))#\n",
+ "theta=theta*pi/180#\n",
+ "#Let Arc of contact connection factor be CF\n",
+ "CF=1-(0.03/2)#\n",
+ "Pd=P*LF*CF#\n",
+ "b=Pd/(LR*5)#\n",
+ "b=80#\n",
+ "L=sqrt((4*C**2)-(D+d)**2)+(theta*(D+d)/2)#\n",
+ "L=L*10**-3#\n",
+ "print \"V is %0.1f m/s \"%(V)\n",
+ "print \"\\nb is %0.0f mm \"%(b)\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-5 - Page 569"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "V is 16.59 m/s \n",
+ "\n",
+ "Pd is 197.77 KW \n",
+ "\n",
+ "P is 149.8 KW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp, degrees,asin,pi,sqrt\n",
+ "i=3.6#\n",
+ "N=1440#\n",
+ "d=220#\n",
+ "Ks=1.2#\n",
+ "Kf=1.1#\n",
+ "C=5000#\n",
+ "u=0.8#\n",
+ "D=i*d#\n",
+ "#From table 20-7, the following data is available\n",
+ "t=5#\n",
+ "b=120#\n",
+ "Fa=30.64#\n",
+ "#let weight density be w\n",
+ "w=0.106*10**5#\n",
+ "Cp=0.71# #From table 20-6\n",
+ "Cv=1#\n",
+ "T1=Fa*b*t*Cp*Cv#\n",
+ "m=w*b*t/10**6#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Tc=m*V**2/9.81#\n",
+ "theta=180+(2*degrees(asin((D-d)/(2*C))))#\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "Pd=(T1-T2)*V*10**-3#\n",
+ "P=Pd/(Ks*Kf)#\n",
+ "print \"V is %0.2f m/s \"%(V)#\n",
+ "print \"\\nPd is %0.2f KW \"%(Pd)#\n",
+ "print \"\\nP is %0.1f KW \"%(P)#\n",
+ "#The value of T2 is calculated incorrectly, therefore there is a difference in the values of Pd and P."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-6 - Page 570"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "V is 10.05 m/s \n",
+ "\n",
+ "b is 86.537 mm \n",
+ "\n",
+ "L is 10.049 m \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp, degrees,asin,pi,sqrt\n",
+ "i=2.5#\n",
+ "C=4500#\n",
+ "N=960#\n",
+ "P=20*10**3#\n",
+ "Ks=1.15#\n",
+ "Kf=1.10#\n",
+ "t=8#\n",
+ "#let weight density be w\n",
+ "w=0.110*10**5#\n",
+ "m=w*t/10**6#\n",
+ "Fa=8.75#\n",
+ "d=200#\n",
+ "D=i*d#\n",
+ "u=0.4#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Pd=P*Ks*Kf#\n",
+ "Cp=1#\n",
+ "Cv=0.6#\n",
+ "#to find b\n",
+ "T1=Fa*t*Cp*Cv#\n",
+ "Tc=m*V**2/9.81#\n",
+ "theta=180-(2*degrees(asin((D-d)/(2*C))))\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "T=Pd/V#\n",
+ "b=T/(T1-T2)#\n",
+ "#b=90#\n",
+ "L=sqrt((4*C**2)-(D+d)**2)+(theta*(D+d)/2)#\n",
+ "L=L*10**-3#\n",
+ "print \"V is %0.2f m/s \"%(V)\n",
+ "print \"\\nb is %0.3f mm \"%(b)\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 20-7 - Page 571"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tc is 186 N \n",
+ "\n",
+ "T1 is 541.46 N \n",
+ "\n",
+ "T2 is 292.78 N \n",
+ "\n",
+ "Kf is 1.25 \n",
+ "\n",
+ "Pd is 4.5 KW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp, degrees,asin,pi,sqrt\n",
+ "b=160#\n",
+ "t=7#\n",
+ "P=3*10**3#\n",
+ "Ks=1.2#\n",
+ "d=160#\n",
+ "N=1440#\n",
+ "D=480#\n",
+ "C=2400#\n",
+ "w=11200#\n",
+ "u=0.4#\n",
+ "Fa=7.2#\n",
+ "m=w*b*t/10**6#\n",
+ "V=2*pi*N*d/(2*60*1000)#\n",
+ "Tc=m*V**2/9.81#\n",
+ "Cp=0.6# #from table 20-6\n",
+ "Cv=0.98# #from table 20-7\n",
+ "Ta=Fa*b*Cp*Cv#\n",
+ "T=P/V#\n",
+ "theta=180-(2*degrees(asin((D-d)/(2*C))))\n",
+ "theta=theta*pi/180#\n",
+ "x=u*theta#\n",
+ "#T2=Tc+((T1-Tc)/exp(x))#\n",
+ "T2=(T+((exp(x)*Tc)-Tc))/(exp(x)-1)#\n",
+ "T1=T+T2#\n",
+ "Kf=Ta/T1#\n",
+ "Pd=P*Ks*Kf#\n",
+ "Pd=Pd*10**-3#\n",
+ "print \"Tc is %0.0f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.2f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.2f N \"%(T2)#\n",
+ "print \"\\nKf is %0.2f \"%(Kf)#\n",
+ "print \"\\nPd is %0.1f KW \"%(Pd)#\n",
+ "#The difference in values of T1 and T2 is due to rounding-off of values.\n",
+ " "
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21.ipynb
new file mode 100755
index 00000000..8416f217
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21.ipynb
@@ -0,0 +1,346 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:10bd9abe18e1c81566ed029a02a2720fe79b25747c3617a3cb6346d82c9110e2"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:21 V belt drive"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 21-1 - Page 579"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, asin, degrees, exp\n",
+ "P1=12*10**3#\n",
+ "d=0.3#\n",
+ "D=0.9#\n",
+ "C=0.9#\n",
+ "A=230*10**-6#\n",
+ "#density is rho\n",
+ "rho=1100#\n",
+ "N=1500#\n",
+ "#Maximum stress is sig\n",
+ "sig=2.1*10**6#\n",
+ "#semi groove angle is b\n",
+ "b=20*pi/180#\n",
+ "u=0.22#\n",
+ "m=rho*A#\n",
+ "v=2*pi*N*d/(60*2)#\n",
+ "Tc=m*v**2#\n",
+ "T1=A*sig#\n",
+ "#wrap angle is thetaA\n",
+ "ang=(D-d)/(2*C)#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin(ang))))\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "x=u*thetaB#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "P2=(T1-T2)*v#\n",
+ "n=P1/P2#\n",
+ "n=3# #(rounding off to nearest whole number)\n",
+ "print \"Tc is %0.1f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.0f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nP2 is %0.0f W \"%(P2)#\n",
+ "print \"\\nn is %0.0f \"%(n)#\n",
+ " \n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tc is 140.5 N \n",
+ "\n",
+ "T1 is 483 N \n",
+ "\n",
+ "T2 is 288.2 N \n",
+ "\n",
+ "P2 is 4589 W \n",
+ "\n",
+ "n is 3 \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 21-2 - Page 579"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin\n",
+ "D=0.6#\n",
+ "d=0.3#\n",
+ "C=0.9#\n",
+ "m=0.193#\n",
+ "n=2#\n",
+ "N=1500#\n",
+ "u=0.3#\n",
+ "v=2*pi*N/60*d/2#\n",
+ "P=150*10**3#\n",
+ "Tc=m*v**2#\n",
+ "#let T1-T2=T\n",
+ "T=P/(n*v)#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin((D-d)/(2*C)))))#\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "#Groove angle=b\n",
+ "b=17.5*pi/180#\n",
+ "x=u*thetaA/sin(b)#\n",
+ "y=exp(x)#\n",
+ "c=(Tc*(1-y))#\n",
+ "T2=(T+(Tc*(1-y)))/(y-1)#\n",
+ "#T2=(T-y)/Tc#\n",
+ "T1=T+Tc#\n",
+ "Lp=2*sqrt((C**2)-((D-d)/2)**2)+(thetaA*d/2)+(thetaB*D/2)#\n",
+ "v=sqrt(T/(3*m))#\n",
+ "print \"Tc is %0.2f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.0f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.2f N \"%(T2)#\n",
+ "print \"\\nLp is %0.3f m \"%(Lp)#\n",
+ "print \"\\nv is %0.2f m/s \"%(v)#\n",
+ "print \"\\nThe designation of the belt is B-3251-45 \"#\n",
+ "#The difference in values of T1 and T2 is due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tc is 107.15 N \n",
+ "\n",
+ "T1 is 3290 N \n",
+ "\n",
+ "T2 is 98.93 N \n",
+ "\n",
+ "Lp is 3.239 m \n",
+ "\n",
+ "v is 74.15 m/s \n",
+ "\n",
+ "The designation of the belt is B-3251-45 \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 21-3 - Page 580"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import tan\n",
+ "C=1#\n",
+ "m=0.35#\n",
+ "d=0.25#\n",
+ "P=22*10**3#\n",
+ "#Let the smaller pulley dia be n\n",
+ "#Let the larger pulley dia be N\n",
+ "n=1000#\n",
+ "N=400#\n",
+ "D=d*n/N#\n",
+ "v=2*pi*n*d/(60*2)#\n",
+ "Tc=m*v**2#\n",
+ "topwidth=22#\n",
+ "h=14#\n",
+ "bottomwidth=topwidth-(2*h*tan(20*pi/180))#\n",
+ "A=(topwidth+bottomwidth)/2*h#\n",
+ "#let allowable tension be Ta\n",
+ "Ta=2.2#\n",
+ "T1=A*Ta#\n",
+ "u=0.28#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin((D-d)/(2*C)))))\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "#Groove angle=b=19\n",
+ "b=19*pi/180#\n",
+ "x=u*thetaA/sin(b)#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "n=P/((T1-T2)*v)#\n",
+ "Lp=2*sqrt((C**2)-((D-d)/2)**2)+(thetaA*d/2)+(thetaB*D/2)#\n",
+ "print \"Tc is %0.2f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.1f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nn is %0.1f \"%(n)#\n",
+ "print \"\\nLp is %0.3f m \"%(Lp)#\n",
+ "print \"\\nThe designation of the belt is C-3414-47 \"#\n",
+ " \n",
+ " # difference in value of Lp is due to rounding-off the values of thetaA and thetaB."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tc is 59.97 N \n",
+ "\n",
+ "T1 is 520.7 N \n",
+ "\n",
+ "T2 is 102.7 N \n",
+ "\n",
+ "n is 4.0 \n",
+ "\n",
+ "Lp is 3.410 m \n",
+ "\n",
+ "The designation of the belt is C-3414-47 \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 21-4 - Page 580"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=12*10**3#\n",
+ "Ks=1.1#\n",
+ "Pd=12*10**3*Ks#\n",
+ "N=1440#\n",
+ "B=17#\n",
+ "t=11#\n",
+ "d=200#\n",
+ "i=3#\n",
+ "D=i*d#\n",
+ "C=1000#\n",
+ "# since angle of contact theta is very small\n",
+ "theta=(D-d)/C#\n",
+ "theta=theta*180/pi#\n",
+ "Kc=0.8#\n",
+ "Lp=(2*C)+(pi/2*(D+d))+(((D-d)**2)/(4*C))#\n",
+ "Li=Lp-45#\n",
+ "Ki=1.1#\n",
+ "#let number of v-belts required = n\n",
+ "#let the KW rating be KWR\n",
+ "KWR=5.23#\n",
+ "n=(P*Ks)/(KWR*Ks*Ki*10**3)#\n",
+ "n=3#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nC is %0.1f mm \"%(C)#\n",
+ "print \"\\nn is %0.3f \"%(n)#\n",
+ "print \"\\nLi is %0.0f mm \"%(Li)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "D is 600.0 mm \n",
+ "\n",
+ "C is 1000.0 mm \n",
+ "\n",
+ "n is 3.000 \n",
+ "\n",
+ "Li is 3252 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 21-5 - Page 581"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=800;\n",
+ "P=20;\n",
+ "i=2.5;\n",
+ "Ks=1.5; #(from table for 3-5 hrs/day)\n",
+ "Pd=P*Ks;\n",
+ "d=250;\n",
+ "D=i*d;\n",
+ "C=1.6*D;\n",
+ "Lp=(2*C)+(pi*(D+d)/2)+((D-d)**2)/(4*C);\n",
+ "Li=Lp+74;\n",
+ "Listd=3454;\n",
+ "Lp=Listd+74;\n",
+ "p=[1, -1.0768, 0.0175];\n",
+ "from sympy import symbols, solve\n",
+ "P = symbols('P')\n",
+ "expr = P**2*p[0]+P*p[1]+p[2]\n",
+ "z = solve(expr, P)[1]\n",
+ "KW=9.4;\n",
+ "Kc=0.795;\n",
+ "K1=1;\n",
+ "n=Pd/(KW*Kc*K1);\n",
+ "print \" C is %0.4f m \"%(z);\n",
+ "print \"\\n Pd is %0.0f KW \"%(Pd);\n",
+ "print \"\\n n is %0.2f KW \"%(n);\n",
+ " \n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " C is 1.0603 m \n",
+ "\n",
+ " Pd is 30 KW \n",
+ "\n",
+ " n is 4.01 KW \n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21_1.ipynb
new file mode 100755
index 00000000..269495fb
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch21_1.ipynb
@@ -0,0 +1,350 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:21 V belt drive"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 21-1 - Page 579"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tc is 140.5 N \n",
+ "\n",
+ "T1 is 483 N \n",
+ "\n",
+ "T2 is 288.2 N \n",
+ "\n",
+ "P2 is 4589 W \n",
+ "\n",
+ "n is 3 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, asin, degrees, exp\n",
+ "P1=12*10**3#\n",
+ "d=0.3#\n",
+ "D=0.9#\n",
+ "C=0.9#\n",
+ "A=230*10**-6#\n",
+ "#density is rho\n",
+ "rho=1100#\n",
+ "N=1500#\n",
+ "#Maximum stress is sig\n",
+ "sig=2.1*10**6#\n",
+ "#semi groove angle is b\n",
+ "b=20*pi/180#\n",
+ "u=0.22#\n",
+ "m=rho*A#\n",
+ "v=2*pi*N*d/(60*2)#\n",
+ "Tc=m*v**2#\n",
+ "T1=A*sig#\n",
+ "#wrap angle is thetaA\n",
+ "ang=(D-d)/(2*C)#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin(ang))))\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "x=u*thetaB#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "P2=(T1-T2)*v#\n",
+ "n=P1/P2#\n",
+ "n=3# #(rounding off to nearest whole number)\n",
+ "print \"Tc is %0.1f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.0f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nP2 is %0.0f W \"%(P2)#\n",
+ "print \"\\nn is %0.0f \"%(n)#\n",
+ " \n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 21-2 - Page 579"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tc is 107.15 N \n",
+ "\n",
+ "T1 is 3290 N \n",
+ "\n",
+ "T2 is 98.93 N \n",
+ "\n",
+ "Lp is 3.239 m \n",
+ "\n",
+ "v is 74.15 m/s \n",
+ "\n",
+ "The designation of the belt is B-3251-45 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, asin, degrees, exp,sin\n",
+ "D=0.6#\n",
+ "d=0.3#\n",
+ "C=0.9#\n",
+ "m=0.193#\n",
+ "n=2#\n",
+ "N=1500#\n",
+ "u=0.3#\n",
+ "v=2*pi*N/60*d/2#\n",
+ "P=150*10**3#\n",
+ "Tc=m*v**2#\n",
+ "#let T1-T2=T\n",
+ "T=P/(n*v)#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin((D-d)/(2*C)))))#\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "#Groove angle=b\n",
+ "b=17.5*pi/180#\n",
+ "x=u*thetaA/sin(b)#\n",
+ "y=exp(x)#\n",
+ "c=(Tc*(1-y))#\n",
+ "T2=(T+(Tc*(1-y)))/(y-1)#\n",
+ "#T2=(T-y)/Tc#\n",
+ "T1=T+Tc#\n",
+ "Lp=2*sqrt((C**2)-((D-d)/2)**2)+(thetaA*d/2)+(thetaB*D/2)#\n",
+ "v=sqrt(T/(3*m))#\n",
+ "print \"Tc is %0.2f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.0f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.2f N \"%(T2)#\n",
+ "print \"\\nLp is %0.3f m \"%(Lp)#\n",
+ "print \"\\nv is %0.2f m/s \"%(v)#\n",
+ "print \"\\nThe designation of the belt is B-3251-45 \"#\n",
+ "#The difference in values of T1 and T2 is due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 21-3 - Page 580"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tc is 59.97 N \n",
+ "\n",
+ "T1 is 520.7 N \n",
+ "\n",
+ "T2 is 102.7 N \n",
+ "\n",
+ "n is 4.0 \n",
+ "\n",
+ "Lp is 3.410 m \n",
+ "\n",
+ "The designation of the belt is C-3414-47 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, asin, degrees, exp,tan\n",
+ "C=1#\n",
+ "m=0.35#\n",
+ "d=0.25#\n",
+ "P=22*10**3#\n",
+ "#Let the smaller pulley dia be n\n",
+ "#Let the larger pulley dia be N\n",
+ "n=1000#\n",
+ "N=400#\n",
+ "D=d*n/N#\n",
+ "v=2*pi*n*d/(60*2)#\n",
+ "Tc=m*v**2#\n",
+ "topwidth=22#\n",
+ "h=14#\n",
+ "bottomwidth=topwidth-(2*h*tan(20*pi/180))#\n",
+ "A=(topwidth+bottomwidth)/2*h#\n",
+ "#let allowable tension be Ta\n",
+ "Ta=2.2#\n",
+ "T1=A*Ta#\n",
+ "u=0.28#\n",
+ "thetaA=pi/180*(180-(2*degrees(asin((D-d)/(2*C)))))\n",
+ "thetaB=((2*pi)-thetaA)#\n",
+ "#Groove angle=b=19\n",
+ "b=19*pi/180#\n",
+ "x=u*thetaA/sin(b)#\n",
+ "T2=Tc+((T1-Tc)/exp(x))#\n",
+ "n=P/((T1-T2)*v)#\n",
+ "Lp=2*sqrt((C**2)-((D-d)/2)**2)+(thetaA*d/2)+(thetaB*D/2)#\n",
+ "print \"Tc is %0.2f N \"%(Tc)#\n",
+ "print \"\\nT1 is %0.1f N \"%(T1)#\n",
+ "print \"\\nT2 is %0.1f N \"%(T2)#\n",
+ "print \"\\nn is %0.1f \"%(n)#\n",
+ "print \"\\nLp is %0.3f m \"%(Lp)#\n",
+ "print \"\\nThe designation of the belt is C-3414-47 \"#\n",
+ " \n",
+ "# difference in value of Lp is due to rounding-off the values of thetaA and thetaB."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 21-4 - Page 580"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "D is 600.0 mm \n",
+ "\n",
+ "C is 1000.0 mm \n",
+ "\n",
+ "n is 3.000 \n",
+ "\n",
+ "Li is 3252 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=12*10**3#\n",
+ "Ks=1.1#\n",
+ "Pd=12*10**3*Ks#\n",
+ "N=1440#\n",
+ "B=17#\n",
+ "t=11#\n",
+ "d=200#\n",
+ "i=3#\n",
+ "D=i*d#\n",
+ "C=1000#\n",
+ "# since angle of contact theta is very small\n",
+ "theta=(D-d)/C#\n",
+ "theta=theta*180/pi#\n",
+ "Kc=0.8#\n",
+ "Lp=(2*C)+(pi/2*(D+d))+(((D-d)**2)/(4*C))#\n",
+ "Li=Lp-45#\n",
+ "Ki=1.1#\n",
+ "#let number of v-belts required = n\n",
+ "#let the KW rating be KWR\n",
+ "KWR=5.23#\n",
+ "n=(P*Ks)/(KWR*Ks*Ki*10**3)#\n",
+ "n=3#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nC is %0.1f mm \"%(C)#\n",
+ "print \"\\nn is %0.3f \"%(n)#\n",
+ "print \"\\nLi is %0.0f mm \"%(Li)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 21-5 - Page 581"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " C is 1.0603 m \n",
+ "\n",
+ " Pd is 30 KW \n",
+ "\n",
+ " n is 4.01 KW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from sympy import symbols, solve\n",
+ "from math import pi\n",
+ "N=800;\n",
+ "P=20;\n",
+ "i=2.5;\n",
+ "Ks=1.5; #(from table for 3-5 hrs/day)\n",
+ "Pd=P*Ks;\n",
+ "d=250;\n",
+ "D=i*d;\n",
+ "C=1.6*D;\n",
+ "Lp=(2*C)+(pi*(D+d)/2)+((D-d)**2)/(4*C);\n",
+ "Li=Lp+74;\n",
+ "Listd=3454;\n",
+ "Lp=Listd+74;\n",
+ "p=[1, -1.0768, 0.0175];\n",
+ "P = symbols('P')\n",
+ "expr = P**2*p[0]+P*p[1]+p[2]\n",
+ "z = solve(expr, P)[1]\n",
+ "KW=9.4;\n",
+ "Kc=0.795;\n",
+ "K1=1;\n",
+ "n=Pd/(KW*Kc*K1);\n",
+ "print \" C is %0.4f m \"%(z)\n",
+ "print \"\\n Pd is %0.0f KW \"%(Pd)\n",
+ "print \"\\n n is %0.2f KW \"%(n)"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22.ipynb
new file mode 100755
index 00000000..30ed5549
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22.ipynb
@@ -0,0 +1,598 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b283e3fcd471f1cbe397d09e22017ed17e30966a86b52dc70653c73e3f5c2124"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:22 Friction clutches"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-1 - Page 588"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "u=0.28 #(coefficient of friction)\n",
+ "N=300 #(Engine rpm)\n",
+ "I=7.2 \n",
+ "Pmax= 0.1# \n",
+ "R1=70#\n",
+ "R2=110#\n",
+ "n=2# #(Both sides of the plate are effective)\n",
+ "#Using Uniform Wear Theory\n",
+ "#Axial Force W\n",
+ "W=n*pi*Pmax*R1*(R2-R1)#\n",
+ "#Frictional Torque Tf\n",
+ "Tf=u*W*(R1+R2)/2*(10**-3)#\n",
+ "w=2*pi*N/60#\n",
+ "#Power P\n",
+ "P=Tf*w#\n",
+ "#Torque = Mass moment of inertia*angular acceleration\n",
+ "a=Tf/I#\n",
+ "t=w/a# \n",
+ "#Angle turned by driving shaft theta1 through which slipping takes place\n",
+ "theta1=w*t#\n",
+ "#angle turned by driven shaft theta2\n",
+ "theta2=a*(t**2)/2#\n",
+ "E=Tf*(theta1-theta2)#\n",
+ "print \"\\nThe force is %0.1f N\"%(W)#\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe Power is %0.0f W\"%(P)#\n",
+ "print \"\\nThe angular acceleration is %0.2f rad/sec**2\"%(a)#\n",
+ "print \"\\nThe time taken is %0.1f sec\"%(t)#\n",
+ "print \"\\nThe energy is %0.2f Nm\"%(E)#\n",
+ "\n",
+ "#The difference in the answer of energy 'E' is due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The force is 1759.3 N\n",
+ "\n",
+ "The Torque is 44.33 Nm\n",
+ "\n",
+ "The Power is 1393 W\n",
+ "\n",
+ "The angular acceleration is 6.16 rad/sec**2\n",
+ "\n",
+ "The time taken is 5.1 sec\n",
+ "\n",
+ "The energy is 3553.06 Nm\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-2 - Page 589"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Power P\n",
+ "P=80*10**3# #(Watt)\n",
+ "N=3000# #(Engine rpm)\n",
+ "w=2*pi*3*10**3/60\n",
+ "Tf=8*10**4/w#\n",
+ "Rm=100##(mm)\n",
+ "p=0.2 #N/mm**2\n",
+ "u=0.22 \n",
+ "# let width b= (R1-R2). \n",
+ "#Axial force W=2*pi*Rm*b*p\n",
+ "#Torque T=u*W*Rm\n",
+ "b=Tf/(u*2*pi*(Rm**2)*p)#\n",
+ "b=50# \n",
+ "R2=Rm+b#\n",
+ "R1=Rm-b#\n",
+ "Di=2*R1# #inner diameter\n",
+ "W=2*pi*Rm*b*p#\n",
+ "n=8# #n is number of springs\n",
+ "#Axial force per spring W1\n",
+ "W1=W/n#\n",
+ "W1=W1+15#\n",
+ "#axial deflection del\n",
+ "Del=10# \n",
+ "#stiffness k\n",
+ "k=W1/Del#\n",
+ "# Spring index C\n",
+ "C=6#\n",
+ "#number of coils n1\n",
+ "n1=6# #Assumption\n",
+ "d=k*n*n1*(C**3)/(80*10**3)#\n",
+ "d=11# # Rounding off to nearest standard value\n",
+ "D=C*d#\n",
+ "clearance=2#\n",
+ "FL=((n1+2)*d)+(2*Del)+clearance# # two end coils, therefore (2*del)\n",
+ "\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe width is %0.0f mm\"%(b)#\n",
+ "print \"\\nThe force is %0.0f N\"%(W)#\n",
+ "print \"\\nThe Axial force per spring is %0.0f N\"%(W1)#\n",
+ "print \"\\nThe Spring stiffness is %0.0f N/mm\"%(k)#\n",
+ "print \"\\nThe Spring wire diameter is %0.0f mm\"%(d)#\n",
+ "print \"\\nThe Mean coil diameter is %0.0f mm\"%(D)#\n",
+ "print \"\\nThe Free length is %0.0f mm\"%(FL)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The Torque is 254.65 Nm\n",
+ "\n",
+ "The width is 50 mm\n",
+ "\n",
+ "The force is 6283 N\n",
+ "\n",
+ "The Axial force per spring is 800 N\n",
+ "\n",
+ "The Spring stiffness is 80 N/mm\n",
+ "\n",
+ "The Spring wire diameter is 11 mm\n",
+ "\n",
+ "The Mean coil diameter is 66 mm\n",
+ "\n",
+ "The Free length is 110 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-3 - Page 589"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Power P\n",
+ "P=40*10**3 #Watt\n",
+ "n1=100# #rpm\n",
+ "n2=400# #rpm\n",
+ "#Speed factor Ks\n",
+ "Ks=0.9+0.001*n2#\n",
+ "#Clutch power Pc\n",
+ "Pc=P*n2/(n1*Ks)*10**-3#\n",
+ "print \"\\nThe Speed factor is %0.1f \"%(Ks)#\n",
+ "print \"\\nThe clutch poweris %0.0f KW\"%(Pc)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The Speed factor is 1.3 \n",
+ "\n",
+ "The clutch poweris 123 KW\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-4 - Page 590"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# plot Torque vs Ro/Ri\n",
+ "#x=Ro/Ri\n",
+ "#According to Uniform Wear theory\n",
+ "x=[0, 0.2, 0.4, 0.577, 0.6, 0.8, 1.0]#\n",
+ "n=len(x)#\n",
+ "Tf = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " Tf[i]=(x[i]-(x[i]**3))#\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, xlabel, ylabel, show, grid\n",
+ "plot (x,Tf)#\n",
+ "xlabel(' Ro/Ri ')#\n",
+ "ylabel('Tf')#\n",
+ "grid()#\n",
+ "show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X2UXGWV7/HvJiG6eIntC1c0oI2QQUCwEYx4gTWNyXBb\nmG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bI5zzFjNbYWZvN7M/1rUZ/4aZ7VY75igz+3L8/wOR\n9mjBEGmdA73u3gP8BLg4wjl9wA9rt7e4+5HAEQSfXz8TwN0fdfeyNsKTHNCCITI2DwEHAtTaUdxf\n+zCa+8ysvk/P/wCWU9fszd0HgYfrzu81s+8nN3WR1mjBEGnP0At/H/Dz2u2vAEvc/d3AvwPXAZjZ\nOOBgd9/4iicwey1B64afI5IDme8lJZJRD5jZG4BdwLtq9x0DzKjdvgm4qnb7fQQfZjXkQDNbS5CO\n+pG7F/UzS6Rg9A5DpD29wNsJUlJn1d3f7DM3PkiQjhryi1oN40DgnWZ2dFyTFOkkLRgibXL3vwDz\ngfPNbC/g/wGzag+fBvy4dvsDwH1Nzn8e+AxB91SRzNOCIdK6l1s8u/uvCT5/ZC7B54efUWubfRrw\nKTPbB/iTu/9hmPPvBP6bmU2p3a/20ZJZam8uEiMzOw2Y5O5XjXqwSMZpwRARkUiUkhIRkUi0YIiI\nSCRaMEREJBItGCIiEokWDBERiUQLhoiIRKIFQ0REIvn/nx/g/9fIFs8AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7fe9440af310>"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-5 - Page 591"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "n1=4#\n",
+ "n2=3#\n",
+ "n=(n1+n2-1)#\n",
+ "R2=80#\n",
+ "R1=50#\n",
+ "#According to Uniform Pressure Theory\n",
+ "#W=p*pi*((R2**2)-(R1**2)) T=n*2*u*W*((R2**3)-(R1**3))/(((R2**2)-(R1**2))*3)\n",
+ "P=15*10**3#\n",
+ "N=1400#\n",
+ "u=0.25#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "W=T*3*((R2**2)-(R1**2))/(n*2*u*((R2**3)-(R1**3)))*10**3#\n",
+ "p=W/(pi*((R2**2)-(R1**2)))#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(T)#\n",
+ "print \"\\nThe uniform pressure is %0.3f N/mm**2\"%(p)#\n",
+ "print \"\\nThe Force is %0.1f N\"%(W)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The angular speed is 146.61 rad/sec\n",
+ "\n",
+ "The Torque is 102.314 Nm\n",
+ "\n",
+ "The uniform pressure is 0.084 N/mm**2\n",
+ "\n",
+ "The Force is 1031.1 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-6 - Page 592"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=5*10**3#\n",
+ "N=1000#\n",
+ "w=2*pi*N/60#\n",
+ "Rm=50#\n",
+ "pm=0.3#\n",
+ "Tf=P/w#\n",
+ "u=0.1#\n",
+ "R2=50*2/(0.6+1)#\n",
+ "R1=0.6*R2#\n",
+ "#According to uniform Wear theory\n",
+ "W=pm*Rm*(R2-R1)*2*pi#\n",
+ "n=Tf*(10**3)/(u*W*Rm)#\n",
+ "pmax=pm*Rm/R1#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(Tf)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#\n",
+ "print \"\\nThe number of contacting surfaces is %0.0f \"%(n)#\n",
+ "print \"\\nThe max. pressure is %0.1f N/mm**2\"%(pmax)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The angular speed is 104.72 rad/sec\n",
+ "\n",
+ "The Torque is 47.746 Nm\n",
+ "\n",
+ "The Inner radius is 37.5 mm\n",
+ "\n",
+ "The Outer radius is 62.5 mm\n",
+ "\n",
+ "The number of contacting surfaces is 4 \n",
+ "\n",
+ "The max. pressure is 0.4 N/mm**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-7 - Page 593"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=12*10**3#\n",
+ "N=750 #Speed=N\n",
+ "w=2*pi*N/60#\n",
+ "Tf=P/w#\n",
+ "p1=0.12#\n",
+ "a=12.5##Semi-cone angle\n",
+ "u=0.3#\n",
+ "k=u*0.18246*1.121/0.21644#\n",
+ "R1=(Tf*(10**3)/k)**(1/3)#\n",
+ "R2=R1*1.242#\n",
+ "Rm=1.121*R1#\n",
+ "W=2*pi*p1*R1*(R2-R1)#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.1f Nm\"%(Tf)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#\n",
+ "print \"\\nThe mean radius is %0.2f mm\"%(Rm)#\n",
+ "print \"\\nThe axial force is %0.0f N\"%(W)#\n",
+ "\n",
+ "#The difference in the answer is due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The angular speed is 78.54 rad/sec\n",
+ "\n",
+ "The Torque is 152.8 Nm\n",
+ "\n",
+ "The Inner radius is 81.4 mm\n",
+ "\n",
+ "The Outer radius is 101.1 mm\n",
+ "\n",
+ "The mean radius is 91.23 mm\n",
+ "\n",
+ "The axial force is 1208 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-8 - Page 594"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin\n",
+ "#semi-cone angle is given as 15 degree\n",
+ "k=sin(15*pi/180)#\n",
+ "u=0.3#\n",
+ "W=300#\n",
+ "Rm=90/2#\n",
+ "Tf=u*W*Rm/k#\n",
+ "Tf=Tf*(10**-3)#\n",
+ "I=0.4#\n",
+ "a=Tf/I#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "t=w/a#\n",
+ "#During Slipping\n",
+ "theta1=w*t#\n",
+ "theta2=theta1/2#\n",
+ "U=Tf*(theta1-theta2)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(Tf)#\n",
+ "print \"\\nThe angular acceleration is %0.3f rad/sec**2\"%(a)#\n",
+ "print \"\\nThe angular speed is %0.1f rad/sec\"%(w)#\n",
+ "print \"\\nThe time taken is %0.2f sec\"%(t)#\n",
+ "print \"\\nThe Energy lost in friction is %0.0f Nm\"%(U)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The Torque is 15.648 Nm\n",
+ "\n",
+ "The angular acceleration is 39.120 rad/sec**2\n",
+ "\n",
+ "The angular speed is 150.8 rad/sec\n",
+ "\n",
+ "The time taken is 3.85 sec\n",
+ "\n",
+ "The Energy lost in friction is 4548 Nm\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-9 - Page 595"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=15*10**3#\n",
+ "Ka=1.25#\n",
+ "N=1500#\n",
+ "w=2*pi*N/60#\n",
+ "Tf=P/w#\n",
+ "d=(Tf*16/(50*pi))**(1/3)#\n",
+ "d=25#\n",
+ "Rm=5*d#\n",
+ "Pav=0.12#\n",
+ "u=0.22#\n",
+ "b=Tf/(pi*u*Pav*(Rm**2))#\n",
+ "b=40#\n",
+ "R1=Rm-(b*sin(15*pi/180)/2)#\n",
+ "R2=Rm+(b*sin(15*pi/180)/2)#\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe shaft diameter is %0.0f mm\"%(d)#\n",
+ "print \"\\nThe width is %0.0f mm\"%(b)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The Torque is 95.49 Nm\n",
+ "\n",
+ "The shaft diameter is 25 mm\n",
+ "\n",
+ "The width is 40 mm\n",
+ "\n",
+ "The Inner radius is 119.8 mm\n",
+ "\n",
+ "The Outer radius is 130.2 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 22-10 - Page 596"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "w2=2*pi*1400/60#\n",
+ "w1=0.8*w2#\n",
+ "P=40*10**3#\n",
+ "T=P/w2#\n",
+ "n=4#\n",
+ "T1=T/4#\n",
+ "R=0.16##Inner radius of drum\n",
+ "r=0.13##radial distance of each shoe from axis of rotation\n",
+ "u=0.22##coefficient of friction\n",
+ "x=u*r*R*((w2**2)-(w1**2))\n",
+ "m =T1/x#\n",
+ "l=R*pi/3#\n",
+ "N=T1/(R*u)#\n",
+ "p=1*10**5#\n",
+ "b=N/(p*l)*10**3#\n",
+ "print \"\\nThe full speed is %0.1f rad/sec\"%(w2)#\n",
+ "print \"\\nThe engagement speed is %0.2f rad/sec\"%(w1)#\n",
+ "print \"\\nThe number of shoes is %0.0f \"%(n)#\n",
+ "print \"\\nThe Torque is %0.1f Nm\"%(T)#\n",
+ "print \"\\nThe Torque per shoe is %0.1f Nm\"%(T1)#\n",
+ "print \"\\nThe mass per shoe is %0.2f kg\"%(m)#\n",
+ "print \"\\nThe length of friction lining is %0.5f m\"%(l)#\n",
+ "print \"\\nThe width is %0.1f mm\"%(b)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ "The full speed is 146.6 rad/sec\n",
+ "\n",
+ "The engagement speed is 117.29 rad/sec\n",
+ "\n",
+ "The number of shoes is 4 \n",
+ "\n",
+ "The Torque is 272.8 Nm\n",
+ "\n",
+ "The Torque per shoe is 68.2 Nm\n",
+ "\n",
+ "The mass per shoe is 1.93 kg\n",
+ "\n",
+ "The length of friction lining is 0.16755 m\n",
+ "\n",
+ "The width is 115.7 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22_1.ipynb
new file mode 100755
index 00000000..b14d854b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch22_1.ipynb
@@ -0,0 +1,606 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:22 Friction clutches"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-1 - Page 588"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The force is 1759.3 N\n",
+ "\n",
+ "The Torque is 44.33 Nm\n",
+ "\n",
+ "The Power is 1393 W\n",
+ "\n",
+ "The angular acceleration is 6.16 rad/sec**2\n",
+ "\n",
+ "The time taken is 5.1 sec\n",
+ "\n",
+ "The energy is 3553.06 Nm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "u=0.28 #(coefficient of friction)\n",
+ "N=300 #(Engine rpm)\n",
+ "I=7.2 \n",
+ "Pmax= 0.1# \n",
+ "R1=70#\n",
+ "R2=110#\n",
+ "n=2# #(Both sides of the plate are effective)\n",
+ "#Using Uniform Wear Theory\n",
+ "#Axial Force W\n",
+ "W=n*pi*Pmax*R1*(R2-R1)#\n",
+ "#Frictional Torque Tf\n",
+ "Tf=u*W*(R1+R2)/2*(10**-3)#\n",
+ "w=2*pi*N/60#\n",
+ "#Power P\n",
+ "P=Tf*w#\n",
+ "#Torque = Mass moment of inertia*angular acceleration\n",
+ "a=Tf/I#\n",
+ "t=w/a# \n",
+ "#Angle turned by driving shaft theta1 through which slipping takes place\n",
+ "theta1=w*t#\n",
+ "#angle turned by driven shaft theta2\n",
+ "theta2=a*(t**2)/2#\n",
+ "E=Tf*(theta1-theta2)#\n",
+ "print \"\\nThe force is %0.1f N\"%(W)#\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe Power is %0.0f W\"%(P)#\n",
+ "print \"\\nThe angular acceleration is %0.2f rad/sec**2\"%(a)#\n",
+ "print \"\\nThe time taken is %0.1f sec\"%(t)#\n",
+ "print \"\\nThe energy is %0.2f Nm\"%(E)#\n",
+ "\n",
+ "#The difference in the answer of energy 'E' is due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-2 - Page 589"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The Torque is 254.65 Nm\n",
+ "\n",
+ "The width is 50 mm\n",
+ "\n",
+ "The force is 6283 N\n",
+ "\n",
+ "The Axial force per spring is 800 N\n",
+ "\n",
+ "The Spring stiffness is 80 N/mm\n",
+ "\n",
+ "The Spring wire diameter is 11 mm\n",
+ "\n",
+ "The Mean coil diameter is 66 mm\n",
+ "\n",
+ "The Free length is 110 mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "#Power P\n",
+ "P=80*10**3# #(Watt)\n",
+ "N=3000# #(Engine rpm)\n",
+ "w=2*pi*3*10**3/60\n",
+ "Tf=8*10**4/w#\n",
+ "Rm=100##(mm)\n",
+ "p=0.2 #N/mm**2\n",
+ "u=0.22 \n",
+ "# let width b= (R1-R2). \n",
+ "#Axial force W=2*pi*Rm*b*p\n",
+ "#Torque T=u*W*Rm\n",
+ "b=Tf/(u*2*pi*(Rm**2)*p)#\n",
+ "b=50# \n",
+ "R2=Rm+b#\n",
+ "R1=Rm-b#\n",
+ "Di=2*R1# #inner diameter\n",
+ "W=2*pi*Rm*b*p#\n",
+ "n=8# #n is number of springs\n",
+ "#Axial force per spring W1\n",
+ "W1=W/n#\n",
+ "W1=W1+15#\n",
+ "#axial deflection del\n",
+ "Del=10# \n",
+ "#stiffness k\n",
+ "k=W1/Del#\n",
+ "# Spring index C\n",
+ "C=6#\n",
+ "#number of coils n1\n",
+ "n1=6# #Assumption\n",
+ "d=k*n*n1*(C**3)/(80*10**3)#\n",
+ "d=11# # Rounding off to nearest standard value\n",
+ "D=C*d#\n",
+ "clearance=2#\n",
+ "FL=((n1+2)*d)+(2*Del)+clearance# # two end coils, therefore (2*del)\n",
+ "\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe width is %0.0f mm\"%(b)#\n",
+ "print \"\\nThe force is %0.0f N\"%(W)#\n",
+ "print \"\\nThe Axial force per spring is %0.0f N\"%(W1)#\n",
+ "print \"\\nThe Spring stiffness is %0.0f N/mm\"%(k)#\n",
+ "print \"\\nThe Spring wire diameter is %0.0f mm\"%(d)#\n",
+ "print \"\\nThe Mean coil diameter is %0.0f mm\"%(D)#\n",
+ "print \"\\nThe Free length is %0.0f mm\"%(FL)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-3 - Page 589"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The Speed factor is 1.3 \n",
+ "\n",
+ "The clutch poweris 123 KW\n"
+ ]
+ }
+ ],
+ "source": [
+ "#Power P\n",
+ "P=40*10**3 #Watt\n",
+ "n1=100# #rpm\n",
+ "n2=400# #rpm\n",
+ "#Speed factor Ks\n",
+ "Ks=0.9+0.001*n2#\n",
+ "#Clutch power Pc\n",
+ "Pc=P*n2/(n1*Ks)*10**-3#\n",
+ "print \"\\nThe Speed factor is %0.1f \"%(Ks)#\n",
+ "print \"\\nThe clutch poweris %0.0f KW\"%(Pc)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-4 - Page 590"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X2UXGWV7/HvJiG6eIntC1c0oI2QQUCwEYx4gTWNyXBb\nmGWSyzgkF3EaFHMhcQwvA4IOIGsYDQqDaAjx5SYXGQ3Im+giBhAqojcEgqkEISGJ0kMSlIUgaBwd\nE3vfP041pyiqu09V13n/fdbqlXqqzql+sld3PV17n2eXuTsiIiKj2S3tCYiISD5owRARkUi0YIiI\nSCRaMEREJBItGCIiEokWDBERiSTWBcPM+sxso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2vAEvc/d3AvwPXAZjZ\nOOBgd9/4iicwey1B64afI5IDme8lJZJRD5jZG4BdwLtq9x0DzKjdvgm4qnb7fQQfZjXkQDNbS5CO\n+pG7F/UzS6Rg9A5DpD29wNsJUlJn1d3f7DM3PkiQjhryi1oN40DgnWZ2dFyTFOkkLRgibXL3vwDz\ngfPNbC/g/wGzag+fBvy4dvsDwH1Nzn8e+AxB91SRzNOCIdK6l1s8u/uvCT5/ZC7B54efUWubfRrw\nKTPbB/iTu/9hmPPvBP6bmU2p3a/20ZJZam8uEiMzOw2Y5O5XjXqwSMZpwRARkUiUkhIRkUi0YIiI\nSCRaMEREJBItGCIiEokWDBERiUQLhoiIRKIFQ0REIvn/nx/g/9fIFs8AAAAASUVORK5CYII=\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7f74c4109e50>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, xlabel, ylabel, show, grid\n",
+ "\n",
+ "# plot Torque vs Ro/Ri\n",
+ "#x=Ro/Ri\n",
+ "#According to Uniform Wear theory\n",
+ "x=[0, 0.2, 0.4, 0.577, 0.6, 0.8, 1.0]#\n",
+ "n=len(x)#\n",
+ "Tf = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " Tf[i]=(x[i]-(x[i]**3))#\n",
+ "\n",
+ "plot (x,Tf)#\n",
+ "xlabel(' Ro/Ri ')#\n",
+ "ylabel('Tf')#\n",
+ "grid()#\n",
+ "show()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-5 - Page 591"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The angular speed is 146.61 rad/sec\n",
+ "\n",
+ "The Torque is 102.314 Nm\n",
+ "\n",
+ "The uniform pressure is 0.084 N/mm**2\n",
+ "\n",
+ "The Force is 1031.1 N\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "n1=4#\n",
+ "n2=3#\n",
+ "n=(n1+n2-1)#\n",
+ "R2=80#\n",
+ "R1=50#\n",
+ "#According to Uniform Pressure Theory\n",
+ "#W=p*pi*((R2**2)-(R1**2)) T=n*2*u*W*((R2**3)-(R1**3))/(((R2**2)-(R1**2))*3)\n",
+ "P=15*10**3#\n",
+ "N=1400#\n",
+ "u=0.25#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "W=T*3*((R2**2)-(R1**2))/(n*2*u*((R2**3)-(R1**3)))*10**3#\n",
+ "p=W/(pi*((R2**2)-(R1**2)))#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(T)#\n",
+ "print \"\\nThe uniform pressure is %0.3f N/mm**2\"%(p)#\n",
+ "print \"\\nThe Force is %0.1f N\"%(W)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-6 - Page 592"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The angular speed is 104.72 rad/sec\n",
+ "\n",
+ "The Torque is 47.746 Nm\n",
+ "\n",
+ "The Inner radius is 37.5 mm\n",
+ "\n",
+ "The Outer radius is 62.5 mm\n",
+ "\n",
+ "The number of contacting surfaces is 4 \n",
+ "\n",
+ "The max. pressure is 0.4 N/mm**2\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "P=5*10**3#\n",
+ "N=1000#\n",
+ "w=2*pi*N/60#\n",
+ "Rm=50#\n",
+ "pm=0.3#\n",
+ "Tf=P/w#\n",
+ "u=0.1#\n",
+ "R2=50*2/(0.6+1)#\n",
+ "R1=0.6*R2#\n",
+ "#According to uniform Wear theory\n",
+ "W=pm*Rm*(R2-R1)*2*pi#\n",
+ "n=Tf*(10**3)/(u*W*Rm)#\n",
+ "pmax=pm*Rm/R1#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(Tf)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#\n",
+ "print \"\\nThe number of contacting surfaces is %0.0f \"%(n)#\n",
+ "print \"\\nThe max. pressure is %0.1f N/mm**2\"%(pmax)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-7 - Page 593"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The angular speed is 78.54 rad/sec\n",
+ "\n",
+ "The Torque is 152.8 Nm\n",
+ "\n",
+ "The Inner radius is 81.4 mm\n",
+ "\n",
+ "The Outer radius is 101.1 mm\n",
+ "\n",
+ "The mean radius is 91.23 mm\n",
+ "\n",
+ "The axial force is 1208 N\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "P=12*10**3#\n",
+ "N=750 #Speed=N\n",
+ "w=2*pi*N/60#\n",
+ "Tf=P/w#\n",
+ "p1=0.12#\n",
+ "a=12.5##Semi-cone angle\n",
+ "u=0.3#\n",
+ "k=u*0.18246*1.121/0.21644#\n",
+ "R1=(Tf*(10**3)/k)**(1/3)#\n",
+ "R2=R1*1.242#\n",
+ "Rm=1.121*R1#\n",
+ "W=2*pi*p1*R1*(R2-R1)#\n",
+ "print \"\\nThe angular speed is %0.2f rad/sec\"%(w)#\n",
+ "print \"\\nThe Torque is %0.1f Nm\"%(Tf)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#\n",
+ "print \"\\nThe mean radius is %0.2f mm\"%(Rm)#\n",
+ "print \"\\nThe axial force is %0.0f N\"%(W)#\n",
+ "\n",
+ "#The difference in the answer is due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-8 - Page 594"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The Torque is 15.648 Nm\n",
+ "\n",
+ "The angular acceleration is 39.120 rad/sec**2\n",
+ "\n",
+ "The angular speed is 150.8 rad/sec\n",
+ "\n",
+ "The time taken is 3.85 sec\n",
+ "\n",
+ "The Energy lost in friction is 4548 Nm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sin,pi\n",
+ "#semi-cone angle is given as 15 degree\n",
+ "k=sin(15*pi/180)#\n",
+ "u=0.3#\n",
+ "W=300#\n",
+ "Rm=90/2#\n",
+ "Tf=u*W*Rm/k#\n",
+ "Tf=Tf*(10**-3)#\n",
+ "I=0.4#\n",
+ "a=Tf/I#\n",
+ "N=1440#\n",
+ "w=2*pi*N/60#\n",
+ "t=w/a#\n",
+ "#During Slipping\n",
+ "theta1=w*t#\n",
+ "theta2=theta1/2#\n",
+ "U=Tf*(theta1-theta2)#\n",
+ "print \"\\nThe Torque is %0.3f Nm\"%(Tf)#\n",
+ "print \"\\nThe angular acceleration is %0.3f rad/sec**2\"%(a)#\n",
+ "print \"\\nThe angular speed is %0.1f rad/sec\"%(w)#\n",
+ "print \"\\nThe time taken is %0.2f sec\"%(t)#\n",
+ "print \"\\nThe Energy lost in friction is %0.0f Nm\"%(U)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-9 - Page 595"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The Torque is 95.49 Nm\n",
+ "\n",
+ "The shaft diameter is 25 mm\n",
+ "\n",
+ "The width is 40 mm\n",
+ "\n",
+ "The Inner radius is 119.8 mm\n",
+ "\n",
+ "The Outer radius is 130.2 mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sin\n",
+ "P=15*10**3#\n",
+ "Ka=1.25#\n",
+ "N=1500#\n",
+ "w=2*pi*N/60#\n",
+ "Tf=P/w#\n",
+ "d=(Tf*16/(50*pi))**(1/3)#\n",
+ "d=25#\n",
+ "Rm=5*d#\n",
+ "Pav=0.12#\n",
+ "u=0.22#\n",
+ "b=Tf/(pi*u*Pav*(Rm**2))#\n",
+ "b=40#\n",
+ "R1=Rm-(b*sin(15*pi/180)/2)#\n",
+ "R2=Rm+(b*sin(15*pi/180)/2)#\n",
+ "print \"\\nThe Torque is %0.2f Nm\"%(Tf)#\n",
+ "print \"\\nThe shaft diameter is %0.0f mm\"%(d)#\n",
+ "print \"\\nThe width is %0.0f mm\"%(b)#\n",
+ "print \"\\nThe Inner radius is %0.1f mm\"%(R1)#\n",
+ "print \"\\nThe Outer radius is %0.1f mm\"%(R2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 22-10 - Page 596"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\n",
+ "The full speed is 146.6 rad/sec\n",
+ "\n",
+ "The engagement speed is 117.29 rad/sec\n",
+ "\n",
+ "The number of shoes is 4 \n",
+ "\n",
+ "The Torque is 272.8 Nm\n",
+ "\n",
+ "The Torque per shoe is 68.2 Nm\n",
+ "\n",
+ "The mass per shoe is 1.93 kg\n",
+ "\n",
+ "The length of friction lining is 0.16755 m\n",
+ "\n",
+ "The width is 115.7 mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "w2=2*pi*1400/60#\n",
+ "w1=0.8*w2#\n",
+ "P=40*10**3#\n",
+ "T=P/w2#\n",
+ "n=4#\n",
+ "T1=T/4#\n",
+ "R=0.16##Inner radius of drum\n",
+ "r=0.13##radial distance of each shoe from axis of rotation\n",
+ "u=0.22##coefficient of friction\n",
+ "x=u*r*R*((w2**2)-(w1**2))\n",
+ "m =T1/x#\n",
+ "l=R*pi/3#\n",
+ "N=T1/(R*u)#\n",
+ "p=1*10**5#\n",
+ "b=N/(p*l)*10**3#\n",
+ "print \"\\nThe full speed is %0.1f rad/sec\"%(w2)#\n",
+ "print \"\\nThe engagement speed is %0.2f rad/sec\"%(w1)#\n",
+ "print \"\\nThe number of shoes is %0.0f \"%(n)#\n",
+ "print \"\\nThe Torque is %0.1f Nm\"%(T)#\n",
+ "print \"\\nThe Torque per shoe is %0.1f Nm\"%(T1)#\n",
+ "print \"\\nThe mass per shoe is %0.2f kg\"%(m)#\n",
+ "print \"\\nThe length of friction lining is %0.5f m\"%(l)#\n",
+ "print \"\\nThe width is %0.1f mm\"%(b)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23.ipynb
new file mode 100755
index 00000000..0ff4eb7a
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23.ipynb
@@ -0,0 +1,438 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:75a895f6b6e2b52911a88eac6dae9689200eafdf77449669257c302ec104ee3c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:23 Brakes"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-1 - Page 618"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import asin, pi\n",
+ "W=20e3#\n",
+ "m=W/9.81#\n",
+ "#diameter of brake drum\n",
+ "Db=0.6#\n",
+ "p=1#\n",
+ "Vi=1#\n",
+ "Vf=0#\n",
+ "D=1#\n",
+ "R=0.5#\n",
+ "wi=Vi/R#\n",
+ "wf=0#\n",
+ "w=1#\n",
+ "Vav=0.5#\n",
+ "S=2#\n",
+ "t=S/Vav#\n",
+ "#angle turned by by hoist drum=theta\n",
+ "theta=0.5*wi*t#\n",
+ "K_E=0.5*m*Vi**2#\n",
+ "P_E=2*W#\n",
+ "T_E=K_E+P_E#\n",
+ "T=T_E/theta#\n",
+ "P=wi*T*10**-3#\n",
+ "Rb=Db/2#\n",
+ "Ft=0.5*T*p/Rb#\n",
+ "u=0.35#\n",
+ "N=Ft/u#\n",
+ "#contact area of brake lining=A\n",
+ "A=N/p#\n",
+ "b=0.3*Db#\n",
+ "L=A*10**-6/(b)#\n",
+ "#angle subtended at brake drum centre=theta2\n",
+ "theta2=2*(asin(L/Db))#\n",
+ "theta2=theta2*180/pi# # converting radian to degree\n",
+ "print \"T is %0.1f Nm \"%(T)#\n",
+ "print \"\\nP is %0.4f kW \"%(P)#\n",
+ "print \"\\nb is %0.2f m \"%(b)#\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ "print \"\\ntheta2 is %0.0f deg \"%(theta2)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T is 10254.8 Nm \n",
+ "\n",
+ "P is 20.5097 kW \n",
+ "\n",
+ "b is 0.18 m \n",
+ "\n",
+ "L is 0.271 m \n",
+ "\n",
+ "theta2 is 54 deg \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-2 - Page 618"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import exp\n",
+ "b=80#\n",
+ "t=2#\n",
+ "theta=225*pi/180#\n",
+ "u=0.22#\n",
+ "#F1/F2=e**(u*theta)\n",
+ "#let F1/F2=x#\n",
+ "x=exp(u*theta)#\n",
+ "#maximum tensile stress in steel tape is siga\n",
+ "siga=60#\n",
+ "A=b*t#\n",
+ "F1=siga*A#\n",
+ "F2=F1/x#\n",
+ "r=0.2#\n",
+ "T=(F1-F2)*r#\n",
+ "OA=30#\n",
+ "OB=100#\n",
+ "OC=350#\n",
+ "P=((F2*OB)+(F1*OA))/OC#\n",
+ "OA=F2*OB/F1#\n",
+ "print \"F1 is %0.0f N \"%(F1)#\n",
+ "print \"\\nF2 is %0.1f N \"%(F2)#\n",
+ "print \"\\nT is %0.2f Nm \"%(T)#\n",
+ "print \"\\nOA is %0.2f mm \"%(OA)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F1 is 9600 N \n",
+ "\n",
+ "F2 is 4046.4 N \n",
+ "\n",
+ "T is 1110.72 Nm \n",
+ "\n",
+ "OA is 42.15 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-3 - Page 619"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin\n",
+ "theta=pi/3#\n",
+ "r=160#\n",
+ "u=0.3#\n",
+ "pmax=0.9#\n",
+ "b=40#\n",
+ "R=(4*r*sin(theta))/((2*theta)+sin(2*theta))#\n",
+ "#frictional torque is T\n",
+ "T=2*u*pmax*b*(r**2)*sin(theta)#\n",
+ "T=2*T*10**-3#\n",
+ "Rx=0.5*pmax*b*r*((2*theta)+(sin(2*theta)))*10**-3#\n",
+ "Ry=u*Rx#\n",
+ "print \"T is %0.2f Nmm \"%(T)#\n",
+ "print \"\\nR is %0.3f mm \"%(R)#\n",
+ "print \"\\nRx is %0.3f kN \"%(Rx)#\n",
+ "print \"\\nRy is %0.2f kN \"%(Ry)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T is 957.75 Nmm \n",
+ "\n",
+ "R is 187.222 mm \n",
+ "\n",
+ "Rx is 8.526 kN \n",
+ "\n",
+ "Ry is 2.56 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-4 - Page 620"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin, cos, pi, sqrt\n",
+ "d=320#\n",
+ "r=d/2#\n",
+ "b=50#\n",
+ "u=0.3#\n",
+ "pmax=1#\n",
+ "c=115*2#\n",
+ "# From to fig. 23-9, distance OA=R is calculated.\n",
+ "R=sqrt(115**2+66.4**2)#\n",
+ "C=115*2#\n",
+ "theta1=0#\n",
+ "theta2=120*pi/180#\n",
+ "theta0=120*pi/180#\n",
+ "thetamax=pi/2#\n",
+ "Tr=u*pmax*b*r**2*(cos(theta1)-cos(theta2))/sin(thetamax)*10**-3#\n",
+ "#the notation 'r' is used for moments of right hand shoe, similarly 'l' for the left shoe.\n",
+ "Mfr=u*pmax*b*r*(4*r*(cos(theta1)-cos(theta2))+(R*(cos(2*theta1)-cos(2*theta2))))/(4*sin(thetamax))*10**-3#\n",
+ "Mpr=pmax*b*r*R*((2*theta0)-(sin(2*theta2)-(sin(theta1))))/(4*sin(thetamax))*10**-3#\n",
+ "F=(Mpr-Mfr)/c*10**3#\n",
+ "#Mpl+Mfl=F*c#\n",
+ "x=F*c*10**-3#\n",
+ "y=(Mpr/pmax)+(Mfr/pmax)#\n",
+ "pmax2=x/y#\n",
+ "Tl=pmax2*Tr#\n",
+ "Mpl=pmax2*Mpr#\n",
+ "Mfl=pmax2*Mfr#\n",
+ "T=Tl+Tr#\n",
+ "print \"Tr is %0.0f Nm \"%(Tr)#\n",
+ "print \"\\nMf is %0.2f Nm \"%(Mfr)#\n",
+ "print \"\\nMp is %0.2f Nm \"%(Mpr)#\n",
+ "print \"\\nTl is %0.1f Nm \"%(Tl)# \n",
+ "print \"\\nMfl is %0.2f Nm \"%(Mfl)#\n",
+ "print \"\\nMpl is %0.2f Nm \"%(Mpl)#\n",
+ "print \"\\nF is %0.1f N \"%(F)#\n",
+ "print \"\\nT is %0.1f Nm \"%(T)#\n",
+ " \n",
+ " #The difference in the answers are due to rounding-off of values.\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tr is 576 Nm \n",
+ "\n",
+ "Mf is 695.51 Nm \n",
+ "\n",
+ "Mp is 1342.49 Nm \n",
+ "\n",
+ "Tl is 182.9 Nm \n",
+ "\n",
+ "Mfl is 220.79 Nm \n",
+ "\n",
+ "Mpl is 426.18 Nm \n",
+ "\n",
+ "F is 2812.9 N \n",
+ "\n",
+ "T is 758.9 Nm \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-5 - Page 621"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "m=1100#\n",
+ "V=65*5/18#\n",
+ "t=4#\n",
+ "r=0.22#\n",
+ "mb=12#\n",
+ "C=460#\n",
+ "S=0.5*V*t#\n",
+ "#Total kinetic energy TE=K.E(vehicle)+K.E(rotating parts).\n",
+ "TE=((0.5*m*(V**2))+(0.1*0.5*m*(V**2)))#\n",
+ "E=TE/4#\n",
+ "w=V/r#\n",
+ "theta=S/r#\n",
+ "T=E/theta#\n",
+ "delT=E/(mb*C)#\n",
+ "print \"S is %0.2f m \"%(S)#\n",
+ "print \"\\nE is %0.2f Nm \"%(E)#\n",
+ "print \"\\nT is %0.2f Nm \"%(T)#\n",
+ "print \"\\ndelT is %0.2f \"%(delT)#\n",
+ " \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "S is 36.11 m \n",
+ "\n",
+ "E is 49307.97 Nm \n",
+ "\n",
+ "T is 300.40 Nm \n",
+ "\n",
+ "delT is 8.93 \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-6 - Page 621"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "T=35000#\n",
+ "u=0.4#\n",
+ "p=0.7#\n",
+ "r=200#\n",
+ "N=T/(u*r)\n",
+ "b=sqrt(N/p)#\n",
+ "l=b#\n",
+ "#2theta = theta2\n",
+ "theta2=2*asin(l/(2*r))#\n",
+ "F=u*N#\n",
+ "P=((250*N)-(u*N*80))/550#\n",
+ "Ry=N-P#\n",
+ "Rx=u*N#\n",
+ "R=sqrt(Rx**2+Ry**2)#\n",
+ "w=2*pi*100/60#\n",
+ "# Rate of heat generated is Q\n",
+ "Q=u*N*w*r/1000#\n",
+ "print \"N is %0.1f N \"%(N)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nP is %0.1f N \"%(P)#\n",
+ "print \"\\nR is %0.2f N \"%(R)#\n",
+ "print \"\\nQ is %0.2f J/s \"%(Q)#\n",
+ "\n",
+ "#The answer to Rate of heat generated 'Q' is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "N is 437.5 N \n",
+ "\n",
+ "b is 25 mm \n",
+ "\n",
+ "P is 173.4 N \n",
+ "\n",
+ "R is 316.81 N \n",
+ "\n",
+ "Q is 366.52 J/s \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 23-7 - Page 622"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Vi=20*5/18#\n",
+ "Vf=0#\n",
+ "m=80#\n",
+ "pmax=1#\n",
+ "u=0.1#\n",
+ "S=50#\n",
+ "KE=0.5*m*Vi**2#\n",
+ "N=KE/(u*S*2)#\n",
+ "t=sqrt(N/(pmax*3))#\n",
+ "b=3*t#\n",
+ "print \"KE is %0.1f Nm \"%(KE)#\n",
+ "print \"\\nN is %0.2f N \"%(N)#\n",
+ "print \"\\nt is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#\n",
+ "\n",
+ "#The difference in the answers are due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "KE is 1234.6 Nm \n",
+ "\n",
+ "N is 123.46 N \n",
+ "\n",
+ "t is 6.4 mm \n",
+ "\n",
+ "b is 19.2 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23_1.ipynb
new file mode 100755
index 00000000..2edefb8f
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch23_1.ipynb
@@ -0,0 +1,442 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:23 Brakes"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-1 - Page 618"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T is 10254.8 Nm \n",
+ "\n",
+ "P is 20.5097 kW \n",
+ "\n",
+ "b is 0.18 m \n",
+ "\n",
+ "L is 0.271 m \n",
+ "\n",
+ "theta2 is 54 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import asin, pi\n",
+ "W=20e3#\n",
+ "m=W/9.81#\n",
+ "#diameter of brake drum\n",
+ "Db=0.6#\n",
+ "p=1#\n",
+ "Vi=1#\n",
+ "Vf=0#\n",
+ "D=1#\n",
+ "R=0.5#\n",
+ "wi=Vi/R#\n",
+ "wf=0#\n",
+ "w=1#\n",
+ "Vav=0.5#\n",
+ "S=2#\n",
+ "t=S/Vav#\n",
+ "#angle turned by by hoist drum=theta\n",
+ "theta=0.5*wi*t#\n",
+ "K_E=0.5*m*Vi**2#\n",
+ "P_E=2*W#\n",
+ "T_E=K_E+P_E#\n",
+ "T=T_E/theta#\n",
+ "P=wi*T*10**-3#\n",
+ "Rb=Db/2#\n",
+ "Ft=0.5*T*p/Rb#\n",
+ "u=0.35#\n",
+ "N=Ft/u#\n",
+ "#contact area of brake lining=A\n",
+ "A=N/p#\n",
+ "b=0.3*Db#\n",
+ "L=A*10**-6/(b)#\n",
+ "#angle subtended at brake drum centre=theta2\n",
+ "theta2=2*(asin(L/Db))#\n",
+ "theta2=theta2*180/pi# # converting radian to degree\n",
+ "print \"T is %0.1f Nm \"%(T)#\n",
+ "print \"\\nP is %0.4f kW \"%(P)#\n",
+ "print \"\\nb is %0.2f m \"%(b)#\n",
+ "print \"\\nL is %0.3f m \"%(L)#\n",
+ "print \"\\ntheta2 is %0.0f deg \"%(theta2)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-2 - Page 618"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "F1 is 9600 N \n",
+ "\n",
+ "F2 is 4046.4 N \n",
+ "\n",
+ "T is 1110.72 Nm \n",
+ "\n",
+ "OA is 42.15 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import exp,pi\n",
+ "b=80#\n",
+ "t=2#\n",
+ "theta=225*pi/180#\n",
+ "u=0.22#\n",
+ "#F1/F2=e**(u*theta)\n",
+ "#let F1/F2=x#\n",
+ "x=exp(u*theta)#\n",
+ "#maximum tensile stress in steel tape is siga\n",
+ "siga=60#\n",
+ "A=b*t#\n",
+ "F1=siga*A#\n",
+ "F2=F1/x#\n",
+ "r=0.2#\n",
+ "T=(F1-F2)*r#\n",
+ "OA=30#\n",
+ "OB=100#\n",
+ "OC=350#\n",
+ "P=((F2*OB)+(F1*OA))/OC#\n",
+ "OA=F2*OB/F1#\n",
+ "print \"F1 is %0.0f N \"%(F1)#\n",
+ "print \"\\nF2 is %0.1f N \"%(F2)#\n",
+ "print \"\\nT is %0.2f Nm \"%(T)#\n",
+ "print \"\\nOA is %0.2f mm \"%(OA)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-3 - Page 619"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T is 957.75 Nmm \n",
+ "\n",
+ "R is 187.222 mm \n",
+ "\n",
+ "Rx is 8.526 kN \n",
+ "\n",
+ "Ry is 2.56 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sin,pi\n",
+ "theta=pi/3#\n",
+ "r=160#\n",
+ "u=0.3#\n",
+ "pmax=0.9#\n",
+ "b=40#\n",
+ "R=(4*r*sin(theta))/((2*theta)+sin(2*theta))#\n",
+ "#frictional torque is T\n",
+ "T=2*u*pmax*b*(r**2)*sin(theta)#\n",
+ "T=2*T*10**-3#\n",
+ "Rx=0.5*pmax*b*r*((2*theta)+(sin(2*theta)))*10**-3#\n",
+ "Ry=u*Rx#\n",
+ "print \"T is %0.2f Nmm \"%(T)#\n",
+ "print \"\\nR is %0.3f mm \"%(R)#\n",
+ "print \"\\nRx is %0.3f kN \"%(Rx)#\n",
+ "print \"\\nRy is %0.2f kN \"%(Ry)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-4 - Page 620"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tr is 576 Nm \n",
+ "\n",
+ "Mf is 695.51 Nm \n",
+ "\n",
+ "Mp is 1342.49 Nm \n",
+ "\n",
+ "Tl is 182.9 Nm \n",
+ "\n",
+ "Mfl is 220.79 Nm \n",
+ "\n",
+ "Mpl is 426.18 Nm \n",
+ "\n",
+ "F is 2812.9 N \n",
+ "\n",
+ "T is 758.9 Nm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sin, cos, pi, sqrt\n",
+ "d=320#\n",
+ "r=d/2#\n",
+ "b=50#\n",
+ "u=0.3#\n",
+ "pmax=1#\n",
+ "c=115*2#\n",
+ "# From to fig. 23-9, distance OA=R is calculated.\n",
+ "R=sqrt(115**2+66.4**2)#\n",
+ "C=115*2#\n",
+ "theta1=0#\n",
+ "theta2=120*pi/180#\n",
+ "theta0=120*pi/180#\n",
+ "thetamax=pi/2#\n",
+ "Tr=u*pmax*b*r**2*(cos(theta1)-cos(theta2))/sin(thetamax)*10**-3#\n",
+ "#the notation 'r' is used for moments of right hand shoe, similarly 'l' for the left shoe.\n",
+ "Mfr=u*pmax*b*r*(4*r*(cos(theta1)-cos(theta2))+(R*(cos(2*theta1)-cos(2*theta2))))/(4*sin(thetamax))*10**-3#\n",
+ "Mpr=pmax*b*r*R*((2*theta0)-(sin(2*theta2)-(sin(theta1))))/(4*sin(thetamax))*10**-3#\n",
+ "F=(Mpr-Mfr)/c*10**3#\n",
+ "#Mpl+Mfl=F*c#\n",
+ "x=F*c*10**-3#\n",
+ "y=(Mpr/pmax)+(Mfr/pmax)#\n",
+ "pmax2=x/y#\n",
+ "Tl=pmax2*Tr#\n",
+ "Mpl=pmax2*Mpr#\n",
+ "Mfl=pmax2*Mfr#\n",
+ "T=Tl+Tr#\n",
+ "print \"Tr is %0.0f Nm \"%(Tr)#\n",
+ "print \"\\nMf is %0.2f Nm \"%(Mfr)#\n",
+ "print \"\\nMp is %0.2f Nm \"%(Mpr)#\n",
+ "print \"\\nTl is %0.1f Nm \"%(Tl)# \n",
+ "print \"\\nMfl is %0.2f Nm \"%(Mfl)#\n",
+ "print \"\\nMpl is %0.2f Nm \"%(Mpl)#\n",
+ "print \"\\nF is %0.1f N \"%(F)#\n",
+ "print \"\\nT is %0.1f Nm \"%(T)#\n",
+ " \n",
+ "#The difference in the answers are due to rounding-off of values.\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-5 - Page 621"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "S is 36.11 m \n",
+ "\n",
+ "E is 49307.97 Nm \n",
+ "\n",
+ "T is 300.40 Nm \n",
+ "\n",
+ "delT is 8.93 \n"
+ ]
+ }
+ ],
+ "source": [
+ "m=1100#\n",
+ "V=65*5/18#\n",
+ "t=4#\n",
+ "r=0.22#\n",
+ "mb=12#\n",
+ "C=460#\n",
+ "S=0.5*V*t#\n",
+ "#Total kinetic energy TE=K.E(vehicle)+K.E(rotating parts).\n",
+ "TE=((0.5*m*(V**2))+(0.1*0.5*m*(V**2)))#\n",
+ "E=TE/4#\n",
+ "w=V/r#\n",
+ "theta=S/r#\n",
+ "T=E/theta#\n",
+ "delT=E/(mb*C)#\n",
+ "print \"S is %0.2f m \"%(S)#\n",
+ "print \"\\nE is %0.2f Nm \"%(E)#\n",
+ "print \"\\nT is %0.2f Nm \"%(T)#\n",
+ "print \"\\ndelT is %0.2f \"%(delT)#\n",
+ " \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-6 - Page 621"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "N is 437.5 N \n",
+ "\n",
+ "b is 25 mm \n",
+ "\n",
+ "P is 173.4 N \n",
+ "\n",
+ "R is 316.81 N \n",
+ "\n",
+ "Q is 366.52 J/s \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,asin,pi\n",
+ "T=35000#\n",
+ "u=0.4#\n",
+ "p=0.7#\n",
+ "r=200#\n",
+ "N=T/(u*r)\n",
+ "b=sqrt(N/p)#\n",
+ "l=b#\n",
+ "#2theta = theta2\n",
+ "theta2=2*asin(l/(2*r))#\n",
+ "F=u*N#\n",
+ "P=((250*N)-(u*N*80))/550#\n",
+ "Ry=N-P#\n",
+ "Rx=u*N#\n",
+ "R=sqrt(Rx**2+Ry**2)#\n",
+ "w=2*pi*100/60#\n",
+ "# Rate of heat generated is Q\n",
+ "Q=u*N*w*r/1000#\n",
+ "print \"N is %0.1f N \"%(N)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nP is %0.1f N \"%(P)#\n",
+ "print \"\\nR is %0.2f N \"%(R)#\n",
+ "print \"\\nQ is %0.2f J/s \"%(Q)#\n",
+ "\n",
+ "#The answer to Rate of heat generated 'Q' is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 23-7 - Page 622"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "KE is 1234.6 Nm \n",
+ "\n",
+ "N is 123.46 N \n",
+ "\n",
+ "t is 6.4 mm \n",
+ "\n",
+ "b is 19.2 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "Vi=20*5/18#\n",
+ "Vf=0#\n",
+ "m=80#\n",
+ "pmax=1#\n",
+ "u=0.1#\n",
+ "S=50#\n",
+ "KE=0.5*m*Vi**2#\n",
+ "N=KE/(u*S*2)#\n",
+ "t=sqrt(N/(pmax*3))#\n",
+ "b=3*t#\n",
+ "print \"KE is %0.1f Nm \"%(KE)#\n",
+ "print \"\\nN is %0.2f N \"%(N)#\n",
+ "print \"\\nt is %0.1f mm \"%(t)#\n",
+ "print \"\\nb is %0.1f mm \"%(b)#\n",
+ "\n",
+ "#The difference in the answers are due to rounding-off of values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24.ipynb
new file mode 100755
index 00000000..5467776a
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24.ipynb
@@ -0,0 +1,188 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d95986be60722ab1db01b1c918002f9e15f3dc0ce9ab06247d01ab6e633f6378"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:24 Rope drive"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 24-1 - Page 635"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, exp, sin, asin\n",
+ "P=150000#\n",
+ "m=0.4#\n",
+ "D=1.8#\n",
+ "d=0.6#\n",
+ "C=4.2#\n",
+ "V=15#\n",
+ "Fc=m*V**2#\n",
+ "BL=44.81*10**3#\n",
+ "FOS=35#\n",
+ "F1=BL/FOS#\n",
+ "theta=pi-(2*asin((D-d)/(2*C)))#\n",
+ "beta=22.5*pi/180#\n",
+ "u=0.13#\n",
+ "x=u*theta/sin(beta)#\n",
+ "F2=(F1-Fc)/exp(x)#\n",
+ "n=P/((F1-F2)*V)#\n",
+ "n=13#\n",
+ "print \"n is %0.0f \"%(n)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "n is 13 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 24-2 - Page 635"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "W=1000#\n",
+ "m=0.498#\n",
+ "BL=78#\n",
+ "d=12#\n",
+ "Am=0.39*d**2#\n",
+ "dw=sqrt(Am*4/(6*19*pi))#\n",
+ "Ew=74.4*10**3#\n",
+ "Ds=56*d#\n",
+ "sigb=Ew*dw/Ds#\n",
+ "Wb=sigb*pi*(d**2)/4*10**-3#\n",
+ "l=20#\n",
+ "Ws=m*l#\n",
+ "a=1.2#\n",
+ "Wa=a*(W/2+Ws)*10**-3#\n",
+ "#Let the static load be Ps\n",
+ "Ps=(W/2+Ws)*9.81*10**-3#\n",
+ "#let the effective load be Peff\n",
+ "Peff=Ps+Wb+Wa#\n",
+ "FOS1=BL/Peff#\n",
+ "FOS2=BL/(5+0.612)#\n",
+ "print \" annual FOS is %0.2f \"%(FOS1)#\n",
+ "print \"\\n FOS neglecting bending load is %0.1f \"%(FOS2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " annual FOS is 5.02 \n",
+ "\n",
+ " FOS neglecting bending load is 13.9 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 24-3 - Page 636"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=12#\n",
+ "sigut=1960#\n",
+ "Pb=0.0025*sigut#\n",
+ "Ds=480#\n",
+ "F=Pb*d*Ds/2#\n",
+ "W=F*2*10**-3#\n",
+ "print \"W is %0.3f kN \"%(W)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W is 28.224 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 24-4 - Page 637"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigut=1770#\n",
+ "Pb=0.0018*sigut#\n",
+ "W=4000#\n",
+ "a=2.5/2#\n",
+ "Ws=90*0.5#\n",
+ "Wa=(W+Ws)*a/9.81#\n",
+ "Weff=W+Wa#\n",
+ "d=sqrt(Weff*2/(23*Pb))#\n",
+ "d=12#\n",
+ "print \"d is %0.0f mm \"%(d)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 12 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24_1.ipynb
new file mode 100755
index 00000000..f165e145
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch24_1.ipynb
@@ -0,0 +1,195 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:24 Rope drive"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 24-1 - Page 635"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "n is 13 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, exp, sin, asin\n",
+ "P=150000#\n",
+ "m=0.4#\n",
+ "D=1.8#\n",
+ "d=0.6#\n",
+ "C=4.2#\n",
+ "V=15#\n",
+ "Fc=m*V**2#\n",
+ "BL=44.81*10**3#\n",
+ "FOS=35#\n",
+ "F1=BL/FOS#\n",
+ "theta=pi-(2*asin((D-d)/(2*C)))#\n",
+ "beta=22.5*pi/180#\n",
+ "u=0.13#\n",
+ "x=u*theta/sin(beta)#\n",
+ "F2=(F1-Fc)/exp(x)#\n",
+ "n=P/((F1-F2)*V)#\n",
+ "n=13#\n",
+ "print \"n is %0.0f \"%(n)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 24-2 - Page 635"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " annual FOS is 5.02 \n",
+ "\n",
+ " FOS neglecting bending load is 13.9 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "W=1000#\n",
+ "m=0.498#\n",
+ "BL=78#\n",
+ "d=12#\n",
+ "Am=0.39*d**2#\n",
+ "dw=sqrt(Am*4/(6*19*pi))#\n",
+ "Ew=74.4*10**3#\n",
+ "Ds=56*d#\n",
+ "sigb=Ew*dw/Ds#\n",
+ "Wb=sigb*pi*(d**2)/4*10**-3#\n",
+ "l=20#\n",
+ "Ws=m*l#\n",
+ "a=1.2#\n",
+ "Wa=a*(W/2+Ws)*10**-3#\n",
+ "#Let the static load be Ps\n",
+ "Ps=(W/2+Ws)*9.81*10**-3#\n",
+ "#let the effective load be Peff\n",
+ "Peff=Ps+Wb+Wa#\n",
+ "FOS1=BL/Peff#\n",
+ "FOS2=BL/(5+0.612)#\n",
+ "print \" annual FOS is %0.2f \"%(FOS1)#\n",
+ "print \"\\n FOS neglecting bending load is %0.1f \"%(FOS2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 24-3 - Page 636"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "W is 28.224 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "d=12#\n",
+ "sigut=1960#\n",
+ "Pb=0.0025*sigut#\n",
+ "Ds=480#\n",
+ "F=Pb*d*Ds/2#\n",
+ "W=F*2*10**-3#\n",
+ "print \"W is %0.3f kN \"%(W)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 24-4 - Page 637"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 12 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "sigut=1770#\n",
+ "Pb=0.0018*sigut#\n",
+ "W=4000#\n",
+ "a=2.5/2#\n",
+ "Ws=90*0.5#\n",
+ "Wa=(W+Ws)*a/9.81#\n",
+ "Weff=W+Wa#\n",
+ "d=sqrt(Weff*2/(23*Pb))#\n",
+ "d=12#\n",
+ "print \"d is %0.0f mm \"%(d)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25.ipynb
new file mode 100755
index 00000000..1bf3748b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25.ipynb
@@ -0,0 +1,380 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:916802be9265ec8f5947b935ca6ebb81f4ee0ab392012dea0a384748212946ca"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:25 Gears"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-1 - Page 669"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Zp=25#\n",
+ "Zg=60#\n",
+ "m=5#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "CD=(dp+dg)/2#\n",
+ "ha=m#\n",
+ "hf=1.25*m#\n",
+ "c=hf-ha#\n",
+ "r=0.4*m#\n",
+ "print \"dp is %0.0f mm \"%(dp)#\n",
+ "print \"\\ndg is %0.0f mm \"%(dg)#\n",
+ "print \"\\nCD is %0.1f mm \"%(CD)#\n",
+ "print \"\\nha is %0.0f mm \"%(ha)#\n",
+ "print \"\\nhf is %0.2f mm \"%(hf)#\n",
+ "print \"\\nc is %0.2f mm \"%(c)#\n",
+ "print \"\\nr is %0.0f mm \"%(r)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "dp is 125 mm \n",
+ "\n",
+ "dg is 300 mm \n",
+ "\n",
+ "CD is 212.5 mm \n",
+ "\n",
+ "ha is 5 mm \n",
+ "\n",
+ "hf is 6.25 mm \n",
+ "\n",
+ "c is 1.25 mm \n",
+ "\n",
+ "r is 2 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-2 - Page 669"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N=800#\n",
+ "P=6000#\n",
+ "n=200#\n",
+ "Cs=1.4#\n",
+ "sigb=150#\n",
+ "FOS=2#\n",
+ "Zp=18#\n",
+ "Zg=Zp*N/n#\n",
+ "Y=pi*(0.154-(0.912/Zp))#\n",
+ "p=[1 ,0 ,-9.5846, -38.135]#\n",
+ "from sympy import symbols, solve\n",
+ "P = symbols('P')\n",
+ "expr = P**3*p[0]+P**2*p[1]+P*p[2]+p[3]\n",
+ "m=solve(expr, P)[0]#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"dp is %0.0f mm \"%(dp)#\n",
+ "print \"\\ndg is %0.0f mm \"%(dg)#\n",
+ "# Answer is given wrong in the textbook"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "dp is 77 mm \n",
+ "\n",
+ "dg is 309 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-3 - Page 670"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=30#\n",
+ "N=1000#\n",
+ "Zg=75#\n",
+ "m=5#\n",
+ "b=60#\n",
+ "sigut=450#\n",
+ "BHN=350#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "v=2*pi*N*dp/(60*1000*2)#\n",
+ "Cv=3/(3+v)#\n",
+ "sigb=450/3#\n",
+ "Y=0.358#\n",
+ "Sb=m*b*sigb*Y#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*Q*K#\n",
+ "Pt=Sb*Cv/(Cs*FOS)#\n",
+ "P=Pt*v#\n",
+ "P=P*10**-3#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw)#\n",
+ "print \"\\nP is %0.3f kW \"%(P)#\n",
+ "\n",
+ "#The difference in the value of Sw is due to rounding-off of the value of Q."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sb is 16110 N \n",
+ "\n",
+ "Sw is 25200 N \n",
+ "\n",
+ "P is 11.657 kW \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-4 - Page 670"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "n=240#\n",
+ "P=8000#\n",
+ "N=1200#\n",
+ "CD=300#\n",
+ "Cs=1.5#\n",
+ "alpha=20*pi/180#\n",
+ "G=N/n#\n",
+ "dp=CD*2/6#\n",
+ "dg=5*dp#\n",
+ "v=2*pi*N*dp/(60*1000*2)#\n",
+ "Cv=3/(3+v)#\n",
+ "Pt=P/v#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "m=4#\n",
+ "b=10*m#\n",
+ "FOS=2#\n",
+ "Sb=Peff*FOS#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "Zp=dp/m#\n",
+ "Zg=dg/m#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=Sb/(b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "BHN=333#\n",
+ "print \"BHN is %0.0f \"%(BHN)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "BHN is 333 \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-5 - Page 671"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "alpha=20*pi/180#\n",
+ "N=800#\n",
+ "P=6000#\n",
+ "sigut=450#\n",
+ "i=5#\n",
+ "Cs=1.3#\n",
+ "v=3.6#\n",
+ "FOS=2#\n",
+ "Pt=P/v#\n",
+ "Cv=3/(3+v)#\n",
+ "sigb=sigut/3#\n",
+ "dp=3.6*1000*2*60/(2*pi*N)#\n",
+ "dp=86#\n",
+ "Sb=Pt*Cs/Cv*FOS#\n",
+ "#Let x be m**2*Y\n",
+ "x=Sb/(10*sigb)#\n",
+ "m=5#\n",
+ "Zp=18#\n",
+ "dp=m*Zp#\n",
+ "Zg=i*Zp#\n",
+ "dg=m*Zg#\n",
+ "b=10*m#\n",
+ "phip=m+(0.25*sqrt(dp))#\n",
+ "ep=32+(2.5*phip)#\n",
+ "phig=m+(0.25*sqrt(dg))#\n",
+ "eg=32+(2.5*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "Ps=Cs*Pt#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "Pd=e*N*Zp*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=Sb/(b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "print \"Ps is %0.2f N \"%(Ps)#\n",
+ "print \"\\nPd is %0.1f N \"%(Pd)#\n",
+ "print \"\\nBHN is %0.0f \"%(BHN)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ps is 2166.67 N \n",
+ "\n",
+ "Pd is 1358.6 N \n",
+ "\n",
+ "BHN is 282 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 25-4 - Page 672"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=9000#\n",
+ "N=900#\n",
+ "n=150#\n",
+ "sigut=750#\n",
+ "BHN=300#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "i=N/n#\n",
+ "x=sqrt(i)#\n",
+ "Zp=18#\n",
+ "Zg=x*Zp#\n",
+ "Zg=44#\n",
+ "#Let actual speed reduction be xa\n",
+ "xa=Zg/Zp#\n",
+ "n1=N/xa**2#\n",
+ "T1=P*60/(2*pi*N)#\n",
+ "i2=N/xa#\n",
+ "T2=N/i2*T1#\n",
+ "m=6#\n",
+ "dp=Zp*m#\n",
+ "dg=m*Zg#\n",
+ "phip=m+(0.25*sqrt(dp))#\n",
+ "ep=16+(1.25*phip)#\n",
+ "phig=m+(0.25*sqrt(dg))#\n",
+ "eg=16+(1.25*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "Pt=26000#\n",
+ "Ps=Cs*Pt#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "b=10*m#\n",
+ "Pd=e*i2*Zp*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "sigb=sigut/3#\n",
+ "Y=0.308#\n",
+ "\n",
+ "Sb=b*m*sigb*Y#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*K*Q#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nPd is %0.3f N \"%(Pd)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw)#\n",
+ " \n",
+ " #The difference in the values is due to rounding-off of the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "m is 6 mm \n",
+ "\n",
+ "Pd is 434.590 N \n",
+ "\n",
+ "Sw is 13244 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25_1.ipynb
new file mode 100755
index 00000000..f713233b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch25_1.ipynb
@@ -0,0 +1,387 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:25 Gears"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-1 - Page 669"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "dp is 125 mm \n",
+ "\n",
+ "dg is 300 mm \n",
+ "\n",
+ "CD is 212.5 mm \n",
+ "\n",
+ "ha is 5 mm \n",
+ "\n",
+ "hf is 6.25 mm \n",
+ "\n",
+ "c is 1.25 mm \n",
+ "\n",
+ "r is 2 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Zp=25#\n",
+ "Zg=60#\n",
+ "m=5#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "CD=(dp+dg)/2#\n",
+ "ha=m#\n",
+ "hf=1.25*m#\n",
+ "c=hf-ha#\n",
+ "r=0.4*m#\n",
+ "print \"dp is %0.0f mm \"%(dp)#\n",
+ "print \"\\ndg is %0.0f mm \"%(dg)#\n",
+ "print \"\\nCD is %0.1f mm \"%(CD)#\n",
+ "print \"\\nha is %0.0f mm \"%(ha)#\n",
+ "print \"\\nhf is %0.2f mm \"%(hf)#\n",
+ "print \"\\nc is %0.2f mm \"%(c)#\n",
+ "print \"\\nr is %0.0f mm \"%(r)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-2 - Page 669"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "dp is 77 mm \n",
+ "\n",
+ "dg is 309 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "from sympy import symbols, solve\n",
+ "N=800#\n",
+ "P=6000#\n",
+ "n=200#\n",
+ "Cs=1.4#\n",
+ "sigb=150#\n",
+ "FOS=2#\n",
+ "Zp=18#\n",
+ "Zg=Zp*N/n#\n",
+ "Y=pi*(0.154-(0.912/Zp))#\n",
+ "p=[1 ,0 ,-9.5846, -38.135]#\n",
+ "P = symbols('P')\n",
+ "expr = P**3*p[0]+P**2*p[1]+P*p[2]+p[3]\n",
+ "m=solve(expr, P)[0]#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"dp is %0.0f mm \"%(dp)#\n",
+ "print \"\\ndg is %0.0f mm \"%(dg)#\n",
+ "# Answer is given wrong in the textbook"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-3 - Page 670"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sb is 16110 N \n",
+ "\n",
+ "Sw is 25200 N \n",
+ "\n",
+ "P is 11.657 kW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "Zp=30#\n",
+ "N=1000#\n",
+ "Zg=75#\n",
+ "m=5#\n",
+ "b=60#\n",
+ "sigut=450#\n",
+ "BHN=350#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "dp=m*Zp#\n",
+ "dg=m*Zg#\n",
+ "v=2*pi*N*dp/(60*1000*2)#\n",
+ "Cv=3/(3+v)#\n",
+ "sigb=450/3#\n",
+ "Y=0.358#\n",
+ "Sb=m*b*sigb*Y#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*Q*K#\n",
+ "Pt=Sb*Cv/(Cs*FOS)#\n",
+ "P=Pt*v#\n",
+ "P=P*10**-3#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw)#\n",
+ "print \"\\nP is %0.3f kW \"%(P)#\n",
+ "\n",
+ "#The difference in the value of Sw is due to rounding-off of the value of Q."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-4 - Page 670"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "BHN is 333 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "n=240#\n",
+ "P=8000#\n",
+ "N=1200#\n",
+ "CD=300#\n",
+ "Cs=1.5#\n",
+ "alpha=20*pi/180#\n",
+ "G=N/n#\n",
+ "dp=CD*2/6#\n",
+ "dg=5*dp#\n",
+ "v=2*pi*N*dp/(60*1000*2)#\n",
+ "Cv=3/(3+v)#\n",
+ "Pt=P/v#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "m=4#\n",
+ "b=10*m#\n",
+ "FOS=2#\n",
+ "Sb=Peff*FOS#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "Zp=dp/m#\n",
+ "Zg=dg/m#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=Sb/(b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "BHN=333#\n",
+ "print \"BHN is %0.0f \"%(BHN)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-5 - Page 671"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ps is 2166.67 N \n",
+ "\n",
+ "Pd is 1358.6 N \n",
+ "\n",
+ "BHN is 282 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "alpha=20*pi/180#\n",
+ "N=800#\n",
+ "P=6000#\n",
+ "sigut=450#\n",
+ "i=5#\n",
+ "Cs=1.3#\n",
+ "v=3.6#\n",
+ "FOS=2#\n",
+ "Pt=P/v#\n",
+ "Cv=3/(3+v)#\n",
+ "sigb=sigut/3#\n",
+ "dp=3.6*1000*2*60/(2*pi*N)#\n",
+ "dp=86#\n",
+ "Sb=Pt*Cs/Cv*FOS#\n",
+ "#Let x be m**2*Y\n",
+ "x=Sb/(10*sigb)#\n",
+ "m=5#\n",
+ "Zp=18#\n",
+ "dp=m*Zp#\n",
+ "Zg=i*Zp#\n",
+ "dg=m*Zg#\n",
+ "b=10*m#\n",
+ "phip=m+(0.25*sqrt(dp))#\n",
+ "ep=32+(2.5*phip)#\n",
+ "phig=m+(0.25*sqrt(dg))#\n",
+ "eg=32+(2.5*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "Ps=Cs*Pt#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "Pd=e*N*Zp*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=Sb/(b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "print \"Ps is %0.2f N \"%(Ps)#\n",
+ "print \"\\nPd is %0.1f N \"%(Pd)#\n",
+ "print \"\\nBHN is %0.0f \"%(BHN)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 25-4 - Page 672"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 6 mm \n",
+ "\n",
+ "Pd is 434.590 N \n",
+ "\n",
+ "Sw is 13244 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=9000#\n",
+ "N=900#\n",
+ "n=150#\n",
+ "sigut=750#\n",
+ "BHN=300#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "i=N/n#\n",
+ "x=sqrt(i)#\n",
+ "Zp=18#\n",
+ "Zg=x*Zp#\n",
+ "Zg=44#\n",
+ "#Let actual speed reduction be xa\n",
+ "xa=Zg/Zp#\n",
+ "n1=N/xa**2#\n",
+ "T1=P*60/(2*pi*N)#\n",
+ "i2=N/xa#\n",
+ "T2=N/i2*T1#\n",
+ "m=6#\n",
+ "dp=Zp*m#\n",
+ "dg=m*Zg#\n",
+ "phip=m+(0.25*sqrt(dp))#\n",
+ "ep=16+(1.25*phip)#\n",
+ "phig=m+(0.25*sqrt(dg))#\n",
+ "eg=16+(1.25*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "Pt=26000#\n",
+ "Ps=Cs*Pt#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "b=10*m#\n",
+ "Pd=e*i2*Zp*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "sigb=sigut/3#\n",
+ "Y=0.308#\n",
+ "\n",
+ "Sb=b*m*sigb*Y#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*K*Q#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nPd is %0.3f N \"%(Pd)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw) \n",
+ "#The difference in the values is due to rounding-off of the values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26.ipynb
new file mode 100755
index 00000000..ccdf600d
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26.ipynb
@@ -0,0 +1,265 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:01c1cdfe5f44c7b9518d8e4611bcc7b558fa40f7241f67c334ff272a81b92cfe"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:26 Helical gears"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 26-1 - Page 698"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, sin, cos, tan, atan\n",
+ "Zp=20#\n",
+ "Zg=50#\n",
+ "alphan=20*pi/180#\n",
+ "phi=15*pi/180#\n",
+ "mn=4#\n",
+ "m=mn/cos(phi)#\n",
+ "alpha=180/pi*atan(tan(alphan)/(cos(phi)))#\n",
+ "dp=Zp*m#\n",
+ "dg=Zg*m#\n",
+ "ha=4#\n",
+ "hd=1.25*mn#\n",
+ "#Let addendum circle dia of pinion be Pa\n",
+ "Pa=dp+(2*mn)#\n",
+ "#Let dedendum circle dia of pinion be Pd\n",
+ "Pd=dp-(2.5*mn)#\n",
+ "#Let addendum circle dia of gear be Ga\n",
+ "Ga=dg+(2*mn)#\n",
+ "#Let dedendum circle dia of gear be Gd\n",
+ "Gd=dg-(2.5*mn)#\n",
+ "b=pi*mn/sin(phi)#\n",
+ "print \"m is %0.2f mm \"%(m)#\n",
+ "print \"\\nalpha is %0.3f deg \"%(alpha)#\n",
+ "print \"\\nPa is %0.1f mm \"%(Pa)#\n",
+ "print \"\\nPd is %0.1f mm \"%(Pd)#\n",
+ "print \"\\nGa is %0.0f mm \"%(Ga)#\n",
+ "print \"\\nGd is %0.0f mm \"%(Gd)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "m is 4.14 mm \n",
+ "\n",
+ "alpha is 20.647 deg \n",
+ "\n",
+ "Pa is 90.8 mm \n",
+ "\n",
+ "Pd is 72.8 mm \n",
+ "\n",
+ "Ga is 215 mm \n",
+ "\n",
+ "Gd is 197 mm \n",
+ "\n",
+ "b is 48.55 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 26-2 - Page 698"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=5000#\n",
+ "Zp=25#\n",
+ "Zg=50#\n",
+ "mn=4#\n",
+ "alphan=20*pi/180#\n",
+ "phi=20*pi/180#\n",
+ "N=1200#\n",
+ "m=mn/cos(phi)#\n",
+ "dp=Zp*m#\n",
+ "dg=Zg*m#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "Pt=P/v#\n",
+ "Pa=Pt*tan(phi)#\n",
+ "Pr=Pt*tan(alphan)/cos(phi)#\n",
+ "print \"Pt is %0.2f N \"%(Pt)#\n",
+ "print \"\\nPa is %0.1f N \"%(Pa)#\n",
+ "print \"\\nPr is %0.2f N \"%(Pr)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Pt is 747.78 N \n",
+ "\n",
+ "Pa is 272.2 N \n",
+ "\n",
+ "Pr is 289.64 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 26-3 - Page 699"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=24#\n",
+ "Zg=72#\n",
+ "alphan=20*pi/180#\n",
+ "phi=24*pi/180#\n",
+ "N=720#\n",
+ "mn=5#\n",
+ "b=50#\n",
+ "sigut=600#\n",
+ "BHN=360#\n",
+ "Cs=1.4#\n",
+ "FOS=2#\n",
+ "sigb=sigut/3#\n",
+ "dp=mn*Zp/cos(phi)#\n",
+ "Zp=Zp/(cos(phi))**3#\n",
+ "Zg=Zg/(cos(phi))**3#\n",
+ "Y=0.358+((0.364-0.358)*1.48/2)#\n",
+ "Sb=b*mn*sigb*Y#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*Q*K/(cos(phi)**2)#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Peff=Sb/FOS#\n",
+ "Pt=Peff*Cv/Cs#\n",
+ "P=Pt*v#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f kW \"%(P)#\n",
+ "#The difference in the value is due to rounding-off of the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 22.936 kW \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 26-4 - Page 700"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=25#\n",
+ "Zg=100#\n",
+ "P=5000#\n",
+ "N=2000#\n",
+ "alphan=20*pi/180#\n",
+ "phi=15*pi/180#\n",
+ "sigut=660#\n",
+ "Cs=1.5#\n",
+ "FOS=1.8#\n",
+ "v=10#\n",
+ "Zp1=Zp/(cos(phi))**3#\n",
+ "Zg1=Zg/(cos(phi))**3#\n",
+ "Y=0.348+(0.74*0.004)#\n",
+ "sigb=sigut/3#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "#Sb=FOS*Peff\n",
+ "mn=FOS*P*Cs*60*1000*2*cos(phi)/(2*pi*N*Cv*Zp*12*sigb*Y)#\n",
+ "mn=mn**(1/3)#\n",
+ "mn=2.5#\n",
+ "dp=mn*Zp/cos(phi)#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "b=12*mn#\n",
+ "Sb=12*sigb*Y#\n",
+ "K=Sb*(cos(phi)**2)/(dp*Q*b)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "dg=mn*Zg/cos(phi)#\n",
+ "phip=mn+(0.25*sqrt(dp))#\n",
+ "ep=16+(1.25*phip)#\n",
+ "phig=mn+(0.25*sqrt(dg))#\n",
+ "eg=16+(1.25*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "Pd=e*N*Zp1*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "#Let tangential component be TC\n",
+ "TC=(Cs*1845/mn)+(Pd*cos(alphan)*cos(phi))#\n",
+ "\n",
+ "Sb=b*mn*sigb*Y#\n",
+ "print \"mn is %0.1f mm \"%(mn)#\n",
+ "print \"\\nTC is %0.0f N \"%(TC)#\n",
+ "print \"\\nSb is %0.1f N \"%(Sb)#\n",
+ "#The difference in the value of Sb is due to rounding-off of t"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "mn is 2.5 mm \n",
+ "\n",
+ "TC is 1965 N \n",
+ "\n",
+ "Sb is 5790.8 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26_1.ipynb
new file mode 100755
index 00000000..c9bde487
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch26_1.ipynb
@@ -0,0 +1,273 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:26 Helical gears"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 26-1 - Page 698"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 4.14 mm \n",
+ "\n",
+ "alpha is 20.647 deg \n",
+ "\n",
+ "Pa is 90.8 mm \n",
+ "\n",
+ "Pd is 72.8 mm \n",
+ "\n",
+ "Ga is 215 mm \n",
+ "\n",
+ "Gd is 197 mm \n",
+ "\n",
+ "b is 48.55 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, sin, cos, tan, atan\n",
+ "Zp=20#\n",
+ "Zg=50#\n",
+ "alphan=20*pi/180#\n",
+ "phi=15*pi/180#\n",
+ "mn=4#\n",
+ "m=mn/cos(phi)#\n",
+ "alpha=180/pi*atan(tan(alphan)/(cos(phi)))#\n",
+ "dp=Zp*m#\n",
+ "dg=Zg*m#\n",
+ "ha=4#\n",
+ "hd=1.25*mn#\n",
+ "#Let addendum circle dia of pinion be Pa\n",
+ "Pa=dp+(2*mn)#\n",
+ "#Let dedendum circle dia of pinion be Pd\n",
+ "Pd=dp-(2.5*mn)#\n",
+ "#Let addendum circle dia of gear be Ga\n",
+ "Ga=dg+(2*mn)#\n",
+ "#Let dedendum circle dia of gear be Gd\n",
+ "Gd=dg-(2.5*mn)#\n",
+ "b=pi*mn/sin(phi)#\n",
+ "print \"m is %0.2f mm \"%(m)#\n",
+ "print \"\\nalpha is %0.3f deg \"%(alpha)#\n",
+ "print \"\\nPa is %0.1f mm \"%(Pa)#\n",
+ "print \"\\nPd is %0.1f mm \"%(Pd)#\n",
+ "print \"\\nGa is %0.0f mm \"%(Ga)#\n",
+ "print \"\\nGd is %0.0f mm \"%(Gd)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 26-2 - Page 698"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Pt is 747.78 N \n",
+ "\n",
+ "Pa is 272.2 N \n",
+ "\n",
+ "Pr is 289.64 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sin, cos, tan\n",
+ "P=5000#\n",
+ "Zp=25#\n",
+ "Zg=50#\n",
+ "mn=4#\n",
+ "alphan=20*pi/180#\n",
+ "phi=20*pi/180#\n",
+ "N=1200#\n",
+ "m=mn/cos(phi)#\n",
+ "dp=Zp*m#\n",
+ "dg=Zg*m#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "Pt=P/v#\n",
+ "Pa=Pt*tan(phi)#\n",
+ "Pr=Pt*tan(alphan)/cos(phi)#\n",
+ "print \"Pt is %0.2f N \"%(Pt)#\n",
+ "print \"\\nPa is %0.1f N \"%(Pa)#\n",
+ "print \"\\nPr is %0.2f N \"%(Pr)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 26-3 - Page 699"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 22.936 kW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, sin, cos, tan\n",
+ "Zp=24#\n",
+ "Zg=72#\n",
+ "alphan=20*pi/180#\n",
+ "phi=24*pi/180#\n",
+ "N=720#\n",
+ "mn=5#\n",
+ "b=50#\n",
+ "sigut=600#\n",
+ "BHN=360#\n",
+ "Cs=1.4#\n",
+ "FOS=2#\n",
+ "sigb=sigut/3#\n",
+ "dp=mn*Zp/cos(phi)#\n",
+ "Zp=Zp/(cos(phi))**3#\n",
+ "Zg=Zg/(cos(phi))**3#\n",
+ "Y=0.358+((0.364-0.358)*1.48/2)#\n",
+ "Sb=b*mn*sigb*Y#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=b*dp*Q*K/(cos(phi)**2)#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Peff=Sb/FOS#\n",
+ "Pt=Peff*Cv/Cs#\n",
+ "P=Pt*v#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.3f kW \"%(P)#\n",
+ "#The difference in the value is due to rounding-off of the values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 26-4 - Page 700"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "mn is 2.5 mm \n",
+ "\n",
+ "TC is 1965 N \n",
+ "\n",
+ "Sb is 5790.8 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, sin, cos, tan, atan\n",
+ "Zp=25#\n",
+ "Zg=100#\n",
+ "P=5000#\n",
+ "N=2000#\n",
+ "alphan=20*pi/180#\n",
+ "phi=15*pi/180#\n",
+ "sigut=660#\n",
+ "Cs=1.5#\n",
+ "FOS=1.8#\n",
+ "v=10#\n",
+ "Zp1=Zp/(cos(phi))**3#\n",
+ "Zg1=Zg/(cos(phi))**3#\n",
+ "Y=0.348+(0.74*0.004)#\n",
+ "sigb=sigut/3#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "#Sb=FOS*Peff\n",
+ "mn=FOS*P*Cs*60*1000*2*cos(phi)/(2*pi*N*Cv*Zp*12*sigb*Y)#\n",
+ "mn=mn**(1/3)#\n",
+ "mn=2.5#\n",
+ "dp=mn*Zp/cos(phi)#\n",
+ "Q=(2*Zg)/(Zp+Zg)#\n",
+ "b=12*mn#\n",
+ "Sb=12*sigb*Y#\n",
+ "K=Sb*(cos(phi)**2)/(dp*Q*b)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "dg=mn*Zg/cos(phi)#\n",
+ "phip=mn+(0.25*sqrt(dp))#\n",
+ "ep=16+(1.25*phip)#\n",
+ "phig=mn+(0.25*sqrt(dg))#\n",
+ "eg=16+(1.25*phig)#\n",
+ "e=ep+eg#\n",
+ "e=e*10**-3#\n",
+ "r1=dp/2#\n",
+ "r2=dg/2#\n",
+ "Pd=e*N*Zp1*b*r1*r2/(2530*sqrt(r1**2+r2**2))#\n",
+ "v=2*pi*N*dp/(60*2*1000)#\n",
+ "#Let tangential component be TC\n",
+ "TC=(Cs*1845/mn)+(Pd*cos(alphan)*cos(phi))#\n",
+ "\n",
+ "Sb=b*mn*sigb*Y#\n",
+ "print \"mn is %0.1f mm \"%(mn)#\n",
+ "print \"\\nTC is %0.0f N \"%(TC)#\n",
+ "print \"\\nSb is %0.1f N \"%(Sb)#\n",
+ "#The difference in the value of Sb is due to rounding-off of t"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27.ipynb
new file mode 100755
index 00000000..bb7c2f69
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27.ipynb
@@ -0,0 +1,461 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:93bf919486a82ec8604e11d18207bffbdc29a6c50aa4e9b5a65c5c915d6bd456"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:27 Straight bevel gears"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-1 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "from __future__ import division\n",
+ "P=8000#\n",
+ "N1=400#\n",
+ "N2=200#\n",
+ "i=N1/N2# #i=Zg/Zp=dg/dp\n",
+ "gamma1=atan(1/i)#\n",
+ "gamma2=90-gamma1#\n",
+ "rp=200#\n",
+ "R=rp/sin(gamma1)#\n",
+ "b=0.2*R#\n",
+ "rm1=rp-(b*sin(gamma1)/2)#\n",
+ "Pt=P*1000*60/(2*pi*N1*rm1)#\n",
+ "alpha=20*pi/180#\n",
+ "Ps=Pt*tan(alpha)#\n",
+ "Pr=Ps*cos(gamma1)#\n",
+ "Pa=Ps*sin(gamma1)#\n",
+ "print \"Pt is %0.0f N \"%(Pt)#\n",
+ "print \"\\nPs is %0.2f N \"%(Ps)#\n",
+ "print \"\\nPr is %0.2f N \"%(Pr)#\n",
+ "print \"\\nPa is %0.2f N \"%(Pa)#\n",
+ "\n",
+ "#The difference in the values is due to rounding-off of the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Pt is 1061 N \n",
+ "\n",
+ "Ps is 386.18 N \n",
+ "\n",
+ "Pr is 345.41 N \n",
+ "\n",
+ "Pa is 172.71 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-2 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "alpha=20*pi/180#\n",
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "sigut=600#\n",
+ "b=25#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "Zpv=Zp/cos(gamma1)#\n",
+ "Y=0.33+0.003*0.88#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*sigb*Y#\n",
+ "print \"Zpv is %0.2f \"%(Zpv)#\n",
+ "print \"\\nSb is %0.0f N \"%(Sb)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Zpv is 22.88 \n",
+ "\n",
+ "Sb is 6653 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-3 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import asin\n",
+ "m=6#\n",
+ "Zp=30#\n",
+ "Zg=45#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rg**2+rp**2)#\n",
+ "gamma1=180/pi*asin(rp/R)#\n",
+ "gamma2=(90-gamma1)#\n",
+ "ha=6#\n",
+ "hf=1.25*ha#\n",
+ "phi=180/pi*atan(ha/R)#\n",
+ "beta=180/pi*atan(hf/R)#\n",
+ "#let Face Cone Angle be FCA\n",
+ "FCA=(gamma1+phi)#\n",
+ "#Let Root cone angle be RCA\n",
+ "RCA=(gamma1-beta)#\n",
+ "print \"gamma1 is %0.1f deg \"%(gamma1)#\n",
+ "print \"\\ngamma2 is %0.1f deg \"%(gamma2)#\n",
+ "print \"\\nR is %0.2f mm \"%(R)#\n",
+ "print \"\\nFCA is %0.3f deg \"%(FCA)#\n",
+ "print \"\\nRCA is %0.2f deg \"%(RCA)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "gamma1 is 33.7 deg \n",
+ "\n",
+ "gamma2 is 56.3 deg \n",
+ "\n",
+ "R is 162.25 mm \n",
+ "\n",
+ "FCA is 35.808 deg \n",
+ "\n",
+ "RCA is 31.04 deg \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-4 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "alpha=20*pi/180#\n",
+ "Zp=25#\n",
+ "Zg=40#\n",
+ "m=5#\n",
+ "b=30#\n",
+ "BHN=400#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sw is %0.1f N \"%(Sw)#\n",
+ " \n",
+ " #The difference in the value of Sw is due to rounding-off of the value of Q."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sw is 12142.4 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-5 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "b=25#\n",
+ "BHN=360#\n",
+ "Np=750#\n",
+ "FOS=1.75#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(dp/dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "Y=0.33+0.003*0.86#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*Y*sigb*(1-(b/R))#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.1f N \"%(Sw)#\n",
+ "\n",
+ "#The answwer to Sb is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sb is 4633 N \n",
+ "\n",
+ "Sw is 5438.0 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-6 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Dp=300#\n",
+ "rp=150#\n",
+ "#Let the angular velocity ratio be i\n",
+ "i=2/3#\n",
+ "rg=rp/i#\n",
+ "Dg=2*rg#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "P=15000#\n",
+ "N=300#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "sigb=100#\n",
+ "gamma1=atan(Dp/Dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Pt=P/v#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "Sb=Peff*FOS#\n",
+ "b=R/4#\n",
+ "#let x=m*Y\n",
+ "x=Sb/(b*sigb*(1-(b/R)))#\n",
+ "m=6#\n",
+ "print \"m*Y is %0.3f mm**2 \"%(x)#\n",
+ "print \"\\nm is %0.0f mm \"%(m)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "m*Y is 2.613 mm**2 \n",
+ "\n",
+ "m is 6 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-7 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=24#\n",
+ "Zg=36#\n",
+ "N=1400#\n",
+ "P=11600#\n",
+ "Cs=1.4#\n",
+ "FOS=2#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "v=1.76#\n",
+ "Pt=P/v#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "x=Peff*FOS#\n",
+ "Y=0.352+(0.003*0.85)#\n",
+ "y=2*sigb*Y*(1-(6/21.63))#\n",
+ "m=sqrt(x/y)#\n",
+ "# Design is safe for m=4\n",
+ "m=4#\n",
+ "b=6*m#\n",
+ "dp=24*m#\n",
+ "rp=48#\n",
+ "dp=dp/cos(pi/180*gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Sb=y*m**2#\n",
+ "#Sw=Sb#\n",
+ "K=Sb/(0.75*b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nBHN is %0.0f \"%(BHN)#\n",
+ " \n",
+ " #The answwer to BHN is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "m is 4 mm \n",
+ "\n",
+ "BHN is 189 \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 27-8 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Zp=40#\n",
+ "Zg=60#\n",
+ "P=3500#\n",
+ "N=600#\n",
+ "Cs=1.5#\n",
+ "sigb=55#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "# Design is safe for m=6\n",
+ "m=6#\n",
+ "b=6*m#\n",
+ "dp=Zp*m#\n",
+ "rp=dp/2#\n",
+ "dg=Zg*m#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "m is 6 mm \n",
+ "\n",
+ "b is 36 mm \n",
+ "\n",
+ "R is 216 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27_1.ipynb
new file mode 100755
index 00000000..adcb8623
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch27_1.ipynb
@@ -0,0 +1,468 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:27 Straight bevel gears"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-1 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Pt is 1061 N \n",
+ "\n",
+ "Ps is 386.18 N \n",
+ "\n",
+ "Pr is 345.41 N \n",
+ "\n",
+ "Pa is 172.71 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "from __future__ import division\n",
+ "P=8000#\n",
+ "N1=400#\n",
+ "N2=200#\n",
+ "i=N1/N2# #i=Zg/Zp=dg/dp\n",
+ "gamma1=atan(1/i)#\n",
+ "gamma2=90-gamma1#\n",
+ "rp=200#\n",
+ "R=rp/sin(gamma1)#\n",
+ "b=0.2*R#\n",
+ "rm1=rp-(b*sin(gamma1)/2)#\n",
+ "Pt=P*1000*60/(2*pi*N1*rm1)#\n",
+ "alpha=20*pi/180#\n",
+ "Ps=Pt*tan(alpha)#\n",
+ "Pr=Ps*cos(gamma1)#\n",
+ "Pa=Ps*sin(gamma1)#\n",
+ "print \"Pt is %0.0f N \"%(Pt)#\n",
+ "print \"\\nPs is %0.2f N \"%(Ps)#\n",
+ "print \"\\nPr is %0.2f N \"%(Pr)#\n",
+ "print \"\\nPa is %0.2f N \"%(Pa)#\n",
+ "\n",
+ "#The difference in the values is due to rounding-off of the values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-2 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Zpv is 22.88 \n",
+ "\n",
+ "Sb is 6653 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "alpha=20*pi/180#\n",
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "sigut=600#\n",
+ "b=25#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "Zpv=Zp/cos(gamma1)#\n",
+ "Y=0.33+0.003*0.88#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*sigb*Y#\n",
+ "print \"Zpv is %0.2f \"%(Zpv)#\n",
+ "print \"\\nSb is %0.0f N \"%(Sb)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-3 - Page 712"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "gamma1 is 33.7 deg \n",
+ "\n",
+ "gamma2 is 56.3 deg \n",
+ "\n",
+ "R is 162.25 mm \n",
+ "\n",
+ "FCA is 35.808 deg \n",
+ "\n",
+ "RCA is 31.04 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos,asin\n",
+ "m=6#\n",
+ "Zp=30#\n",
+ "Zg=45#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rg**2+rp**2)#\n",
+ "gamma1=180/pi*asin(rp/R)#\n",
+ "gamma2=(90-gamma1)#\n",
+ "ha=6#\n",
+ "hf=1.25*ha#\n",
+ "phi=180/pi*atan(ha/R)#\n",
+ "beta=180/pi*atan(hf/R)#\n",
+ "#let Face Cone Angle be FCA\n",
+ "FCA=(gamma1+phi)#\n",
+ "#Let Root cone angle be RCA\n",
+ "RCA=(gamma1-beta)#\n",
+ "print \"gamma1 is %0.1f deg \"%(gamma1)#\n",
+ "print \"\\ngamma2 is %0.1f deg \"%(gamma2)#\n",
+ "print \"\\nR is %0.2f mm \"%(R)#\n",
+ "print \"\\nFCA is %0.3f deg \"%(FCA)#\n",
+ "print \"\\nRCA is %0.2f deg \"%(RCA)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-4 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sw is 12142.4 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "alpha=20*pi/180#\n",
+ "Zp=25#\n",
+ "Zg=40#\n",
+ "m=5#\n",
+ "b=30#\n",
+ "BHN=400#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(rp/rg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sw is %0.1f N \"%(Sw)#\n",
+ " \n",
+ " #The difference in the value of Sw is due to rounding-off of the value of Q."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-5 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sb is 4633 N \n",
+ "\n",
+ "Sw is 5438.0 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=20#\n",
+ "Zg=36#\n",
+ "m=4#\n",
+ "b=25#\n",
+ "BHN=360#\n",
+ "Np=750#\n",
+ "FOS=1.75#\n",
+ "dp=m*Zp#\n",
+ "rp=dp/2#\n",
+ "dg=m*Zg#\n",
+ "rg=dg/2#\n",
+ "gamma1=atan(dp/dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "K=0.16*(BHN/100)**2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "Y=0.33+0.003*0.86#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "Sb=m*b*Y*sigb*(1-(b/R))#\n",
+ "Sw=0.75*b*dp*Q*K/cos(pi/180*gamma1)#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.1f N \"%(Sw)#\n",
+ "\n",
+ "#The answwer to Sb is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-6 - Page 713"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m*Y is 2.613 mm**2 \n",
+ "\n",
+ "m is 6 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Dp=300#\n",
+ "rp=150#\n",
+ "#Let the angular velocity ratio be i\n",
+ "i=2/3#\n",
+ "rg=rp/i#\n",
+ "Dg=2*rg#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "P=15000#\n",
+ "N=300#\n",
+ "Cs=1.5#\n",
+ "FOS=2#\n",
+ "sigb=100#\n",
+ "gamma1=atan(Dp/Dg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Pt=P/v#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "Sb=Peff*FOS#\n",
+ "b=R/4#\n",
+ "#let x=m*Y\n",
+ "x=Sb/(b*sigb*(1-(b/R)))#\n",
+ "m=6#\n",
+ "print \"m*Y is %0.3f mm**2 \"%(x)#\n",
+ "print \"\\nm is %0.0f mm \"%(m)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-7 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 4 mm \n",
+ "\n",
+ "BHN is 189 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=24#\n",
+ "Zg=36#\n",
+ "N=1400#\n",
+ "P=11600#\n",
+ "Cs=1.4#\n",
+ "FOS=2#\n",
+ "sigut=600#\n",
+ "sigb=sigut/3#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "v=1.76#\n",
+ "Pt=P/v#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Peff=Pt*Cs/Cv#\n",
+ "x=Peff*FOS#\n",
+ "Y=0.352+(0.003*0.85)#\n",
+ "y=2*sigb*Y*(1-(6/21.63))#\n",
+ "m=sqrt(x/y)#\n",
+ "# Design is safe for m=4\n",
+ "m=4#\n",
+ "b=6*m#\n",
+ "dp=24*m#\n",
+ "rp=48#\n",
+ "dp=dp/cos(pi/180*gamma1)#\n",
+ "v=2*pi*N*rp/(60*1000)#\n",
+ "Cv=5.6/(5.6+sqrt(v))#\n",
+ "Sb=y*m**2#\n",
+ "#Sw=Sb#\n",
+ "K=Sb/(0.75*b*dp*Q)#\n",
+ "BHN=sqrt(K/0.16)*100#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nBHN is %0.0f \"%(BHN)#\n",
+ " \n",
+ "#The answwer to BHN is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 27-8 - Page 714"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "m is 6 mm \n",
+ "\n",
+ "b is 36 mm \n",
+ "\n",
+ "R is 216 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, atan, sin, tan, cos\n",
+ "Zp=40#\n",
+ "Zg=60#\n",
+ "P=3500#\n",
+ "N=600#\n",
+ "Cs=1.5#\n",
+ "sigb=55#\n",
+ "gamma1=atan(Zp/Zg)#\n",
+ "gamma1=180/pi*gamma1#\n",
+ "gamma2=(90-gamma1)#\n",
+ "a=cos(pi/180*gamma2)#\n",
+ "Zp1=Zp/cos(pi/180*gamma1)#\n",
+ "Zg1=Zg/a#\n",
+ "Q=(2*Zg1)/(Zp1+Zg1)#\n",
+ "# Design is safe for m=6\n",
+ "m=6#\n",
+ "b=6*m#\n",
+ "dp=Zp*m#\n",
+ "rp=dp/2#\n",
+ "dg=Zg*m#\n",
+ "rg=dg/2#\n",
+ "R=sqrt(rp**2+rg**2)#\n",
+ "print \"m is %0.0f mm \"%(m)#\n",
+ "print \"\\nb is %0.0f mm \"%(b)#\n",
+ "print \"\\nR is %0.0f mm \"%(R)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28.ipynb
new file mode 100755
index 00000000..ec28770b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28.ipynb
@@ -0,0 +1,343 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4d8f50c55aa5f869a3b91c9992fbc1206b0fe54a3763477766a504a0fd20f355"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:28 Worm and worm wheel set"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-1 - Page 726"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Z1=1#\n",
+ "Z2=30#\n",
+ "q=10#\n",
+ "m=5#\n",
+ "d=q*m#\n",
+ "D=m*Z2#\n",
+ "#let the speed reduction ratio be G\n",
+ "G=Z2/Z1#\n",
+ "CD=(d+D)/2#\n",
+ "print \"G is %0.0f \"%(G)#\n",
+ "print \"\\nCD is %0.0f mm \"%(CD)#\n",
+ "print \"\\nd is %0.0f mm \"%(d)#\n",
+ "print \"\\nD is %0.0f mm \"%(D)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "G is 30 \n",
+ "\n",
+ "CD is 100 mm \n",
+ "\n",
+ "d is 50 mm \n",
+ "\n",
+ "D is 150 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-2 - Page 726"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import tan, atan, cos\n",
+ "Z1=1#\n",
+ "Z2=52#\n",
+ "q=10#\n",
+ "m=8#\n",
+ "i=Z2/Z1#\n",
+ "CD=((m*q)+(m*Z2))/2#\n",
+ "lamda=atan(Z1/q)#\n",
+ "d=q*m#\n",
+ "da=m*(q+2)#\n",
+ "df=m*(q+2-(4.4*cos(lamda)))#\n",
+ "pa=m*pi#\n",
+ "D=m*Z2#\n",
+ "Da=m*(Z2+(4*cos(lamda))-2)#\n",
+ "Df=m*(Z2-2-(0.4*cos(lamda)))#\n",
+ "print \"i is %0.0f \"%(i)#\n",
+ "print \"\\nCD is %0.0f mm \"%(CD)#\n",
+ "print \"\\npa is %0.2f mm \"%(pa)#\n",
+ "print \"\\nda is %0.0f mm \"%(da)#\n",
+ "print \"\\ndf is %0.3f mm \"%(df)#\n",
+ "print \"\\nDa is %0.3f mm \"%(Da)#\n",
+ "print \"\\nDf is %0.3f mm \"%(Df)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "i is 52 \n",
+ "\n",
+ "CD is 248 mm \n",
+ "\n",
+ "pa is 25.13 mm \n",
+ "\n",
+ "da is 96 mm \n",
+ "\n",
+ "df is 60.975 mm \n",
+ "\n",
+ "Da is 431.841 mm \n",
+ "\n",
+ "Df is 396.816 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-3 - Page 727"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sin\n",
+ "Z1=2#\n",
+ "Z2=60#\n",
+ "q=10#\n",
+ "m=5#\n",
+ "P=6000#\n",
+ "N=1440#\n",
+ "u=0.08#\n",
+ "alpha=20*pi/180#\n",
+ "lamda=atan(Z1/q)#\n",
+ "d=m*q#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Ptw=T*10**3/(d/2)#\n",
+ "a=cos(alpha)#\n",
+ "b=cos(lamda)#\n",
+ "x=sin(alpha)#\n",
+ "y=sin(lamda)#\n",
+ "Paw=Ptw*(((a*b)-(u*y))/((a*y)+(u*b)))#\n",
+ "Prw=Ptw*y/((a*y)+(u*b))#\n",
+ "#Paw=Ptw*((cos(alpha)*cos(lambda))-(u*sin(lambda)))/((cos(alpha)*sin(lambda))+(u*cos(lambda)))#\n",
+ "#Prw=Ptw*((sin(alpha))/((cos(alpha)*sin(lambda))+(u*cos(lambda))))#\n",
+ "print \"Ptw=Pag is %0.1f N \"%(Ptw)#\n",
+ "print \"\\nPaw=Ptg is %0.0f N \"%(Paw)#\n",
+ "print \"\\nPrw=Prg is %0.0f N \"%(Prw)#\n",
+ " \n",
+ "#The difference in the value is due to rounding-off the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ptw=Pag is 1591.5 N \n",
+ "\n",
+ "Paw=Ptg is 5487 N \n",
+ "\n",
+ "Prw=Prg is 1188 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-4 - Page 728"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Z1=2#\n",
+ "Z2=40#\n",
+ "q=8#\n",
+ "m=5#\n",
+ "d=q*m#\n",
+ "P=1.2#\n",
+ "lamda=atan(Z1/q)#\n",
+ "N=1000#\n",
+ "Vt=2*pi*N*20/(60*1000)#\n",
+ "Vs=Vt/cos(lamda)#\n",
+ "u=0.032#\n",
+ "alpha=20*pi/180#\n",
+ "x=cos(alpha)#\n",
+ "y=tan(lamda)#\n",
+ "z=(cos(lamda))/sin(lamda)#\n",
+ "n=(x-(u*y))/(x+(u*z))#\n",
+ "#Let power output be Po\n",
+ "Po=P*n#\n",
+ "#Let power lost in friction be Pf\n",
+ "Pf=P-Po#\n",
+ "print \"P is %0.1f kW \"%(P)#\n",
+ "print \"\\nPo is %0.3f kW \"%(Po)#\n",
+ "print \"\\nPf is %0.3f kW \"%(Pf)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 1.2 kW \n",
+ "\n",
+ "Po is 1.047 kW \n",
+ "\n",
+ "Pf is 0.153 kW \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-5 - Page 729"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Z1=2#\n",
+ "Z2=54#\n",
+ "q=10#\n",
+ "m=8#\n",
+ "P=4000#\n",
+ "A=1.8#\n",
+ "K=16#\n",
+ "N=1000#\n",
+ "u=0.028#\n",
+ "lamda=atan(Z1/q)#\n",
+ "alpha=20*pi/180#\n",
+ "d=m*q#\n",
+ "Vt=2*pi*N*d/(2*60*1000)#\n",
+ "Vs=Vt/cos(lamda)#\n",
+ "x=cos(alpha)#\n",
+ "y=tan(lamda)#\n",
+ "z=(cos(lamda))/sin(lamda)#\n",
+ "n=(x-(u*y))/(x+(u*z))#\n",
+ "delT=P*(1-n)/(K*A)#\n",
+ "print \"n is %0.3f \"%(n)#\n",
+ "print \"\\ndelT is %0.2f deg \"%(delT)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "n is 0.865 \n",
+ "\n",
+ "delT is 18.73 deg \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 28-6 - Page 729"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Z1=1#\n",
+ "Z2=30#\n",
+ "q=10#\n",
+ "m=6#\n",
+ "#Let the ultimate strength of gear is sigut\n",
+ "#Let the allowable strenth of wheel is sigb\n",
+ "sigut=450#\n",
+ "sigb=84#\n",
+ "N=1200#\n",
+ "n=N/Z2#\n",
+ "alpha=20*pi/180#\n",
+ "d=m*q#\n",
+ "D=Z2*m#\n",
+ "b=3*d/4#\n",
+ "V=2*pi*n*D/(2*60*1000)#\n",
+ "Cv=6/(6+V)#\n",
+ "y=0.154-(0.912/Z2)#\n",
+ "Y=pi*y#\n",
+ "Sb=sigb*b*Cv*m*Y#\n",
+ "K=0.415#\n",
+ "Sw=b*D*K#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw)#\n",
+ "\n",
+ "#The difference in the value of Sb is due to rounding-off the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Sb is 8286 N \n",
+ "\n",
+ "Sw is 3362 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28_1.ipynb
new file mode 100755
index 00000000..9f1fda0b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch28_1.ipynb
@@ -0,0 +1,350 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:28 Worm and worm wheel set"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-1 - Page 726"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "G is 30 \n",
+ "\n",
+ "CD is 100 mm \n",
+ "\n",
+ "d is 50 mm \n",
+ "\n",
+ "D is 150 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Z1=1#\n",
+ "Z2=30#\n",
+ "q=10#\n",
+ "m=5#\n",
+ "d=q*m#\n",
+ "D=m*Z2#\n",
+ "#let the speed reduction ratio be G\n",
+ "G=Z2/Z1#\n",
+ "CD=(d+D)/2#\n",
+ "print \"G is %0.0f \"%(G)#\n",
+ "print \"\\nCD is %0.0f mm \"%(CD)#\n",
+ "print \"\\nd is %0.0f mm \"%(d)#\n",
+ "print \"\\nD is %0.0f mm \"%(D)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-2 - Page 726"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "i is 52 \n",
+ "\n",
+ "CD is 248 mm \n",
+ "\n",
+ "pa is 25.13 mm \n",
+ "\n",
+ "da is 96 mm \n",
+ "\n",
+ "df is 60.975 mm \n",
+ "\n",
+ "Da is 431.841 mm \n",
+ "\n",
+ "Df is 396.816 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan, atan, cos,pi\n",
+ "Z1=1#\n",
+ "Z2=52#\n",
+ "q=10#\n",
+ "m=8#\n",
+ "i=Z2/Z1#\n",
+ "CD=((m*q)+(m*Z2))/2#\n",
+ "lamda=atan(Z1/q)#\n",
+ "d=q*m#\n",
+ "da=m*(q+2)#\n",
+ "df=m*(q+2-(4.4*cos(lamda)))#\n",
+ "pa=m*pi#\n",
+ "D=m*Z2#\n",
+ "Da=m*(Z2+(4*cos(lamda))-2)#\n",
+ "Df=m*(Z2-2-(0.4*cos(lamda)))#\n",
+ "print \"i is %0.0f \"%(i)#\n",
+ "print \"\\nCD is %0.0f mm \"%(CD)#\n",
+ "print \"\\npa is %0.2f mm \"%(pa)#\n",
+ "print \"\\nda is %0.0f mm \"%(da)#\n",
+ "print \"\\ndf is %0.3f mm \"%(df)#\n",
+ "print \"\\nDa is %0.3f mm \"%(Da)#\n",
+ "print \"\\nDf is %0.3f mm \"%(Df)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-3 - Page 727"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ptw=Pag is 1591.5 N \n",
+ "\n",
+ "Paw=Ptg is 5487 N \n",
+ "\n",
+ "Prw=Prg is 1188 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi,sin,cos,atan\n",
+ "Z1=2#\n",
+ "Z2=60#\n",
+ "q=10#\n",
+ "m=5#\n",
+ "P=6000#\n",
+ "N=1440#\n",
+ "u=0.08#\n",
+ "alpha=20*pi/180#\n",
+ "lamda=atan(Z1/q)#\n",
+ "d=m*q#\n",
+ "w=2*pi*N/60#\n",
+ "T=P/w#\n",
+ "Ptw=T*10**3/(d/2)#\n",
+ "a=cos(alpha)#\n",
+ "b=cos(lamda)#\n",
+ "x=sin(alpha)#\n",
+ "y=sin(lamda)#\n",
+ "Paw=Ptw*(((a*b)-(u*y))/((a*y)+(u*b)))#\n",
+ "Prw=Ptw*y/((a*y)+(u*b))#\n",
+ "#Paw=Ptw*((cos(alpha)*cos(lambda))-(u*sin(lambda)))/((cos(alpha)*sin(lambda))+(u*cos(lambda)))#\n",
+ "#Prw=Ptw*((sin(alpha))/((cos(alpha)*sin(lambda))+(u*cos(lambda))))#\n",
+ "print \"Ptw=Pag is %0.1f N \"%(Ptw)#\n",
+ "print \"\\nPaw=Ptg is %0.0f N \"%(Paw)#\n",
+ "print \"\\nPrw=Prg is %0.0f N \"%(Prw)#\n",
+ " \n",
+ "#The difference in the value is due to rounding-off the values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-4 - Page 728"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 1.2 kW \n",
+ "\n",
+ "Po is 1.047 kW \n",
+ "\n",
+ "Pf is 0.153 kW \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, cos,atan,tan,sin\n",
+ "Z1=2#\n",
+ "Z2=40#\n",
+ "q=8#\n",
+ "m=5#\n",
+ "d=q*m#\n",
+ "P=1.2#\n",
+ "lamda=atan(Z1/q)#\n",
+ "N=1000#\n",
+ "Vt=2*pi*N*20/(60*1000)#\n",
+ "Vs=Vt/cos(lamda)#\n",
+ "u=0.032#\n",
+ "alpha=20*pi/180#\n",
+ "x=cos(alpha)#\n",
+ "y=tan(lamda)#\n",
+ "z=(cos(lamda))/sin(lamda)#\n",
+ "n=(x-(u*y))/(x+(u*z))#\n",
+ "#Let power output be Po\n",
+ "Po=P*n#\n",
+ "#Let power lost in friction be Pf\n",
+ "Pf=P-Po#\n",
+ "print \"P is %0.1f kW \"%(P)#\n",
+ "print \"\\nPo is %0.3f kW \"%(Po)#\n",
+ "print \"\\nPf is %0.3f kW \"%(Pf)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-5 - Page 729"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "n is 0.865 \n",
+ "\n",
+ "delT is 18.73 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, cos,atan,tan,sin\n",
+ "Z1=2#\n",
+ "Z2=54#\n",
+ "q=10#\n",
+ "m=8#\n",
+ "P=4000#\n",
+ "A=1.8#\n",
+ "K=16#\n",
+ "N=1000#\n",
+ "u=0.028#\n",
+ "lamda=atan(Z1/q)#\n",
+ "alpha=20*pi/180#\n",
+ "d=m*q#\n",
+ "Vt=2*pi*N*d/(2*60*1000)#\n",
+ "Vs=Vt/cos(lamda)#\n",
+ "x=cos(alpha)#\n",
+ "y=tan(lamda)#\n",
+ "z=(cos(lamda))/sin(lamda)#\n",
+ "n=(x-(u*y))/(x+(u*z))#\n",
+ "delT=P*(1-n)/(K*A)#\n",
+ "print \"n is %0.3f \"%(n)#\n",
+ "print \"\\ndelT is %0.2f deg \"%(delT)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 28-6 - Page 729"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Sb is 8286 N \n",
+ "\n",
+ "Sw is 3362 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, cos,atan,tan,sin\n",
+ "Z1=1#\n",
+ "Z2=30#\n",
+ "q=10#\n",
+ "m=6#\n",
+ "#Let the ultimate strength of gear is sigut\n",
+ "#Let the allowable strenth of wheel is sigb\n",
+ "sigut=450#\n",
+ "sigb=84#\n",
+ "N=1200#\n",
+ "n=N/Z2#\n",
+ "alpha=20*pi/180#\n",
+ "d=m*q#\n",
+ "D=Z2*m#\n",
+ "b=3*d/4#\n",
+ "V=2*pi*n*D/(2*60*1000)#\n",
+ "Cv=6/(6+V)#\n",
+ "y=0.154-(0.912/Z2)#\n",
+ "Y=pi*y#\n",
+ "Sb=sigb*b*Cv*m*Y#\n",
+ "K=0.415#\n",
+ "Sw=b*D*K#\n",
+ "print \"Sb is %0.0f N \"%(Sb)#\n",
+ "print \"\\nSw is %0.0f N \"%(Sw)#\n",
+ "\n",
+ "#The difference in the value of Sb is due to rounding-off the values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29.ipynb
new file mode 100755
index 00000000..292239dc
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29.ipynb
@@ -0,0 +1,258 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:b67efe642bf9e9729105e3923ad7beb49ea7d0158d7e2b0caa861c9f34280019"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:29 Gearbox"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 29-1 - Page 749"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Ts1=16#\n",
+ "Ts2=18#\n",
+ "Ts3=20#\n",
+ "Ts4=25#\n",
+ "Tr1=64#\n",
+ "Tr2=63#\n",
+ "Tr3=70#\n",
+ "Tr4=50#\n",
+ "#Let Nr1/Nr2=G1\n",
+ "G1=1+(Ts1/Tr1)#\n",
+ "#Let Nr1/Ni=G2\n",
+ "G2=(Ts2/(Tr2*(1-(1/G1)+(Ts2/Tr2))))#\n",
+ "#Let Ni/No=G3 (third gear)\n",
+ "G3=(1+(Ts3/Tr3))/((Ts3/Tr3)+G2)#\n",
+ "\n",
+ "#Let Ni/Nr1=G4\n",
+ "#The ratio calculations are done as above\n",
+ "G4=1.2857/0.2857#\n",
+ "#Let Ni/No =G5(second gear)\n",
+ "G5=-20/70#\n",
+ "#Let Ni/No=G6(first gear)\n",
+ "G6=1.2857/0.2857#\n",
+ "#Let Ni/No=G7(reverse gear)\n",
+ "G7=-1.7143/0.2857#\n",
+ "print \"ratio for third gear is %0.3f \"%(G3)#\n",
+ "print \"\\nratio for second gear is %0.4f \"%(G5)#\n",
+ "print \"\\nratio for first gear is %0.1f \"%(G6)#\n",
+ "print \"\\nratio for reverse gear is %0.3f \"%(G7)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "ratio for third gear is 1.471 \n",
+ "\n",
+ "ratio for second gear is -0.2857 \n",
+ "\n",
+ "ratio for first gear is 4.5 \n",
+ "\n",
+ "ratio for reverse gear is -6.000 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 29-2 - Page 751"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Let reverse speed gear be RSG\n",
+ "RSG=5.5#\n",
+ "#Let T5/T6 = Z1\n",
+ "T1=2#\n",
+ "#Let T3/T7 = Z2\n",
+ "Z2=2.75#\n",
+ "T7=18#\n",
+ "T3=Z2*T7#\n",
+ "T3=50#\n",
+ "#Let T3/T1 =Z3\n",
+ "Z3=2.5#\n",
+ "T1=T3/Z3#\n",
+ "#Let T4/T2 = Z4\n",
+ "Z4=2.25/2#\n",
+ "T2=(T1+T3)/(Z4+1)#\n",
+ "T4=T1+T3-T2#\n",
+ "#Let T5/T6=Z5\n",
+ "Z5=2#\n",
+ "T6=(T1+T3)/3#\n",
+ "T5=(T1+T3)-T6#\n",
+ "T7=18#\n",
+ "#let first gear ratio is G1\n",
+ "G1=50*47/(20*23)#\n",
+ "\n",
+ "#Let 2nd gear ratio is G2\n",
+ "G2=37*47/(33*23)#\n",
+ "#Let 3rd gear ratio is G3\n",
+ "G3=1#\n",
+ "#Let reverse gear ratio is R\n",
+ "R=50*47/(18*23)#\n",
+ "print \"T1 is %0.0f \"%(T1)#\n",
+ "print \"\\nT2 is %0.0f \"%(T2)#\n",
+ "print \"\\nT3 is %0.0f \"%(T3)#\n",
+ "print \"\\nT4 is %0.0f \"%(T4)#\n",
+ "print \"\\nT5 is %0.0f \"%(T5)#\n",
+ "print \"\\nT6 is %0.0f \"%(T6)#\n",
+ "print \"\\nT7 is %0.0f \"%(T7)#\n",
+ "print \"\\nG1 is %0.3f \"%(G1)#\n",
+ "print \"\\nG2 is %0.3f \"%(G2)#\n",
+ "print \"\\nG3 is %0.1f \"%(G3)#\n",
+ "print \"\\nR is %0.3f \"%(R)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T1 is 20 \n",
+ "\n",
+ "T2 is 33 \n",
+ "\n",
+ "T3 is 50 \n",
+ "\n",
+ "T4 is 37 \n",
+ "\n",
+ "T5 is 47 \n",
+ "\n",
+ "T6 is 23 \n",
+ "\n",
+ "T7 is 18 \n",
+ "\n",
+ "G1 is 5.109 \n",
+ "\n",
+ "G2 is 2.291 \n",
+ "\n",
+ "G3 is 1.0 \n",
+ "\n",
+ "R is 5.676 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 29-3 - Page 752"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Let the constant gear ratio be G\n",
+ "G=2#\n",
+ "x=5.5**(1/3)#\n",
+ "G1=1#\n",
+ "G2=x#\n",
+ "G3=x*x#\n",
+ "G4=x**3#\n",
+ "T7=18#\n",
+ "T8=T7*(x**3)/2#\n",
+ "T8=51#\n",
+ "T5=69/2.558#\n",
+ "T6=69-27#\n",
+ "T4=69/1.8825#\n",
+ "T3=69-T4#\n",
+ "T1=23#\n",
+ "T2=46#\n",
+ "T9=18#\n",
+ "G1=T2*T8/(T1*T7)#\n",
+ "G2=T2*T6/(T1*T5)#\n",
+ "G3=1#\n",
+ "G4=-T2*T8/(T1*T9)#\n",
+ "print \"T1 is %0.0f \"%(T1)#\n",
+ "print \"\\nT2 is %0.0f \"%(T2)#\n",
+ "print \"\\nT3 is %0.0f \"%(T3)#\n",
+ "print \"\\nT4 is %0.0f \"%(T4)#\n",
+ "print \"\\nT5 is %0.0f \"%(T5)#\n",
+ "print \"\\nT6 is %0.0f \"%(T6)#\n",
+ "print \"\\nT7 is %0.0f \"%(T7)#\n",
+ "print \"\\nT8 is %0.0f \"%(T8)#\n",
+ "print \"\\nT9 is %0.0f \"%(T9)#\n",
+ "print \"\\nG1 is %0.3f \"%(G1)#\n",
+ "print \"\\nG2 is %0.3f \"%(G2)#\n",
+ "print \"\\nG3 is %0.3f \"%(G3)#\n",
+ "print \"\\nG4 is %0.3f \"%(G4)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "T1 is 23 \n",
+ "\n",
+ "T2 is 46 \n",
+ "\n",
+ "T3 is 32 \n",
+ "\n",
+ "T4 is 37 \n",
+ "\n",
+ "T5 is 27 \n",
+ "\n",
+ "T6 is 42 \n",
+ "\n",
+ "T7 is 18 \n",
+ "\n",
+ "T8 is 51 \n",
+ "\n",
+ "T9 is 18 \n",
+ "\n",
+ "G1 is 5.667 \n",
+ "\n",
+ "G2 is 3.114 \n",
+ "\n",
+ "G3 is 1.000 \n",
+ "\n",
+ "G4 is -5.667 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29_1.ipynb
new file mode 100755
index 00000000..0f58d4f6
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch29_1.ipynb
@@ -0,0 +1,264 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:29 Gearbox"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 29-1 - Page 749"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "ratio for third gear is 1.471 \n",
+ "\n",
+ "ratio for second gear is -0.2857 \n",
+ "\n",
+ "ratio for first gear is 4.5 \n",
+ "\n",
+ "ratio for reverse gear is -6.000 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "Ts1=16#\n",
+ "Ts2=18#\n",
+ "Ts3=20#\n",
+ "Ts4=25#\n",
+ "Tr1=64#\n",
+ "Tr2=63#\n",
+ "Tr3=70#\n",
+ "Tr4=50#\n",
+ "#Let Nr1/Nr2=G1\n",
+ "G1=1+(Ts1/Tr1)#\n",
+ "#Let Nr1/Ni=G2\n",
+ "G2=(Ts2/(Tr2*(1-(1/G1)+(Ts2/Tr2))))#\n",
+ "#Let Ni/No=G3 (third gear)\n",
+ "G3=(1+(Ts3/Tr3))/((Ts3/Tr3)+G2)#\n",
+ "\n",
+ "#Let Ni/Nr1=G4\n",
+ "#The ratio calculations are done as above\n",
+ "G4=1.2857/0.2857#\n",
+ "#Let Ni/No =G5(second gear)\n",
+ "G5=-20/70#\n",
+ "#Let Ni/No=G6(first gear)\n",
+ "G6=1.2857/0.2857#\n",
+ "#Let Ni/No=G7(reverse gear)\n",
+ "G7=-1.7143/0.2857#\n",
+ "print \"ratio for third gear is %0.3f \"%(G3)#\n",
+ "print \"\\nratio for second gear is %0.4f \"%(G5)#\n",
+ "print \"\\nratio for first gear is %0.1f \"%(G6)#\n",
+ "print \"\\nratio for reverse gear is %0.3f \"%(G7)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 29-2 - Page 751"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T1 is 20 \n",
+ "\n",
+ "T2 is 33 \n",
+ "\n",
+ "T3 is 50 \n",
+ "\n",
+ "T4 is 37 \n",
+ "\n",
+ "T5 is 47 \n",
+ "\n",
+ "T6 is 23 \n",
+ "\n",
+ "T7 is 18 \n",
+ "\n",
+ "G1 is 5.109 \n",
+ "\n",
+ "G2 is 2.291 \n",
+ "\n",
+ "G3 is 1.0 \n",
+ "\n",
+ "R is 5.676 \n"
+ ]
+ }
+ ],
+ "source": [
+ "#Let reverse speed gear be RSG\n",
+ "RSG=5.5#\n",
+ "#Let T5/T6 = Z1\n",
+ "T1=2#\n",
+ "#Let T3/T7 = Z2\n",
+ "Z2=2.75#\n",
+ "T7=18#\n",
+ "T3=Z2*T7#\n",
+ "T3=50#\n",
+ "#Let T3/T1 =Z3\n",
+ "Z3=2.5#\n",
+ "T1=T3/Z3#\n",
+ "#Let T4/T2 = Z4\n",
+ "Z4=2.25/2#\n",
+ "T2=(T1+T3)/(Z4+1)#\n",
+ "T4=T1+T3-T2#\n",
+ "#Let T5/T6=Z5\n",
+ "Z5=2#\n",
+ "T6=(T1+T3)/3#\n",
+ "T5=(T1+T3)-T6#\n",
+ "T7=18#\n",
+ "#let first gear ratio is G1\n",
+ "G1=50*47/(20*23)#\n",
+ "\n",
+ "#Let 2nd gear ratio is G2\n",
+ "G2=37*47/(33*23)#\n",
+ "#Let 3rd gear ratio is G3\n",
+ "G3=1#\n",
+ "#Let reverse gear ratio is R\n",
+ "R=50*47/(18*23)#\n",
+ "print \"T1 is %0.0f \"%(T1)#\n",
+ "print \"\\nT2 is %0.0f \"%(T2)#\n",
+ "print \"\\nT3 is %0.0f \"%(T3)#\n",
+ "print \"\\nT4 is %0.0f \"%(T4)#\n",
+ "print \"\\nT5 is %0.0f \"%(T5)#\n",
+ "print \"\\nT6 is %0.0f \"%(T6)#\n",
+ "print \"\\nT7 is %0.0f \"%(T7)#\n",
+ "print \"\\nG1 is %0.3f \"%(G1)#\n",
+ "print \"\\nG2 is %0.3f \"%(G2)#\n",
+ "print \"\\nG3 is %0.1f \"%(G3)#\n",
+ "print \"\\nR is %0.3f \"%(R)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 29-3 - Page 752"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "T1 is 23 \n",
+ "\n",
+ "T2 is 46 \n",
+ "\n",
+ "T3 is 32 \n",
+ "\n",
+ "T4 is 37 \n",
+ "\n",
+ "T5 is 27 \n",
+ "\n",
+ "T6 is 42 \n",
+ "\n",
+ "T7 is 18 \n",
+ "\n",
+ "T8 is 51 \n",
+ "\n",
+ "T9 is 18 \n",
+ "\n",
+ "G1 is 5.667 \n",
+ "\n",
+ "G2 is 3.114 \n",
+ "\n",
+ "G3 is 1.000 \n",
+ "\n",
+ "G4 is -5.667 \n"
+ ]
+ }
+ ],
+ "source": [
+ "#Let the constant gear ratio be G\n",
+ "G=2#\n",
+ "x=5.5**(1/3)#\n",
+ "G1=1#\n",
+ "G2=x#\n",
+ "G3=x*x#\n",
+ "G4=x**3#\n",
+ "T7=18#\n",
+ "T8=T7*(x**3)/2#\n",
+ "T8=51#\n",
+ "T5=69/2.558#\n",
+ "T6=69-27#\n",
+ "T4=69/1.8825#\n",
+ "T3=69-T4#\n",
+ "T1=23#\n",
+ "T2=46#\n",
+ "T9=18#\n",
+ "G1=T2*T8/(T1*T7)#\n",
+ "G2=T2*T6/(T1*T5)#\n",
+ "G3=1#\n",
+ "G4=-T2*T8/(T1*T9)#\n",
+ "print \"T1 is %0.0f \"%(T1)#\n",
+ "print \"\\nT2 is %0.0f \"%(T2)#\n",
+ "print \"\\nT3 is %0.0f \"%(T3)#\n",
+ "print \"\\nT4 is %0.0f \"%(T4)#\n",
+ "print \"\\nT5 is %0.0f \"%(T5)#\n",
+ "print \"\\nT6 is %0.0f \"%(T6)#\n",
+ "print \"\\nT7 is %0.0f \"%(T7)#\n",
+ "print \"\\nT8 is %0.0f \"%(T8)#\n",
+ "print \"\\nT9 is %0.0f \"%(T9)#\n",
+ "print \"\\nG1 is %0.3f \"%(G1)#\n",
+ "print \"\\nG2 is %0.3f \"%(G2)#\n",
+ "print \"\\nG3 is %0.3f \"%(G3)#\n",
+ "print \"\\nG4 is %0.3f \"%(G4)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3.ipynb
new file mode 100755
index 00000000..f1b4e5f7
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3.ipynb
@@ -0,0 +1,1389 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:a39ae8d14e298f4804dd9c8b80dda573e498001f1a1c345f3f119019ff43ebf8"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch : 3 Mechanics of solids"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-1 - Page 72"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi, sqrt\n",
+ "d=10 \n",
+ "l=1500 \n",
+ "m=12 \n",
+ "h=50 \n",
+ "E=210*10**3 \n",
+ "sigut=450 \n",
+ "A=pi*d**2/4 \n",
+ "W=m*9.81 \n",
+ "sigi=W/A*(1+sqrt(1+(2*E*A*h)/(W*l))) \n",
+ "deli=sigi*l/E \n",
+ "siggradual=W/A \n",
+ "sigsudden=2*siggradual \n",
+ "print \" sigi is %0.2f N/mm**2 \"%(sigi) \n",
+ "print \"\\n deli is %0.2f mm \"%(deli) \n",
+ "print \"\\n siggradual is %0.2f N/mm**2 \"%(siggradual) \n",
+ "\n",
+ "# The difference in the answer of sigi and siggradual is due to round-off errors."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " sigi is 146.37 N/mm**2 \n",
+ "\n",
+ " deli is 1.05 mm \n",
+ "\n",
+ " siggradual is 1.50 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-2 - Page 73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=5 \n",
+ "A=pi*d**2/4 \n",
+ "l=100*10**3 \n",
+ "W=600 \n",
+ "E=210*10**3 \n",
+ "w=0.0784*10**-3 \n",
+ "del1=W*l/(A*E) \n",
+ "del2=w*l**2/(2*E) \n",
+ "Del=del1+del2 \n",
+ "print \"del is %0.2f mm \"%(Del) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "del is 16.42 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-3 - Page 73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "m=25 \n",
+ "v=3 \n",
+ "E=210*10**3 \n",
+ "KE=0.5*m*v**2 \n",
+ "d=30 \n",
+ "L=2000 \n",
+ "A=pi*d**2/4 \n",
+ "U=A*L/(2*E) \n",
+ "Del=4*10**-5*A \n",
+ "W=A*Del \n",
+ "sigi=sqrt(KE*10**3/(W+U)) \n",
+ "print \"del is %0.2f N/mm**2 \"%(sigi) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "del is 69.41 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-4 - Page 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=40*10**3 \n",
+ "A=60*18 \n",
+ "sig=P/A \n",
+ "r1=12 \n",
+ "b1=60 \n",
+ "SCF1=1.7 \n",
+ "sigmax1=sig*SCF1 \n",
+ "r2=24 \n",
+ "b2=60 \n",
+ "SCF2=1.5 \n",
+ "sigmax2=sig*SCF2 \n",
+ "print \"sigmax1 is %0.2f N/mm**2 \"%(sigmax1) \n",
+ "print \"\\nsigmax2 is %0.2f N/mm**2 \"%(sigmax2) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigmax1 is 62.90 N/mm**2 \n",
+ "\n",
+ "sigmax2 is 55.50 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-5 - Page 75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=2.4 \n",
+ "#Let axial movement of nut be La\n",
+ "La=p*45/360 \n",
+ "d=20 \n",
+ "D=30 \n",
+ "L=500 \n",
+ "d1=18 \n",
+ "As=pi*d1**2/4 \n",
+ "Ac=pi*(D**2-d**2)/4 \n",
+ "sigt=120/(3.543) \n",
+ "sigb=1.543*sigt \n",
+ "print \"sigt is %0.2f N/mm**2 \"%(sigt) \n",
+ "print \"\\nsigb is %0.2f N/mm**2 \"%(sigb) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigt is 33.87 N/mm**2 \n",
+ "\n",
+ "sigb is 52.26 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-6 - Page 76"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "delT=100 \n",
+ "ab=18*10**-6 \n",
+ "aa=23*10**-6 \n",
+ "delta=(360*ab*delT)+(450*aa*delT) \n",
+ "lc=delta-0.6 \n",
+ "Ea=70*10**3 \n",
+ "Eb=105*10**3 \n",
+ "Aa=1600 \n",
+ "Ab=1300 \n",
+ "P=lc/((360/(Ab*Eb))+(450/(Aa*Ea))) \n",
+ "P=P*10**-3 \n",
+ "#Let the change in length be delL\n",
+ "delL=(aa*450*delT)-(P*10**3*450/(Aa*Ea)) \n",
+ "print \" P is %0.2f kN \"%(P) \n",
+ "print \"\\n delL is %0.2f mm \"%(delL) \n",
+ " \n",
+ " # The difference in the answer of delL is due to round-off errors."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " P is 162.73 kN \n",
+ "\n",
+ " delL is 0.38 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-7 - Page 77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a=23*10**-6 \n",
+ "E=70*10**3 \n",
+ "l=750 \n",
+ "sig=35 \n",
+ "delT=((sig*l/E)+0.8)/(l*a) \n",
+ "print \"delT is %0.2f degC \"%(delT) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "delT is 68.12 degC \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-8 - Page 78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "OA=60 \n",
+ "AB=30 \n",
+ "OC=-20 \n",
+ "CD=-30 \n",
+ "theta=30 \n",
+ "angBEK=2*theta \n",
+ "OM=14 \n",
+ "KM=49.5 \n",
+ "p1=70 \n",
+ "p2=-30 \n",
+ "angBEH=-37 \n",
+ "angBEI=143 \n",
+ "theta1=angBEH/2 \n",
+ "theta2=angBEI/2 \n",
+ "Tmax=50 \n",
+ "angBEL=53 \n",
+ "angBEN=233 \n",
+ "theta3=angBEL/2 \n",
+ "theta4=angBEN/2 \n",
+ "print \" Stress on plane AB is %0.2f MPa \"%(OM) \n",
+ "print \"\\n Stress on plane AB is %0.2f MPa \"%(KM) \n",
+ "print \"\\n Principal stress p1 is %0.2f MPa \"%(p1) \n",
+ "print \"\\n Principal stress p2 is %0.2f MPa \"%(p2) \n",
+ "print \"\\n Principal angle theta1 is %0.2f deg \"%(theta1) \n",
+ "print \"\\n Principal angle theta2 is %0.2f deg \"%(theta2) \n",
+ "print \"\\n Maximum shear stress is %0.2f MPa \"%(Tmax) \n",
+ "print \"\\n Direction of plane theta3 is %0.2f deg \"%(theta3) \n",
+ "print \"\\n Direction of plane theta4 is %0.2f deg \"%(theta4) \n",
+ "\n",
+ "#The answers in the book are written in form of degrees and minutes."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Stress on plane AB is 14.00 MPa \n",
+ "\n",
+ " Stress on plane AB is 49.50 MPa \n",
+ "\n",
+ " Principal stress p1 is 70.00 MPa \n",
+ "\n",
+ " Principal stress p2 is -30.00 MPa \n",
+ "\n",
+ " Principal angle theta1 is -18.50 deg \n",
+ "\n",
+ " Principal angle theta2 is 71.50 deg \n",
+ "\n",
+ " Maximum shear stress is 50.00 MPa \n",
+ "\n",
+ " Direction of plane theta3 is 26.50 deg \n",
+ "\n",
+ " Direction of plane theta4 is 116.50 deg \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-9 - Page 78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "E=200*10**3 \n",
+ "v=0.29 \n",
+ "E1=720*10**-6 \n",
+ "E2=560*10**-6 \n",
+ "p1=121.76 \n",
+ "p2=-76.69 \n",
+ "print \"p1 is %0.2f MN/mm**2 \"%(p1) \n",
+ "print \"\\n p2 is %0.2f MN/mm**2 \"%(p2) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "p1 is 121.76 MN/mm**2 \n",
+ "\n",
+ " p2 is -76.69 MN/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-10 - Page 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "G=38*10**3 \n",
+ "d=10 \n",
+ "P=5*10**3 \n",
+ "A=pi*d**2/4 \n",
+ "sig=P/A \n",
+ "deld=0.0002 \n",
+ "#Let the lateral strain be E1\n",
+ "E1=deld/d \n",
+ "v=2*deld*G/(sig-(2*deld*G)) \n",
+ "E=2*G*(1+v)*10**-3 \n",
+ "print \"v is %0.4f \"%(v) \n",
+ "print \"\\nE is %0.3f kN/mm**2 \"%(E) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "v is 0.3136 \n",
+ "\n",
+ "E is 99.837 kN/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-11 - Page 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=1500 \n",
+ "p=1.2 \n",
+ "sigt=100 \n",
+ "sigc=p*D/2 \n",
+ "siga=p*D/4 \n",
+ "P=sigc*2*10**3 \n",
+ "n=0.75 \n",
+ "t=sigc/(n*sigt) \n",
+ "print \"t is %0.1f mm \"%(t) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 12.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-12 - Page 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=50 \n",
+ "t=1.25 \n",
+ "d=0.5 \n",
+ "n=1/d \n",
+ "p=1.5 \n",
+ "siga=p*D/(4*t) \n",
+ "sigc=20.27 \n",
+ "sigw=sigc/0.31416 \n",
+ "print \"sigw is %0.2f N/mm**2 \"%(sigw) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigw is 64.52 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-13 - Page 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "R1=50 \n",
+ "p=75 \n",
+ "pmax=125 \n",
+ "R2=sqrt((pmax+p)*R1**2/(pmax-p)) \n",
+ "t=R2-R1 \n",
+ "print \"t is %0.1f mm \"%(t) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 50.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-14 - Page 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "R1=40 \n",
+ "R2=60 \n",
+ "B=50 \n",
+ "E=210*10**3 \n",
+ "e=41*10**-6 \n",
+ "sig=2*R1**2/(R2**2-R1**2) \n",
+ "p=E*e/sig \n",
+ "Fr=p*2*pi*R1*B \n",
+ "u=0.2 \n",
+ "Fa=u*Fr*10**-3 \n",
+ "print \"Fa is %0.2f kN \"%(Fa) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Fa is 13.52 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-15 - Page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "a1=10*1.5 \n",
+ "x1=15-0.75 \n",
+ "a2=1.5*(15-1.5) \n",
+ "x2=(15-1.5)/2 \n",
+ "y1=((a1*x1)+(a2*x2))/(a1+a2) \n",
+ "y2=a1-y1 \n",
+ "Ixx=(10*1.5**3)/12+(10*1.5*(5.06-1.5/2)**2)+(1.5*13.5**3/12)+(1.5*13.5*(9.94-6.75)**2) \n",
+ "Z1=Ixx/y1 \n",
+ "Z2=Ixx/y2 \n",
+ "L=3 \n",
+ "sigc=50 \n",
+ "W=sigc*Z1/L*10**-3 \n",
+ "print \"W is %0.3f kN \"%(W) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W is 1.333 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-16 - Page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=22 \n",
+ "d=20 \n",
+ "r=1 \n",
+ "K=2.2 \n",
+ "sigmax=130 \n",
+ "sigmax=sigmax/K \n",
+ "Z=pi*d**3/32 \n",
+ "M=sigmax*Z*10**-3 \n",
+ "print \"M is %0.3f Nm \"%(M) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "M is 46.410 Nm \n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-17 - Page 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "A=(12*2)+(12*2)+(30-4) \n",
+ "B=sqrt(A/2) \n",
+ "D=2*B \n",
+ "B1=12 \n",
+ "D1=30 \n",
+ "d=26 \n",
+ "b=1 \n",
+ "Z1=((B1*D1**3)-((B1-b)*d**3))/(B1*D1/2) \n",
+ "Zr=B*D**2/6 \n",
+ "#Let the ratio of both the sections be x\n",
+ "x=Z1/Zr \n",
+ "M=30*10**6 \n",
+ "sigmax=M/(Z1*10**3) \n",
+ "print \"Z1/Zr is %0.2f \"%(x) \n",
+ "print \"\\nsigmax is %0.2f N/mm**2 \"%(sigmax) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Z1/Zr is 4.84 \n",
+ "\n",
+ "sigmax is 41.33 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-19 - Page 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "x1=((13*3*1.5)+(2*15*8))/(39+30) \n",
+ "x2=13-x1 \n",
+ "A=30+39 \n",
+ "E=2*10**7 \n",
+ "Iyy=995.66 \n",
+ "e=54.32 \n",
+ "x=x2-3 \n",
+ "sigb=e*x/Iyy \n",
+ "sigd=1/69 \n",
+ "sigr=sigd+sigb \n",
+ "#Let the strain be E1\n",
+ "E1=800*10**-6 \n",
+ "P=E1*E/sigr \n",
+ "P=P*10**-3 \n",
+ "print \"P is %0.2f kN \"%(P) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 49.38 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-20 - Page 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "H=20 \n",
+ "D=5 \n",
+ "d=3 \n",
+ "rho=21 \n",
+ "sigd=rho*H \n",
+ "p=2 \n",
+ "A=D*H \n",
+ "P=p*A \n",
+ "M=P*H/2 \n",
+ "Z=pi*(D**4-d**4)/(32*D) \n",
+ "sigb=M/Z \n",
+ "sigmax=420+sigb \n",
+ "sigmin=420-sigb \n",
+ "print \"sigmax is %0.2f kN/m**2 \"%(sigmax) \n",
+ "print \"\\nsigmin is %0.2f kN/m**2 \"%(sigmin) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigmax is 607.24 kN/m**2 \n",
+ "\n",
+ "sigmin is 232.76 kN/m**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-21 - Page 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=30 \n",
+ "R=15 \n",
+ "T=0.56*10**6 \n",
+ "G=82*10**3 \n",
+ "J=pi*R**4/2 \n",
+ "T1=T*R/J \n",
+ "l=1000 \n",
+ "theta=T*l/(G*J)*180/pi \n",
+ "r=10 \n",
+ "Tr=T1*r/R \n",
+ "print \" T1 is %0.2f N/mm**2 \"%(T1) \n",
+ "print \"\\n theta is %0.2f deg \"%(theta) \n",
+ "print \"\\n Tr is %0.2f N/mm**2 \"%(Tr) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " T1 is 105.63 N/mm**2 \n",
+ "\n",
+ " theta is 4.92 deg \n",
+ "\n",
+ " Tr is 70.42 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-22 - Page 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "T=8*10**3 \n",
+ "d=80 \n",
+ "D=110 \n",
+ "l=2000 \n",
+ "Gst=80*10**3 \n",
+ "Gcop=Gst/2 \n",
+ "Js=pi*d**4/32 \n",
+ "Jc=pi*(D**4-d**4)/32 \n",
+ "#Ts=0.777*Tc\n",
+ "Tc=T/1.777*10**3 \n",
+ "Ts=0.777*Tc \n",
+ "Ts1=Ts/Js*d/2 \n",
+ "Tc1=Tc/Jc*D/2 \n",
+ "#Let tl be Angular twist per unit length\n",
+ "tl=Ts*10**3/(Js*Gst)*180/pi \n",
+ "# Let the maximum stress developed when the Torque is acting in the centre of the shaft be Ts2 & Tc2 resp. for steel and copper\n",
+ "Ts2=Ts1/2 \n",
+ "Tc2=Tc1/2 \n",
+ "print \" Ts1 is %0.3f N/mm**2 \"%(Ts1) \n",
+ "print \"\\n Tc1 is %0.1f N/mm**2 \"%(Tc1) \n",
+ "print \"\\n theta/length is %0.3f deg/m \"%(tl) \n",
+ "print \"\\n Ts2 is %0.3f N/mm**2 \"%(Ts2) \n",
+ "print \"\\n Tc2 is %0.2f N/mm**2 \"%(Tc2) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Ts1 is 34.796 N/mm**2 \n",
+ "\n",
+ " Tc1 is 23.9 N/mm**2 \n",
+ "\n",
+ " theta/length is 0.623 deg/m \n",
+ "\n",
+ " Ts2 is 17.398 N/mm**2 \n",
+ "\n",
+ " Tc2 is 11.96 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-23 - Page 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=100 \n",
+ "d=75 \n",
+ "r=6 \n",
+ "K=1.45 \n",
+ "P=20*746 \n",
+ "N=400 \n",
+ "w=2*pi*N/60 \n",
+ "T=P/w \n",
+ "Ts=16*T*10**3/(pi*d**3) \n",
+ "Tmax=K*Ts \n",
+ "print \"Tmax is %0.3f MPa \"%(Tmax) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tmax is 6.235 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-24 - Page 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "G=84*10**3 \n",
+ "T=28*10**3 \n",
+ "l=1000 \n",
+ "theta=pi/180 \n",
+ "J=T*l/(G*theta) \n",
+ "d=(J*32/pi)**(1/4) \n",
+ "print \"d is %0.1f mm \"%(d) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 21.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-25 - Page 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=2*10**6 \n",
+ "N=200 \n",
+ "w=2*pi*N/60 \n",
+ "Tm=P/w \n",
+ "W=5*10**3*9.81 \n",
+ "l=1800 \n",
+ "Mmax=W*l/4 \n",
+ "Tmax=1.8*Tm*10**3 \n",
+ "Me=(Mmax+sqrt(Mmax**2+Tmax**2))/2 \n",
+ "Te=sqrt(Mmax**2+Tmax**2) \n",
+ "sig=60 \n",
+ "Ts=40 \n",
+ "d1=(32*Me/(pi*sig))**(1/3) \n",
+ "d2=(16*Te/(pi*Ts))**(1/3) \n",
+ "print \"d is %0.1f mm \"%(d2) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 280.5 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-26 - Page 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Q=4*10**3 \n",
+ "P=8*10**3 \n",
+ "sig=P \n",
+ "T=Q \n",
+ "p1=(sig/2+sqrt((sig/2)**2+T**2)) \n",
+ "p2=(sig/2-sqrt((sig/2)**2+T**2)) \n",
+ "sigyp=285 \n",
+ "FOS=3 \n",
+ "siga=sigyp/3 \n",
+ "A1=p1/siga \n",
+ "d1=sqrt(4*A1/pi) \n",
+ "A2=(p1-p2)*2/(siga*2) \n",
+ "d2=sqrt(4*A2/pi) \n",
+ "v=0.3 \n",
+ "A3=sqrt(p1**2+p2**2-(2*v*p1*p2))/siga \n",
+ "d3=sqrt(4*A3/pi) \n",
+ "print \" d1 is %0.2f mm \"%(d1) \n",
+ "print \"\\n d2 is %0.1f mm \"%(d2) \n",
+ "print \"\\n d3 is %0.2f mm \"%(d3) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d1 is 11.38 mm \n",
+ "\n",
+ " d2 is 12.3 mm \n",
+ "\n",
+ " d3 is 11.74 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-27 - Page 91"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigx=-105 \n",
+ "Txy=105 \n",
+ "sigy=270 \n",
+ "p1=(sigx/2+sqrt((sigx/2)**2+Txy**2)) \n",
+ "p2=(sigx/2-sqrt((sigx/2)**2+Txy**2)) \n",
+ "p3=0 \n",
+ "Tmax=(p1-p2)/2 \n",
+ "siga=sigy/2 \n",
+ "if (Tmax<=siga) :\n",
+ " print \"The component is safe\"\n",
+ "print \"\\nTmax is %0.1f MPa \"%(Tmax) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The component is safe\n",
+ "\n",
+ "Tmax is 117.4 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-28 - Page 91"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "rho=0.0078*9.81*10**-6 \n",
+ "sigc=150 \n",
+ "g=9.81 \n",
+ "V=sqrt(sigc*g/rho)*10**-3 \n",
+ "R=1 \n",
+ "w=V/R \n",
+ "N=w*60/(2*pi) \n",
+ "print \"N is %0.3f rpm \"%(N) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "N is 1324.249 rpm \n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-29 - Page 92"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "R1=50 \n",
+ "R2=200 \n",
+ "N=6*10**3 \n",
+ "w=2*pi*N/60 \n",
+ "v=0.28 \n",
+ "rho=7800*10**-9 \n",
+ "g=9810 \n",
+ "k1=(3+v)/8 \n",
+ "k2=(1+(3*v))/8 \n",
+ "W=rho*9.81 \n",
+ "x=k1*w**2*W*(R1**2+R2**2)/g \n",
+ "y=k1*w**2*W*(R1*R2)**2/g \n",
+ "y1=k1*w**2*W/g \n",
+ "z=k2*w**2*W/g \n",
+ "r=sqrt(R1*R2) \n",
+ "sigrmax=x-(y/r**2)-(r**2*y1) \n",
+ "r=range(50,201)\n",
+ "n=len(r) \n",
+ "sigr = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " sigr[i]=x-(y/r[i]**2)-(r[i]**2*y1)\n",
+ "\n",
+ "sigc = range(0,n)\n",
+ "for j in range(0,n):\n",
+ " sigc[j]=y/r[j]**2-(r[j]**2*z)\n",
+ "\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, xlabel, ylabel, show, grid\n",
+ "plot(r,sigr) \n",
+ "plot (r,sigc) \n",
+ "xlabel('r in mm') \n",
+ "ylabel('stress in N/mm**2') \n",
+ "grid()\n",
+ "show()\n",
+ "print \"sigrmax is %0.1f MPa \"%(sigrmax) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgIfAhk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+YtwqsJkpMEVV\nU4HluCuZfRZ6bhlQMcNrJ2d4/GtV3atusb39InLK8f4jjAkXazCMOWxvNl93MMP9NNz1G7JyAEDd\n1fiO9p79GR4/kM3PNibirMEwxh9ZXbzoaBc0MsZ31mAYc1h2R0VppvtHel/m1x1rX5k/y0Zpmahi\nw2qNMcZki51hGGOMyRZrMIwxxmSLNRjGGGOyxRoMY4wx2WINhjHGmGyxBsMYY0y2WINhjDEmW6zB\nMMYYky3/B0TYOSGQpC4+AAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x7ff461ba6f50>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigrmax is 28.4 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-30 - Page 93"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from numpy import exp\n",
+ "r=500 \n",
+ "to=15 \n",
+ "N=3500 \n",
+ "w=2*pi*N/60 \n",
+ "sig=80 \n",
+ "w1=0.07644*10**-3 \n",
+ "g=9810 \n",
+ "a=w1*w**2*r**2/(2*sig*g) \n",
+ "t=to*exp(-a) \n",
+ "print \"t is %0.3f mm \"%(t) "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 2.923 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 29
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-31 - Page 93"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from numpy import log\n",
+ "M=60*10**3 \n",
+ "y1=((5*1*2.5)+(6*1*5.5))/(5+6) \n",
+ "y2=6-y1 \n",
+ "R=12 \n",
+ "R1=R-y2 \n",
+ "R1=10.136\n",
+ "R2=11.136 \n",
+ "R3=R1+6 \n",
+ "B=6 \n",
+ "b=1 \n",
+ "A=(B*b)+((B-1)*b) \n",
+ "#Let x= h**2/R**2\n",
+ "x=R/A*((B*log(R2/R1))+(b*log(R3/R2)))-1 \n",
+ "x=1/x \n",
+ "#Let Maximum compressive stress at B be sigB\n",
+ "sigB=M/(A*R)*(1+(x*y1/(R+y1)))*10**-2 \n",
+ "#Let Maximum tensile stress at A be sigA\n",
+ "sigA=M/(A*R)*((y2*x/(R-y2))-1)*10**-2 \n",
+ "print \"sigB is %0.1f MPa \"%(sigB) \n",
+ "print \"\\nsigA is %0.0f MPa \"%(sigA) \n",
+ " \n",
+ "#The answer to R**2/h**2 is calculated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigB is 61.5 MPa \n",
+ "\n",
+ "sigA is 36 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-32 - Page 94"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "R1=24 \n",
+ "R2=30 \n",
+ "R3=50 \n",
+ "R4=54 \n",
+ "F=200 \n",
+ "y1=((16*4*2)+(2*20*14*4)+(24*6*27))/((16*4)+(2*20*4)+(24*6)) \n",
+ "y2=30-y1 \n",
+ "R=24+y2 \n",
+ "A=(24*6)+(2*4*20)+(4*16) \n",
+ "#Let x= h**2/R**2\n",
+ "x=R/A*((24*log(R2/R1))+(2*4*log(R3/R2))+(16*log(R4/R3)))-1 \n",
+ "x=1/x \n",
+ "M=F*(60+R) \n",
+ "sigd=F/A \n",
+ "#Let bending stress at a be sigA\n",
+ "sigA=M/(A*R)*((y2*x/(R-y2))-1) \n",
+ "#Let bending stress at b be sigB\n",
+ "sigB=M/(A*R)*(1+(x*y1/(R+y1))) \n",
+ "#Let resultant at a be Ra\n",
+ "Ra=(sigA+sigd)*10 \n",
+ "#Let resultant at b be Rb\n",
+ "Rb=(sigB-sigd)*10 \n",
+ "print \"Ra is %0.2f N/mm**2 \"%(Ra) \n",
+ "print \"\\nRb is %0.2f N/mm**2 \"%(Rb) \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ra is 96.70 N/mm**2 \n",
+ "\n",
+ "Rb is 70.14 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 3-33 - Page 95"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "F=50 \n",
+ "B1=4 \n",
+ "B2=8 \n",
+ "D=12 \n",
+ "y1=D/3*(B1+(2*B2))/(B1+B2) \n",
+ "y2=12-y1 \n",
+ "R=6+y2 \n",
+ "A=(B1+B2)/2*D \n",
+ "#Let x= h**2/R**2\n",
+ "a=(B1+((B2-B1)*(y1+R)/D))*log((R+y1)/(R-y2))\n",
+ "x=R/(A)*(a -(B2-B1)) \n",
+ "x=x-1 \n",
+ "x=1/x \n",
+ "KG=y2+8 \n",
+ "M=F*KG \n",
+ "sigd=F/A \n",
+ "#Let bending stress at a be sigA\n",
+ "sigA=M/(A*R)*(1+(x*y1/(R+y1))) \n",
+ "#Let bending stress at b be sigB\n",
+ "sigB=M/(A*R)*((y2*x/(R-y2))-1) \n",
+ "sigA=(sigA-sigd)*10 \n",
+ "sigB=(sigB+sigd)*10 \n",
+ "print \"sigA is %0.2f MPa \"%(sigA) \n",
+ "print \"\\nsigB is %0.2f MPa \"%(sigB) \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "sigA is 31.59 MPa \n",
+ "\n",
+ "sigB is 71.64 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30.ipynb
new file mode 100755
index 00000000..335560f0
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30.ipynb
@@ -0,0 +1,210 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:55c40faafb847932f0fdcda855b3af16f1a2e4ef45941baaf0d7ee692a22c20c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:30 Chain drive"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 30-1 - Page 778"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "n1=17#\n",
+ "n2=51#\n",
+ "C=300#\n",
+ "p=9.52#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "x=(Ln-((n2+n1)/(2)))**2#\n",
+ "y=8*(((n2-n1)/(2*pi))**2)#\n",
+ "z=Ln-((n1+n2)/2)#\n",
+ "C=(p/4)*(z+(sqrt(x-y)))\n",
+ "\n",
+ "\n",
+ " # printing data in scilab o/p window\n",
+ "print \"C is %0.2f mm \"%(C)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C is 300.00 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 30-2 - Page 778"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import tan\n",
+ "G=4#\n",
+ "n1=17#\n",
+ "n2=n1*G#\n",
+ "N1=2300#\n",
+ "Kc=1.2# #from table 30-2\n",
+ "p=12.7# #fom table 30-1\n",
+ "D1=p*n1#\n",
+ "D2=p*n2#\n",
+ "phi=2*10.6#\n",
+ "x=tan(phi/2)# #phi/2 = 10.6deg, from table 30-3\n",
+ "Da1=(p/x)+(0.6*p)#\n",
+ "Da2=(p/x*4)+(0.6*p)#\n",
+ "Cmin=Kc*((Da1+Da2)/2)#\n",
+ "Ln1=(2*Cmin/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/Cmin))#\n",
+ "Ln1=80#\n",
+ "print \"Ln is %0.0f \"%(Ln1)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ln is 80 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 30-3 - Page 779"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "N1=1000#\n",
+ "N2=500#\n",
+ "P=2.03*10**3# #from table 30-8\n",
+ "K1=1.26#\n",
+ "Ks=1#\n",
+ "#let Pc be the power transmitting capacity of the chain\n",
+ "Pc=P*K1/Ks#\n",
+ "p=9.52#\n",
+ "n1=21#\n",
+ "n2=42#\n",
+ "V=n1*p*N1/(60*10**3)#\n",
+ "#Let the chain tension be T\n",
+ "T=Pc/V#\n",
+ "#Let the breaking load be BL\n",
+ "BL=10700#\n",
+ "FOS=BL/T#\n",
+ "C=50*p#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "L=Ln*p#\n",
+ "Pc=Pc*10**-3#\n",
+ "print \" Pc is %0.2f KW \"%(Pc)#\n",
+ "print \"\\n V is %0.3f m/s \"%(V)#\n",
+ "print \"\\n T is %0.1f N \"%(T)#\n",
+ "print \"\\n FOS is %0.2f \"%(FOS)#\n",
+ "print \"\\n L is %0.2f mm \"%(L)#\n",
+ "\n",
+ "#The difference in the value of L and T is due to rounding-off the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Pc is 2.56 KW \n",
+ "\n",
+ " V is 3.332 m/s \n",
+ "\n",
+ " T is 767.6 N \n",
+ "\n",
+ " FOS is 13.94 \n",
+ "\n",
+ " L is 1254.01 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 30-5 - Page 780"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "G=2#\n",
+ "P=5000#\n",
+ "Ks=1.7#\n",
+ "Pd=P*Ks#\n",
+ "K2=1.7#\n",
+ "p=15.88#\n",
+ "n1=17#\n",
+ "n2=n1*G#\n",
+ "D1=n1*p#\n",
+ "D2=n2*p#\n",
+ "C=40*p#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "L=Ln*p#\n",
+ "print \"L is %0.2f mm \"%(L)#\n",
+ "#The difference in the value of L is due to rounding-off the values."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "L is 1678.25 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30_1.ipynb
new file mode 100755
index 00000000..d03107c1
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch30_1.ipynb
@@ -0,0 +1,217 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:30 Chain drive"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 30-1 - Page 778"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "C is 300.00 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi\n",
+ "n1=17#\n",
+ "n2=51#\n",
+ "C=300#\n",
+ "p=9.52#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "x=(Ln-((n2+n1)/(2)))**2#\n",
+ "y=8*(((n2-n1)/(2*pi))**2)#\n",
+ "z=Ln-((n1+n2)/2)#\n",
+ "C=(p/4)*(z+(sqrt(x-y)))\n",
+ "\n",
+ "\n",
+ " # printing data in scilab o/p window\n",
+ "print \"C is %0.2f mm \"%(C)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 30-2 - Page 778"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ln is 80 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import tan\n",
+ "G=4#\n",
+ "n1=17#\n",
+ "n2=n1*G#\n",
+ "N1=2300#\n",
+ "Kc=1.2# #from table 30-2\n",
+ "p=12.7# #fom table 30-1\n",
+ "D1=p*n1#\n",
+ "D2=p*n2#\n",
+ "phi=2*10.6#\n",
+ "x=tan(phi/2)# #phi/2 = 10.6deg, from table 30-3\n",
+ "Da1=(p/x)+(0.6*p)#\n",
+ "Da2=(p/x*4)+(0.6*p)#\n",
+ "Cmin=Kc*((Da1+Da2)/2)#\n",
+ "Ln1=(2*Cmin/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/Cmin))#\n",
+ "Ln1=80#\n",
+ "print \"Ln is %0.0f \"%(Ln1)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 30-3 - Page 779"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Pc is 2.56 KW \n",
+ "\n",
+ " V is 3.332 m/s \n",
+ "\n",
+ " T is 767.6 N \n",
+ "\n",
+ " FOS is 13.94 \n",
+ "\n",
+ " L is 1254.01 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "N1=1000#\n",
+ "N2=500#\n",
+ "P=2.03*10**3# #from table 30-8\n",
+ "K1=1.26#\n",
+ "Ks=1#\n",
+ "#let Pc be the power transmitting capacity of the chain\n",
+ "Pc=P*K1/Ks#\n",
+ "p=9.52#\n",
+ "n1=21#\n",
+ "n2=42#\n",
+ "V=n1*p*N1/(60*10**3)#\n",
+ "#Let the chain tension be T\n",
+ "T=Pc/V#\n",
+ "#Let the breaking load be BL\n",
+ "BL=10700#\n",
+ "FOS=BL/T#\n",
+ "C=50*p#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "L=Ln*p#\n",
+ "Pc=Pc*10**-3#\n",
+ "print \" Pc is %0.2f KW \"%(Pc)#\n",
+ "print \"\\n V is %0.3f m/s \"%(V)#\n",
+ "print \"\\n T is %0.1f N \"%(T)#\n",
+ "print \"\\n FOS is %0.2f \"%(FOS)#\n",
+ "print \"\\n L is %0.2f mm \"%(L)#\n",
+ "\n",
+ "#The difference in the value of L and T is due to rounding-off the values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 30-5 - Page 780"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "L is 1678.25 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "G=2#\n",
+ "P=5000#\n",
+ "Ks=1.7#\n",
+ "Pd=P*Ks#\n",
+ "K2=1.7#\n",
+ "p=15.88#\n",
+ "n1=17#\n",
+ "n2=n1*G#\n",
+ "D1=n1*p#\n",
+ "D2=n2*p#\n",
+ "C=40*p#\n",
+ "Ln=(2*C/p)+((n1+n2)/2)+((((n2-n1)/(2*pi))**2)*(p/C))#\n",
+ "L=Ln*p#\n",
+ "print \"L is %0.2f mm \"%(L)#\n",
+ "#The difference in the value of L is due to rounding-off the values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31.ipynb
new file mode 100755
index 00000000..890e011d
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31.ipynb
@@ -0,0 +1,173 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6ec60a366eb75f6b61dc10de0b002b97629539c44f0f706f948844442706e9bd"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:31 Seals packing and gaskets"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 31-1 - Page 816"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, log\n",
+ "d=18#\n",
+ "lg=25+25#\n",
+ "Eb=210*10**3#\n",
+ "Ecl=90*10**3#\n",
+ "A=pi*d**2/4#\n",
+ "kb=A*Eb/lg#\n",
+ "x=(5*(lg+(0.5*d))/(lg+(2.5*d)))#\n",
+ "km=pi*Ecl*d/(2*log(x))#\n",
+ "C=kb/(kb+km)#\n",
+ "sigp=600#\n",
+ "At=192#\n",
+ "Pi=0.75*sigp*At#\n",
+ "F=200#\n",
+ "C=0.322#\n",
+ "Pb=F*C*10**3#\n",
+ "FOS=2#\n",
+ "W=At*sigp#\n",
+ "N=Pb*FOS/(W-Pi)#\n",
+ "print \"N is %0.2f \"%(N)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "N is 4.47 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 31-2 - Page 816"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=16#\n",
+ "D=1.5*d#\n",
+ "t=20#\n",
+ "tg=4#\n",
+ "#Let Gasket diameter in compression zone be d1\n",
+ "d1=D+(2*t)+tg#\n",
+ "lg=40#\n",
+ "E=207*10**3#\n",
+ "kb=pi*d**2*E/(lg*4)#\n",
+ "Ecl=90*10**3#\n",
+ "x=(5*(lg+(0.5*d))/(lg+(2.5*d)))#\n",
+ "kp=pi*Ecl*d/(2*log(x))#\n",
+ "Ag=pi*(d1**2-d**2)/4#\n",
+ "Eg=480#\n",
+ "kg=Ag*Eg/tg#\n",
+ "km=kg*kp/(kg+kp)#\n",
+ "C=kb/(kb+km)#\n",
+ "At=157#\n",
+ "sigp=600#\n",
+ "Pi=0.75*At*sigp/2#\n",
+ "FOS=2#\n",
+ "Pf=At*sigp/FOS#\n",
+ "W=Pf-Pi#\n",
+ "P=W/C#\n",
+ "N=5#\n",
+ "F=P*N#\n",
+ "p=F*4/(pi*120**2)#\n",
+ "print \"p is %0.3f N/mm**2 \"%(p)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "p is 6.922 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 31-3 - Page 817"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigp=600#\n",
+ "FOS=3#\n",
+ "siga=sigp/FOS#\n",
+ "d=16#\n",
+ "D=1.5*d+60#\n",
+ "#Let Gasket diameter in compression zone be d1\n",
+ "d1=(300-160)/2#\n",
+ "#Let compressive stress in gasket for leak proof joint be sigl\n",
+ "sigl=12#\n",
+ "from numpy import mat\n",
+ "At=mat([[1, 157],[2 ,192], [3, 245]])\n",
+ "d=mat([[1 ,16],[2 ,18],[3, 20]])\n",
+ "\n",
+ "n=3#\n",
+ "Pi = range(0,n)\n",
+ "Pc = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " Pi[i]=At[i,1]*d[i,1]\n",
+ " Pc[i]=3*pi*(d1**2-d[i,1]**2)\n",
+ " if (Pi[i]>=Pc[i]):\n",
+ " print \"The Design is safe\"\n",
+ "\n",
+ "print \"d is %0.0f mm \"%(d[i,1])#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 20 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31_1.ipynb
new file mode 100755
index 00000000..024ea67d
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch31_1.ipynb
@@ -0,0 +1,180 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:31 Seals packing and gaskets"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 31-1 - Page 816"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "N is 4.47 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from math import sqrt, pi, log\n",
+ "d=18#\n",
+ "lg=25+25#\n",
+ "Eb=210*10**3#\n",
+ "Ecl=90*10**3#\n",
+ "A=pi*d**2/4#\n",
+ "kb=A*Eb/lg#\n",
+ "x=(5*(lg+(0.5*d))/(lg+(2.5*d)))#\n",
+ "km=pi*Ecl*d/(2*log(x))#\n",
+ "C=kb/(kb+km)#\n",
+ "sigp=600#\n",
+ "At=192#\n",
+ "Pi=0.75*sigp*At#\n",
+ "F=200#\n",
+ "C=0.322#\n",
+ "Pb=F*C*10**3#\n",
+ "FOS=2#\n",
+ "W=At*sigp#\n",
+ "N=Pb*FOS/(W-Pi)#\n",
+ "print \"N is %0.2f \"%(N)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 31-2 - Page 816"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "p is 6.922 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi, log\n",
+ "d=16#\n",
+ "D=1.5*d#\n",
+ "t=20#\n",
+ "tg=4#\n",
+ "#Let Gasket diameter in compression zone be d1\n",
+ "d1=D+(2*t)+tg#\n",
+ "lg=40#\n",
+ "E=207*10**3#\n",
+ "kb=pi*d**2*E/(lg*4)#\n",
+ "Ecl=90*10**3#\n",
+ "x=(5*(lg+(0.5*d))/(lg+(2.5*d)))#\n",
+ "kp=pi*Ecl*d/(2*log(x))#\n",
+ "Ag=pi*(d1**2-d**2)/4#\n",
+ "Eg=480#\n",
+ "kg=Ag*Eg/tg#\n",
+ "km=kg*kp/(kg+kp)#\n",
+ "C=kb/(kb+km)#\n",
+ "At=157#\n",
+ "sigp=600#\n",
+ "Pi=0.75*At*sigp/2#\n",
+ "FOS=2#\n",
+ "Pf=At*sigp/FOS#\n",
+ "W=Pf-Pi#\n",
+ "P=W/C#\n",
+ "N=5#\n",
+ "F=P*N#\n",
+ "p=F*4/(pi*120**2)#\n",
+ "print \"p is %0.3f N/mm**2 \"%(p)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 31-3 - Page 817"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 20 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from numpy import mat, pi, sqrt\n",
+ "sigp=600#\n",
+ "FOS=3#\n",
+ "siga=sigp/FOS#\n",
+ "d=16#\n",
+ "D=1.5*d+60#\n",
+ "#Let Gasket diameter in compression zone be d1\n",
+ "d1=(300-160)/2#\n",
+ "#Let compressive stress in gasket for leak proof joint be sigl\n",
+ "sigl=12#\n",
+ "At=mat([[1, 157],[2 ,192], [3, 245]])\n",
+ "d=mat([[1 ,16],[2 ,18],[3, 20]])\n",
+ "\n",
+ "n=3#\n",
+ "Pi = range(0,n)\n",
+ "Pc = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " Pi[i]=At[i,1]*d[i,1]\n",
+ " Pc[i]=3*pi*(d1**2-d[i,1]**2)\n",
+ " if (Pi[i]>=Pc[i]):\n",
+ " print \"The Design is safe\"\n",
+ "\n",
+ "print \"d is %0.0f mm \"%(d[i,1])#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3_1.ipynb
new file mode 100755
index 00000000..eab09e70
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch3_1.ipynb
@@ -0,0 +1,1391 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch : 3 Mechanics of solids"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-1 - Page 72"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " sigi is 146.37 N/mm**2 \n",
+ "\n",
+ " deli is 1.05 mm \n",
+ "\n",
+ " siggradual is 1.50 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "d=10 \n",
+ "l=1500 \n",
+ "m=12 \n",
+ "h=50 \n",
+ "E=210*10**3 \n",
+ "sigut=450 \n",
+ "A=pi*d**2/4 \n",
+ "W=m*9.81 \n",
+ "sigi=W/A*(1+sqrt(1+(2*E*A*h)/(W*l))) \n",
+ "deli=sigi*l/E \n",
+ "siggradual=W/A \n",
+ "sigsudden=2*siggradual \n",
+ "print \" sigi is %0.2f N/mm**2 \"%(sigi) \n",
+ "print \"\\n deli is %0.2f mm \"%(deli) \n",
+ "print \"\\n siggradual is %0.2f N/mm**2 \"%(siggradual) \n",
+ "\n",
+ "# The difference in the answer of sigi and siggradual is due to round-off errors."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-2 - Page 73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "del is 16.42 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "d=5 \n",
+ "A=pi*d**2/4 \n",
+ "l=100*10**3 \n",
+ "W=600 \n",
+ "E=210*10**3 \n",
+ "w=0.0784*10**-3 \n",
+ "del1=W*l/(A*E) \n",
+ "del2=w*l**2/(2*E) \n",
+ "Del=del1+del2 \n",
+ "print \"del is %0.2f mm \"%(Del) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-3 - Page 73"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "del is 69.41 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "m=25 \n",
+ "v=3 \n",
+ "E=210*10**3 \n",
+ "KE=0.5*m*v**2 \n",
+ "d=30 \n",
+ "L=2000 \n",
+ "A=pi*d**2/4 \n",
+ "U=A*L/(2*E) \n",
+ "Del=4*10**-5*A \n",
+ "W=A*Del \n",
+ "sigi=sqrt(KE*10**3/(W+U)) \n",
+ "print \"del is %0.2f N/mm**2 \"%(sigi) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-4 - Page 74"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigmax1 is 62.96 N/mm**2 \n",
+ "\n",
+ "sigmax2 is 55.56 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "P=40*10**3 \n",
+ "A=60*18 \n",
+ "sig=P/A \n",
+ "r1=12 \n",
+ "b1=60 \n",
+ "SCF1=1.7 \n",
+ "sigmax1=sig*SCF1 \n",
+ "r2=24 \n",
+ "b2=60 \n",
+ "SCF2=1.5 \n",
+ "sigmax2=sig*SCF2 \n",
+ "print \"sigmax1 is %0.2f N/mm**2 \"%(sigmax1) \n",
+ "print \"\\nsigmax2 is %0.2f N/mm**2 \"%(sigmax2) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-5 - Page 75"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigt is 33.87 N/mm**2 \n",
+ "\n",
+ "sigb is 52.26 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "p=2.4 \n",
+ "#Let axial movement of nut be La\n",
+ "La=p*45/360 \n",
+ "d=20 \n",
+ "D=30 \n",
+ "L=500 \n",
+ "d1=18 \n",
+ "As=pi*d1**2/4 \n",
+ "Ac=pi*(D**2-d**2)/4 \n",
+ "sigt=120/(3.543) \n",
+ "sigb=1.543*sigt \n",
+ "print \"sigt is %0.2f N/mm**2 \"%(sigt) \n",
+ "print \"\\nsigb is %0.2f N/mm**2 \"%(sigb) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-6 - Page 76"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " P is 162.73 kN \n",
+ "\n",
+ " delL is 0.38 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "delT=100 \n",
+ "ab=18*10**-6 \n",
+ "aa=23*10**-6 \n",
+ "delta=(360*ab*delT)+(450*aa*delT) \n",
+ "lc=delta-0.6 \n",
+ "Ea=70*10**3 \n",
+ "Eb=105*10**3 \n",
+ "Aa=1600 \n",
+ "Ab=1300 \n",
+ "P=lc/((360/(Ab*Eb))+(450/(Aa*Ea))) \n",
+ "P=P*10**-3 \n",
+ "#Let the change in length be delL\n",
+ "delL=(aa*450*delT)-(P*10**3*450/(Aa*Ea)) \n",
+ "print \" P is %0.2f kN \"%(P) \n",
+ "print \"\\n delL is %0.2f mm \"%(delL) \n",
+ " \n",
+ "# The difference in the answer of delL is due to round-off errors."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-7 - Page 77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "delT is 68.12 degC \n"
+ ]
+ }
+ ],
+ "source": [
+ "a=23*10**-6 \n",
+ "E=70*10**3 \n",
+ "l=750 \n",
+ "sig=35 \n",
+ "delT=((sig*l/E)+0.8)/(l*a) \n",
+ "print \"delT is %0.2f degC \"%(delT) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-8 - Page 78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Stress on plane AB is 14.00 MPa \n",
+ "\n",
+ " Stress on plane AB is 49.50 MPa \n",
+ "\n",
+ " Principal stress p1 is 70.00 MPa \n",
+ "\n",
+ " Principal stress p2 is -30.00 MPa \n",
+ "\n",
+ " Principal angle theta1 is -18.50 deg \n",
+ "\n",
+ " Principal angle theta2 is 71.50 deg \n",
+ "\n",
+ " Maximum shear stress is 50.00 MPa \n",
+ "\n",
+ " Direction of plane theta3 is 26.50 deg \n",
+ "\n",
+ " Direction of plane theta4 is 116.50 deg \n"
+ ]
+ }
+ ],
+ "source": [
+ "OA=60 \n",
+ "AB=30 \n",
+ "OC=-20 \n",
+ "CD=-30 \n",
+ "theta=30 \n",
+ "angBEK=2*theta \n",
+ "OM=14 \n",
+ "KM=49.5 \n",
+ "p1=70 \n",
+ "p2=-30 \n",
+ "angBEH=-37 \n",
+ "angBEI=143 \n",
+ "theta1=angBEH/2 \n",
+ "theta2=angBEI/2 \n",
+ "Tmax=50 \n",
+ "angBEL=53 \n",
+ "angBEN=233 \n",
+ "theta3=angBEL/2 \n",
+ "theta4=angBEN/2 \n",
+ "print \" Stress on plane AB is %0.2f MPa \"%(OM) \n",
+ "print \"\\n Stress on plane AB is %0.2f MPa \"%(KM) \n",
+ "print \"\\n Principal stress p1 is %0.2f MPa \"%(p1) \n",
+ "print \"\\n Principal stress p2 is %0.2f MPa \"%(p2) \n",
+ "print \"\\n Principal angle theta1 is %0.2f deg \"%(theta1) \n",
+ "print \"\\n Principal angle theta2 is %0.2f deg \"%(theta2) \n",
+ "print \"\\n Maximum shear stress is %0.2f MPa \"%(Tmax) \n",
+ "print \"\\n Direction of plane theta3 is %0.2f deg \"%(theta3) \n",
+ "print \"\\n Direction of plane theta4 is %0.2f deg \"%(theta4) \n",
+ "\n",
+ "#The answers in the book are written in form of degrees and minutes."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-9 - Page 78"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 16,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "p1 is 121.76 MN/mm**2 \n",
+ "\n",
+ " p2 is -76.69 MN/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "E=200*10**3 \n",
+ "v=0.29 \n",
+ "E1=720*10**-6 \n",
+ "E2=560*10**-6 \n",
+ "p1=121.76 \n",
+ "p2=-76.69 \n",
+ "print \"p1 is %0.2f MN/mm**2 \"%(p1) \n",
+ "print \"\\n p2 is %0.2f MN/mm**2 \"%(p2) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-10 - Page 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 17,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "v is 0.3136 \n",
+ "\n",
+ "E is 99.837 kN/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "G=38*10**3 \n",
+ "d=10 \n",
+ "P=5*10**3 \n",
+ "A=pi*d**2/4 \n",
+ "sig=P/A \n",
+ "deld=0.0002 \n",
+ "#Let the lateral strain be E1\n",
+ "E1=deld/d \n",
+ "v=2*deld*G/(sig-(2*deld*G)) \n",
+ "E=2*G*(1+v)*10**-3 \n",
+ "print \"v is %0.4f \"%(v) \n",
+ "print \"\\nE is %0.3f kN/mm**2 \"%(E) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-11 - Page 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 18,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 12.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "D=1500 \n",
+ "p=1.2 \n",
+ "sigt=100 \n",
+ "sigc=p*D/2 \n",
+ "siga=p*D/4 \n",
+ "P=sigc*2*10**3 \n",
+ "n=0.75 \n",
+ "t=sigc/(n*sigt) \n",
+ "print \"t is %0.1f mm \"%(t) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-12 - Page 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigw is 64.52 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "D=50 \n",
+ "t=1.25 \n",
+ "d=0.5 \n",
+ "n=1/d \n",
+ "p=1.5 \n",
+ "siga=p*D/(4*t) \n",
+ "sigc=20.27 \n",
+ "sigw=sigc/0.31416 \n",
+ "print \"sigw is %0.2f N/mm**2 \"%(sigw) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-13 - Page 81"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 50.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "R1=50 \n",
+ "p=75 \n",
+ "pmax=125 \n",
+ "R2=sqrt((pmax+p)*R1**2/(pmax-p)) \n",
+ "t=R2-R1 \n",
+ "print \"t is %0.1f mm \"%(t) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-14 - Page 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Fa is 13.52 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "R1=40 \n",
+ "R2=60 \n",
+ "B=50 \n",
+ "E=210*10**3 \n",
+ "e=41*10**-6 \n",
+ "sig=2*R1**2/(R2**2-R1**2) \n",
+ "p=E*e/sig \n",
+ "Fr=p*2*pi*R1*B \n",
+ "u=0.2 \n",
+ "Fa=u*Fr*10**-3 \n",
+ "print \"Fa is %0.2f kN \"%(Fa) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-15 - Page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 22,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "W is 1.333 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "a1=10*1.5 \n",
+ "x1=15-0.75 \n",
+ "a2=1.5*(15-1.5) \n",
+ "x2=(15-1.5)/2 \n",
+ "y1=((a1*x1)+(a2*x2))/(a1+a2) \n",
+ "y2=a1-y1 \n",
+ "Ixx=(10*1.5**3)/12+(10*1.5*(5.06-1.5/2)**2)+(1.5*13.5**3/12)+(1.5*13.5*(9.94-6.75)**2) \n",
+ "Z1=Ixx/y1 \n",
+ "Z2=Ixx/y2 \n",
+ "L=3 \n",
+ "sigc=50 \n",
+ "W=sigc*Z1/L*10**-3 \n",
+ "print \"W is %0.3f kN \"%(W) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-16 - Page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "M is 46.410 Nm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "D=22 \n",
+ "d=20 \n",
+ "r=1 \n",
+ "K=2.2 \n",
+ "sigmax=130 \n",
+ "sigmax=sigmax/K \n",
+ "Z=pi*d**3/32 \n",
+ "M=sigmax*Z*10**-3 \n",
+ "print \"M is %0.3f Nm \"%(M) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-17 - Page 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Z1/Zr is 4.84 \n",
+ "\n",
+ "sigmax is 41.33 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "A=(12*2)+(12*2)+(30-4) \n",
+ "B=sqrt(A/2) \n",
+ "D=2*B \n",
+ "B1=12 \n",
+ "D1=30 \n",
+ "d=26 \n",
+ "b=1 \n",
+ "Z1=((B1*D1**3)-((B1-b)*d**3))/(B1*D1/2) \n",
+ "Zr=B*D**2/6 \n",
+ "#Let the ratio of both the sections be x\n",
+ "x=Z1/Zr \n",
+ "M=30*10**6 \n",
+ "sigmax=M/(Z1*10**3) \n",
+ "print \"Z1/Zr is %0.2f \"%(x) \n",
+ "print \"\\nsigmax is %0.2f N/mm**2 \"%(sigmax) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-19 - Page 85"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 49.38 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "x1=((13*3*1.5)+(2*15*8))/(39+30) \n",
+ "x2=13-x1 \n",
+ "A=30+39 \n",
+ "E=2*10**7 \n",
+ "Iyy=995.66 \n",
+ "e=54.32 \n",
+ "x=x2-3 \n",
+ "sigb=e*x/Iyy \n",
+ "sigd=1/69 \n",
+ "sigr=sigd+sigb \n",
+ "#Let the strain be E1\n",
+ "E1=800*10**-6 \n",
+ "P=E1*E/sigr \n",
+ "P=P*10**-3 \n",
+ "print \"P is %0.2f kN \"%(P) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-20 - Page 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigmax is 607.24 kN/m**2 \n",
+ "\n",
+ "sigmin is 232.76 kN/m**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "H=20 \n",
+ "D=5 \n",
+ "d=3 \n",
+ "rho=21 \n",
+ "sigd=rho*H \n",
+ "p=2 \n",
+ "A=D*H \n",
+ "P=p*A \n",
+ "M=P*H/2 \n",
+ "Z=pi*(D**4-d**4)/(32*D) \n",
+ "sigb=M/Z \n",
+ "sigmax=420+sigb \n",
+ "sigmin=420-sigb \n",
+ "print \"sigmax is %0.2f kN/m**2 \"%(sigmax) \n",
+ "print \"\\nsigmin is %0.2f kN/m**2 \"%(sigmin) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-21 - Page 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " T1 is 105.63 N/mm**2 \n",
+ "\n",
+ " theta is 4.92 deg \n",
+ "\n",
+ " Tr is 70.42 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "D=30 \n",
+ "R=15 \n",
+ "T=0.56*10**6 \n",
+ "G=82*10**3 \n",
+ "J=pi*R**4/2 \n",
+ "T1=T*R/J \n",
+ "l=1000 \n",
+ "theta=T*l/(G*J)*180/pi \n",
+ "r=10 \n",
+ "Tr=T1*r/R \n",
+ "print \" T1 is %0.2f N/mm**2 \"%(T1) \n",
+ "print \"\\n theta is %0.2f deg \"%(theta) \n",
+ "print \"\\n Tr is %0.2f N/mm**2 \"%(Tr) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-22 - Page 87"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Ts1 is 34.796 N/mm**2 \n",
+ "\n",
+ " Tc1 is 23.9 N/mm**2 \n",
+ "\n",
+ " theta/length is 0.623 deg/m \n",
+ "\n",
+ " Ts2 is 17.398 N/mm**2 \n",
+ "\n",
+ " Tc2 is 11.96 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "T=8*10**3 \n",
+ "d=80 \n",
+ "D=110 \n",
+ "l=2000 \n",
+ "Gst=80*10**3 \n",
+ "Gcop=Gst/2 \n",
+ "Js=pi*d**4/32 \n",
+ "Jc=pi*(D**4-d**4)/32 \n",
+ "#Ts=0.777*Tc\n",
+ "Tc=T/1.777*10**3 \n",
+ "Ts=0.777*Tc \n",
+ "Ts1=Ts/Js*d/2 \n",
+ "Tc1=Tc/Jc*D/2 \n",
+ "#Let tl be Angular twist per unit length\n",
+ "tl=Ts*10**3/(Js*Gst)*180/pi \n",
+ "# Let the maximum stress developed when the Torque is acting in the centre of the shaft be Ts2 & Tc2 resp. for steel and copper\n",
+ "Ts2=Ts1/2 \n",
+ "Tc2=Tc1/2 \n",
+ "print \" Ts1 is %0.3f N/mm**2 \"%(Ts1) \n",
+ "print \"\\n Tc1 is %0.1f N/mm**2 \"%(Tc1) \n",
+ "print \"\\n theta/length is %0.3f deg/m \"%(tl) \n",
+ "print \"\\n Ts2 is %0.3f N/mm**2 \"%(Ts2) \n",
+ "print \"\\n Tc2 is %0.2f N/mm**2 \"%(Tc2) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-23 - Page 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tmax is 6.235 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "D=100 \n",
+ "d=75 \n",
+ "r=6 \n",
+ "K=1.45 \n",
+ "P=20*746 \n",
+ "N=400 \n",
+ "w=2*pi*N/60 \n",
+ "T=P/w \n",
+ "Ts=16*T*10**3/(pi*d**3) \n",
+ "Tmax=K*Ts \n",
+ "print \"Tmax is %0.3f MPa \"%(Tmax) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-24 - Page 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 30,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 21.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "G=84*10**3 \n",
+ "T=28*10**3 \n",
+ "l=1000 \n",
+ "theta=pi/180 \n",
+ "J=T*l/(G*theta) \n",
+ "d=(J*32/pi)**(1/4) \n",
+ "print \"d is %0.1f mm \"%(d) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-25 - Page 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 280.5 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "P=2*10**6 \n",
+ "N=200 \n",
+ "w=2*pi*N/60 \n",
+ "Tm=P/w \n",
+ "W=5*10**3*9.81 \n",
+ "l=1800 \n",
+ "Mmax=W*l/4 \n",
+ "Tmax=1.8*Tm*10**3 \n",
+ "Me=(Mmax+sqrt(Mmax**2+Tmax**2))/2 \n",
+ "Te=sqrt(Mmax**2+Tmax**2) \n",
+ "sig=60 \n",
+ "Ts=40 \n",
+ "d1=(32*Me/(pi*sig))**(1/3) \n",
+ "d2=(16*Te/(pi*Ts))**(1/3) \n",
+ "print \"d is %0.1f mm \"%(d2) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-26 - Page 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 32,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d1 is 11.38 mm \n",
+ "\n",
+ " d2 is 12.3 mm \n",
+ "\n",
+ " d3 is 11.74 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "Q=4*10**3 \n",
+ "P=8*10**3 \n",
+ "sig=P \n",
+ "T=Q \n",
+ "p1=(sig/2+sqrt((sig/2)**2+T**2)) \n",
+ "p2=(sig/2-sqrt((sig/2)**2+T**2)) \n",
+ "sigyp=285 \n",
+ "FOS=3 \n",
+ "siga=sigyp/3 \n",
+ "A1=p1/siga \n",
+ "d1=sqrt(4*A1/pi) \n",
+ "A2=(p1-p2)*2/(siga*2) \n",
+ "d2=sqrt(4*A2/pi) \n",
+ "v=0.3 \n",
+ "A3=sqrt(p1**2+p2**2-(2*v*p1*p2))/siga \n",
+ "d3=sqrt(4*A3/pi) \n",
+ "print \" d1 is %0.2f mm \"%(d1) \n",
+ "print \"\\n d2 is %0.1f mm \"%(d2) \n",
+ "print \"\\n d3 is %0.2f mm \"%(d3) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-27 - Page 91"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 33,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The component is safe\n",
+ "\n",
+ "Tmax is 117.4 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "sigx=-105 \n",
+ "Txy=105 \n",
+ "sigy=270 \n",
+ "p1=(sigx/2+sqrt((sigx/2)**2+Txy**2)) \n",
+ "p2=(sigx/2-sqrt((sigx/2)**2+Txy**2)) \n",
+ "p3=0 \n",
+ "Tmax=(p1-p2)/2 \n",
+ "siga=sigy/2 \n",
+ "if (Tmax<=siga) :\n",
+ " print \"The component is safe\"\n",
+ "print \"\\nTmax is %0.1f MPa \"%(Tmax) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-28 - Page 91"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 34,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "N is 1324.249 rpm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "rho=0.0078*9.81*10**-6 \n",
+ "sigc=150 \n",
+ "g=9.81 \n",
+ "V=sqrt(sigc*g/rho)*10**-3 \n",
+ "R=1 \n",
+ "w=V/R \n",
+ "N=w*60/(2*pi) \n",
+ "print \"N is %0.3f rpm \"%(N) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-29 - Page 92"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 35,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYwAAAEPCAYAAABRHfM8AAAABHNCSVQICAgI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6Sej+YtwqsJkpMEVV\nU4HluCuZfRZ6bhlQMcNrJ2d4/GtV3atusb39InLK8f4jjAkXazCMOWxvNl93MMP9NNz1G7JyAEDd\n1fiO9p79GR4/kM3PNibirMEwxh9ZXbzoaBc0MsZ31mAYc1h2R0VppvtHel/m1x1rX5k/y0Zpmahi\nw2qNMcZki51hGGOMyRZrMIwxxmSLNRjGGGOyxRoMY4wx2WINhjHGmGyxBsMYY0y2WINhjDEmW6zB\nMMYYky3/B0TYOSGQpC4+AAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "<matplotlib.figure.Figure at 0x7feb0a76e790>"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigrmax is 28.4 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi, sqrt\n",
+ "%matplotlib inline\n",
+ "from matplotlib.pyplot import plot, xlabel, ylabel, show, grid\n",
+ "\n",
+ "R1=50 \n",
+ "R2=200 \n",
+ "N=6*10**3 \n",
+ "w=2*pi*N/60 \n",
+ "v=0.28 \n",
+ "rho=7800*10**-9 \n",
+ "g=9810 \n",
+ "k1=(3+v)/8 \n",
+ "k2=(1+(3*v))/8 \n",
+ "W=rho*9.81 \n",
+ "x=k1*w**2*W*(R1**2+R2**2)/g \n",
+ "y=k1*w**2*W*(R1*R2)**2/g \n",
+ "y1=k1*w**2*W/g \n",
+ "z=k2*w**2*W/g \n",
+ "r=sqrt(R1*R2) \n",
+ "sigrmax=x-(y/r**2)-(r**2*y1) \n",
+ "r=range(50,201)\n",
+ "n=len(r) \n",
+ "sigr = range(0,n)\n",
+ "for i in range(0,n):\n",
+ " sigr[i]=x-(y/r[i]**2)-(r[i]**2*y1)\n",
+ "\n",
+ "sigc = range(0,n)\n",
+ "for j in range(0,n):\n",
+ " sigc[j]=y/r[j]**2-(r[j]**2*z)\n",
+ "\n",
+ "plot(r,sigr) \n",
+ "plot (r,sigc) \n",
+ "xlabel('r in mm') \n",
+ "ylabel('stress in N/mm**2') \n",
+ "grid()\n",
+ "show()\n",
+ "print \"sigrmax is %0.1f MPa \"%(sigrmax) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-30 - Page 93"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 36,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 2.923 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from numpy import exp\n",
+ "r=500 \n",
+ "to=15 \n",
+ "N=3500 \n",
+ "w=2*pi*N/60 \n",
+ "sig=80 \n",
+ "w1=0.07644*10**-3 \n",
+ "g=9810 \n",
+ "a=w1*w**2*r**2/(2*sig*g) \n",
+ "t=to*exp(-a) \n",
+ "print \"t is %0.3f mm \"%(t) "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-31 - Page 93"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 37,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigB is 61.5 MPa \n",
+ "\n",
+ "sigA is 36 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from numpy import log\n",
+ "M=60*10**3 \n",
+ "y1=((5*1*2.5)+(6*1*5.5))/(5+6) \n",
+ "y2=6-y1 \n",
+ "R=12 \n",
+ "R1=R-y2 \n",
+ "R1=10.136\n",
+ "R2=11.136 \n",
+ "R3=R1+6 \n",
+ "B=6 \n",
+ "b=1 \n",
+ "A=(B*b)+((B-1)*b) \n",
+ "#Let x= h**2/R**2\n",
+ "x=R/A*((B*log(R2/R1))+(b*log(R3/R2)))-1 \n",
+ "x=1/x \n",
+ "#Let Maximum compressive stress at B be sigB\n",
+ "sigB=M/(A*R)*(1+(x*y1/(R+y1)))*10**-2 \n",
+ "#Let Maximum tensile stress at A be sigA\n",
+ "sigA=M/(A*R)*((y2*x/(R-y2))-1)*10**-2 \n",
+ "print \"sigB is %0.1f MPa \"%(sigB) \n",
+ "print \"\\nsigA is %0.0f MPa \"%(sigA) \n",
+ " \n",
+ "#The answer to R**2/h**2 is calculated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-32 - Page 94"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 38,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ra is 96.70 N/mm**2 \n",
+ "\n",
+ "Rb is 70.14 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from numpy import log\n",
+ "R1=24 \n",
+ "R2=30 \n",
+ "R3=50 \n",
+ "R4=54 \n",
+ "F=200 \n",
+ "y1=((16*4*2)+(2*20*14*4)+(24*6*27))/((16*4)+(2*20*4)+(24*6)) \n",
+ "y2=30-y1 \n",
+ "R=24+y2 \n",
+ "A=(24*6)+(2*4*20)+(4*16) \n",
+ "#Let x= h**2/R**2\n",
+ "x=R/A*((24*log(R2/R1))+(2*4*log(R3/R2))+(16*log(R4/R3)))-1 \n",
+ "x=1/x \n",
+ "M=F*(60+R) \n",
+ "sigd=F/A \n",
+ "#Let bending stress at a be sigA\n",
+ "sigA=M/(A*R)*((y2*x/(R-y2))-1) \n",
+ "#Let bending stress at b be sigB\n",
+ "sigB=M/(A*R)*(1+(x*y1/(R+y1))) \n",
+ "#Let resultant at a be Ra\n",
+ "Ra=(sigA+sigd)*10 \n",
+ "#Let resultant at b be Rb\n",
+ "Rb=(sigB-sigd)*10 \n",
+ "print \"Ra is %0.2f N/mm**2 \"%(Ra) \n",
+ "print \"\\nRb is %0.2f N/mm**2 \"%(Rb) \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 3-33 - Page 95"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 39,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "sigA is 31.59 MPa \n",
+ "\n",
+ "sigB is 71.64 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "from numpy import log\n",
+ "F=50 \n",
+ "B1=4 \n",
+ "B2=8 \n",
+ "D=12 \n",
+ "y1=D/3*(B1+(2*B2))/(B1+B2) \n",
+ "y2=12-y1 \n",
+ "R=6+y2 \n",
+ "A=(B1+B2)/2*D \n",
+ "#Let x= h**2/R**2\n",
+ "a=(B1+((B2-B1)*(y1+R)/D))*log((R+y1)/(R-y2))\n",
+ "x=R/(A)*(a -(B2-B1)) \n",
+ "x=x-1 \n",
+ "x=1/x \n",
+ "KG=y2+8 \n",
+ "M=F*KG \n",
+ "sigd=F/A \n",
+ "#Let bending stress at a be sigA\n",
+ "sigA=M/(A*R)*(1+(x*y1/(R+y1))) \n",
+ "#Let bending stress at b be sigB\n",
+ "sigB=M/(A*R)*((y2*x/(R-y2))-1) \n",
+ "sigA=(sigA-sigd)*10 \n",
+ "sigB=(sigB+sigd)*10 \n",
+ "print \"sigA is %0.2f MPa \"%(sigA) \n",
+ "print \"\\nsigB is %0.2f MPa \"%(sigB) \n",
+ "#The difference in the answers are due to rounding-off of values."
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb
new file mode 100755
index 00000000..20051c72
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb
@@ -0,0 +1,266 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:aae4d19fea549af28d592247f766b2cbe593905aad9c18e9cc47077fbd53be47"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:4 Manufacturing considerations"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 4-1 - Page 112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "d=70#\n",
+ "dmin=50#\n",
+ "dmax=80#\n",
+ "D=sqrt(dmin*dmax)#\n",
+ "D=63#\n",
+ "i=0.458*(D**(1/3))+(0.001*D)#\n",
+ "\n",
+ "#standard tolerance for H8 is ST1\n",
+ "ST1=25*i#\n",
+ "ST1=ST1*10**-3#\n",
+ "#standard tolerance of shaft for grade g7 is ST2\n",
+ "ST2=16*i#\n",
+ "ST2=ST2*10**-3#\n",
+ "es=-(2.5*(D**0.333))#\n",
+ "es=es*10**-3#\n",
+ "ei=es-ST2#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "LLH=d#\n",
+ "ULH=LLH+ST1#\n",
+ "ULS=LLH+es#\n",
+ "LLS=ULS-ST2#\n",
+ "#Maximum clearance is Cmax\n",
+ "#minimum clearance is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=LLH-ULS#\n",
+ "# printing data in scilab o/p window\n",
+ "print \" LLH is %0.1f mm \"%(LLH)#\n",
+ "print \"\\n ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n ULS is %0.2f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.2f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " LLH is 70.0 mm \n",
+ "\n",
+ " ULH is 70.013 mm \n",
+ "\n",
+ " ULS is 69.99 mm \n",
+ "\n",
+ " LLS is 69.98 mm \n",
+ "\n",
+ " Cmax is 0.031 mm \n",
+ "\n",
+ " Cmin is 0.010 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 4-2 - Page 112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=25#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+0.021#\n",
+ "LLH=d+0#\n",
+ "ULS=d+0.041#\n",
+ "LLS=d+0.028#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULS-LLH#\n",
+ "Cmin=LLS-ULH#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\nCmin is %0.3f mm \"%(Cmin)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Cmax is 0.041 mm \n",
+ "\n",
+ "Cmin is 0.007 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 4-3 - Page 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=50#\n",
+ "Es=0.039#\n",
+ "Ei=0#\n",
+ "es=-9*10**-3#\n",
+ "ei=-34*10**-3#\n",
+ "#Shaft dia is D\n",
+ "D=d+es#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+Es#\n",
+ "LLH=d+Ei#\n",
+ "ULS=d+es#\n",
+ "LLS=d+ei#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=LLH-ULS#\n",
+ " # printing data in scilab o/p window\n",
+ "print \" ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n LLH is %0.3f mm \"%(LLH)#\n",
+ "print \"\\n ULS is %0.3f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.3f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#\n",
+ "print ' Therefore, H8g7 is easy running fit'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " ULH is 50.039 mm \n",
+ "\n",
+ " LLH is 50.000 mm \n",
+ "\n",
+ " ULS is 49.991 mm \n",
+ "\n",
+ " LLS is 49.966 mm \n",
+ "\n",
+ " Cmax is 0.073 mm \n",
+ "\n",
+ " Cmin is 0.009 mm \n",
+ " Therefore, H8g7 is easy running fit\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 4-3 - Page 114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=30#\n",
+ "Es=0.025#\n",
+ "Ei=0#\n",
+ "es=11*10**-3#\n",
+ "ei=-5*10**-3#\n",
+ "#Shaft dia is D\n",
+ "D=d+es#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+Es#\n",
+ "LLH=d+Ei#\n",
+ "ULS=d+es#\n",
+ "LLS=d+ei#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=ULS-LLH##\n",
+ "\n",
+ " # printing data in scilab o/p window\n",
+ "print \" ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n LLH is %0.3f mm \"%(LLH)#\n",
+ "print \"\\n ULS is %0.3f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.3f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " ULH is 30.025 mm \n",
+ "\n",
+ " LLH is 30.000 mm \n",
+ "\n",
+ " ULS is 30.011 mm \n",
+ "\n",
+ " LLS is 29.995 mm \n",
+ "\n",
+ " Cmax is 0.030 mm \n",
+ "\n",
+ " Cmin is 0.011 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4_1.ipynb
new file mode 100755
index 00000000..e296965c
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4_1.ipynb
@@ -0,0 +1,271 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:4 Manufacturing considerations"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 4-1 - Page 112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " LLH is 70.0 mm \n",
+ "\n",
+ " ULH is 70.013 mm \n",
+ "\n",
+ " ULS is 69.99 mm \n",
+ "\n",
+ " LLS is 69.98 mm \n",
+ "\n",
+ " Cmax is 0.031 mm \n",
+ "\n",
+ " Cmin is 0.010 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "d=70#\n",
+ "dmin=50#\n",
+ "dmax=80#\n",
+ "D=sqrt(dmin*dmax)#\n",
+ "D=63#\n",
+ "i=0.458*(D**(1/3))+(0.001*D)#\n",
+ "\n",
+ "#standard tolerance for H8 is ST1\n",
+ "ST1=25*i#\n",
+ "ST1=ST1*10**-3#\n",
+ "#standard tolerance of shaft for grade g7 is ST2\n",
+ "ST2=16*i#\n",
+ "ST2=ST2*10**-3#\n",
+ "es=-(2.5*(D**0.333))#\n",
+ "es=es*10**-3#\n",
+ "ei=es-ST2#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "LLH=d#\n",
+ "ULH=LLH+ST1#\n",
+ "ULS=LLH+es#\n",
+ "LLS=ULS-ST2#\n",
+ "#Maximum clearance is Cmax\n",
+ "#minimum clearance is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=LLH-ULS#\n",
+ "# printing data in scilab o/p window\n",
+ "print \" LLH is %0.1f mm \"%(LLH)#\n",
+ "print \"\\n ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n ULS is %0.2f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.2f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 4-2 - Page 112"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Cmax is 0.041 mm \n",
+ "\n",
+ "Cmin is 0.007 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "d=25#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+0.021#\n",
+ "LLH=d+0#\n",
+ "ULS=d+0.041#\n",
+ "LLS=d+0.028#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULS-LLH#\n",
+ "Cmin=LLS-ULH#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\nCmin is %0.3f mm \"%(Cmin)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 4-3 - Page 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " ULH is 50.039 mm \n",
+ "\n",
+ " LLH is 50.000 mm \n",
+ "\n",
+ " ULS is 49.991 mm \n",
+ "\n",
+ " LLS is 49.966 mm \n",
+ "\n",
+ " Cmax is 0.073 mm \n",
+ "\n",
+ " Cmin is 0.009 mm \n",
+ " Therefore, H8g7 is easy running fit\n"
+ ]
+ }
+ ],
+ "source": [
+ "d=50#\n",
+ "Es=0.039#\n",
+ "Ei=0#\n",
+ "es=-9*10**-3#\n",
+ "ei=-34*10**-3#\n",
+ "#Shaft dia is D\n",
+ "D=d+es#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+Es#\n",
+ "LLH=d+Ei#\n",
+ "ULS=d+es#\n",
+ "LLS=d+ei#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=LLH-ULS#\n",
+ " # printing data in scilab o/p window\n",
+ "print \" ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n LLH is %0.3f mm \"%(LLH)#\n",
+ "print \"\\n ULS is %0.3f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.3f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#\n",
+ "print ' Therefore, H8g7 is easy running fit'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 4-3 - Page 114"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " ULH is 30.025 mm \n",
+ "\n",
+ " LLH is 30.000 mm \n",
+ "\n",
+ " ULS is 30.011 mm \n",
+ "\n",
+ " LLS is 29.995 mm \n",
+ "\n",
+ " Cmax is 0.030 mm \n",
+ "\n",
+ " Cmin is 0.011 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "d=30#\n",
+ "Es=0.025#\n",
+ "Ei=0#\n",
+ "es=11*10**-3#\n",
+ "ei=-5*10**-3#\n",
+ "#Shaft dia is D\n",
+ "D=d+es#\n",
+ "#Lower limit for hole is LLH\n",
+ "#Upper limit for hole is ULH\n",
+ "#Upper limit for shaft is ULS\n",
+ "#Lower limit for shaft is LLS\n",
+ "ULH=d+Es#\n",
+ "LLH=d+Ei#\n",
+ "ULS=d+es#\n",
+ "LLS=d+ei#\n",
+ "#Maximum interference is Cmax\n",
+ "#minimum interference is Cmin\n",
+ "Cmax=ULH-LLS#\n",
+ "Cmin=ULS-LLH##\n",
+ "\n",
+ " # printing data in scilab o/p window\n",
+ "print \" ULH is %0.3f mm \"%(ULH)#\n",
+ "print \"\\n LLH is %0.3f mm \"%(LLH)#\n",
+ "print \"\\n ULS is %0.3f mm \"%(ULS)#\n",
+ "print \"\\n LLS is %0.3f mm \"%(LLS)#\n",
+ "print \"\\n Cmax is %0.3f mm \"%(Cmax)#\n",
+ "print \"\\n Cmin is %0.3f mm \"%(Cmin)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5.ipynb
new file mode 100755
index 00000000..ea122295
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5.ipynb
@@ -0,0 +1,253 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:56bbd90f35decd7f62fabe45fb918c0e397bbdcedfeeda130ab611b764281c1a"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:5 Introduction to pressure vessels"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 5-1 - Page 138"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=2#\n",
+ "Rm=220#\n",
+ "#tensile hoop or circumferential stress= sigt\n",
+ "sigr=-2#\n",
+ "#sigt=(p*Rm)/t#\n",
+ "Sa=230/2#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "t1=(p*Rm)/Sa#\n",
+ "t2=(p*Rm)/(Sa+sigr)#\n",
+ "print \"t1 is %0.2f mm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3f mm \"%(t2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t1 is 3.00 mm \n",
+ "\n",
+ "t2 is 3.000 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 5-2 - Page 139"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "from __future__ import division\n",
+ "#Elastic limit=sige\n",
+ "sige=310#\n",
+ "#inside diameter=di\n",
+ "di=300#\n",
+ "p=1.8#\n",
+ "FOS=2#\n",
+ "#design stress=sigd#\n",
+ "sigd=sige/2#\n",
+ "c=0.162#\n",
+ "d=380#\n",
+ "#cover plate thickness=t#\n",
+ "t=d*sqrt(c*p/sigd)#\n",
+ "t=17#\n",
+ "M=di*p*t/4#\n",
+ "\n",
+ "z=(1/6)*1*t**2#\n",
+ "#bending stress=sigb#\n",
+ "sigb=M/z#\n",
+ "print \"t is %0.1fmm \"%(t)#\n",
+ "print \"\\nM is %0.1fmm \"%(M)#\n",
+ "print \"\\nsigb is %0.1fmm \"%(sigb)#\n",
+ "if (sigb<=sigd):\n",
+ " print 'sigb is below allowable sigd.'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 17.0mm \n",
+ "\n",
+ "M is 2295.0mm \n",
+ "\n",
+ "sigb is 47.6mm \n",
+ "sigb is below allowable sigd.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 5-3 - Page 140"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sige=220#\n",
+ "v=0.29#\n",
+ "Ri=175#\n",
+ "FOS=3#\n",
+ "Sa=sige/3#\n",
+ "p=10#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "x=Sa+(p*(1-(2*v)))#\n",
+ "y=Sa-(p*(1+v))#\n",
+ "t1=(sqrt(x/y)-1)*Ri#\n",
+ "t1=24#\n",
+ "#t1=((sqrt((Sa+(p*(1-(2*v)))))/(Sa-(p*(1+v))))-1)*Ri#\n",
+ "t2=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t1 is %0.1fmm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3fmm \"%(t2)#\n",
+ "#The answer to t2 is not calculated in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t1 is 24.0mm \n",
+ "\n",
+ "t2 is 30.206mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 5-4 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p=16#\n",
+ "Ri=250#\n",
+ "#Yield strength =sigy#\n",
+ "sigy=330#\n",
+ "v=0.3#\n",
+ "FOS=3#\n",
+ "Sa=sigy/3#\n",
+ "t=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "t=50#\n",
+ "\n",
+ "print \"t is %0.1fmm \"%(t)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t is 50.0mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 5-5 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "d=15#\n",
+ "Eg=480#\n",
+ "t=3#\n",
+ "#flange thickness=ft#\n",
+ "ft=12#\n",
+ "A=pi*d**2/4#\n",
+ "l=d+t+(ft/2)#\n",
+ "E=210#\n",
+ "kb=A*E/l#\n",
+ "#effective area of gasket=Ag#\n",
+ "Ag=pi*(((ft+t+d)**2)-(d**2))/4#\n",
+ "kg=Ag*Eg/t#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"kb is %0.3f N/mm \"%(kb)#\n",
+ "kb=kb*10**-3#\n",
+ "kg=kg*10**-3#\n",
+ "if (kb<=kg):\n",
+ " print \"\\nThe combines stiffness of bolt and gasket is %0.3f kN/mm\"%(kg)\n",
+ "\n",
+ "\n",
+ "#The difference in the value of kb is due to rounding-off the value of A \n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "kb is 1546.253 N/mm \n",
+ "\n",
+ "The combines stiffness of bolt and gasket is 84.823 kN/mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5_1.ipynb
new file mode 100755
index 00000000..30efcbab
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch5_1.ipynb
@@ -0,0 +1,258 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:5 Introduction to pressure vessels"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-1 - Page 138"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t1 is 3.83 mm \n",
+ "\n",
+ "t2 is 3.894 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "p=2#\n",
+ "Rm=220#\n",
+ "#tensile hoop or circumferential stress= sigt\n",
+ "sigr=-2#\n",
+ "#sigt=(p*Rm)/t#\n",
+ "Sa=230/2#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "t1=(p*Rm)/Sa#\n",
+ "t2=(p*Rm)/(Sa+sigr)#\n",
+ "print \"t1 is %0.2f mm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3f mm \"%(t2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-2 - Page 139"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 17.0mm \n",
+ "\n",
+ "M is 2295.0mm \n",
+ "\n",
+ "sigb is 47.6mm \n",
+ "sigb is below allowable sigd.\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "from __future__ import division\n",
+ "#Elastic limit=sige\n",
+ "sige=310#\n",
+ "#inside diameter=di\n",
+ "di=300#\n",
+ "p=1.8#\n",
+ "FOS=2#\n",
+ "#design stress=sigd#\n",
+ "sigd=sige/2#\n",
+ "c=0.162#\n",
+ "d=380#\n",
+ "#cover plate thickness=t#\n",
+ "t=d*sqrt(c*p/sigd)#\n",
+ "t=17#\n",
+ "M=di*p*t/4#\n",
+ "\n",
+ "z=(1/6)*1*t**2#\n",
+ "#bending stress=sigb#\n",
+ "sigb=M/z#\n",
+ "print \"t is %0.1fmm \"%(t)#\n",
+ "print \"\\nM is %0.1fmm \"%(M)#\n",
+ "print \"\\nsigb is %0.1fmm \"%(sigb)#\n",
+ "if (sigb<=sigd):\n",
+ " print 'sigb is below allowable sigd.'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-3 - Page 140"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t1 is 24.0mm \n",
+ "\n",
+ "t2 is 30.206mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "sige=220#\n",
+ "v=0.29#\n",
+ "Ri=175#\n",
+ "FOS=3#\n",
+ "Sa=sige/3#\n",
+ "p=10#\n",
+ "#t1=thickness according to maximum principal stress theory\n",
+ "#t2=thickness according to maximum shear stress theory\n",
+ "x=Sa+(p*(1-(2*v)))#\n",
+ "y=Sa-(p*(1+v))#\n",
+ "t1=(sqrt(x/y)-1)*Ri#\n",
+ "t1=24#\n",
+ "#t1=((sqrt((Sa+(p*(1-(2*v)))))/(Sa-(p*(1+v))))-1)*Ri#\n",
+ "t2=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"t1 is %0.1fmm \"%(t1)#\n",
+ "print \"\\nt2 is %0.3fmm \"%(t2)#\n",
+ "#The answer to t2 is not calculated in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-4 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "t is 50.0mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "p=16#\n",
+ "Ri=250#\n",
+ "#Yield strength =sigy#\n",
+ "sigy=330#\n",
+ "v=0.3#\n",
+ "FOS=3#\n",
+ "Sa=sigy/3#\n",
+ "t=Ri*((sqrt(Sa/(Sa-(2*p))))-1)#\n",
+ "t=50#\n",
+ "\n",
+ "print \"t is %0.1fmm \"%(t)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 5-5 - Page 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "kb is 1546.253 N/mm \n",
+ "\n",
+ "The combines stiffness of bolt and gasket is 84.823 kN/mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi,sqrt\n",
+ "d=15#\n",
+ "Eg=480#\n",
+ "t=3#\n",
+ "#flange thickness=ft#\n",
+ "ft=12#\n",
+ "A=pi*d**2/4#\n",
+ "l=d+t+(ft/2)#\n",
+ "E=210#\n",
+ "kb=A*E/l#\n",
+ "#effective area of gasket=Ag#\n",
+ "Ag=pi*(((ft+t+d)**2)-(d**2))/4#\n",
+ "kg=Ag*Eg/t#\n",
+ "# printing data in scilab o/p window\n",
+ "print \"kb is %0.3f N/mm \"%(kb)#\n",
+ "kb=kb*10**-3#\n",
+ "kg=kg*10**-3#\n",
+ "if (kb<=kg):\n",
+ " print \"\\nThe combines stiffness of bolt and gasket is %0.3f kN/mm\"%(kg)\n",
+ "\n",
+ "\n",
+ "#The difference in the value of kb is due to rounding-off the value of A \n",
+ " "
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6.ipynb
new file mode 100755
index 00000000..b43adfe9
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6.ipynb
@@ -0,0 +1,370 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e63b98d14884c3c025b7d2e036ef9d475b0841b82b0611aec18600a0b7443dfe"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:6 Levers"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-1 - Page 171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt, pi\n",
+ "Del=10#\n",
+ "k=500#\n",
+ "W=k*Del#\n",
+ "#Let load arm be l1\n",
+ "l1=200#\n",
+ "#Let effort arm be l2\n",
+ "l2=500#\n",
+ "P=W*l1/l2#\n",
+ "Ro=sqrt(W**2+P**2)#\n",
+ "Ta=40#\n",
+ "d=sqrt(Ro*4/(2*pi*Ta))#\n",
+ "d=10#\n",
+ "pb=10#\n",
+ "d1=sqrt(Ro/(pb*1.5))#\n",
+ "d1=20#\n",
+ "l=1.5*d#\n",
+ "t=10#\n",
+ "T=Ro*4/(2*pi*d1**2)#\n",
+ "M=(Ro/2*(l/2+t/3))-(Ro/2*l/4)#\n",
+ "sigb=32*M/(pi*d1**3)#\n",
+ "sigmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "P=Ro/(l*d1)#\n",
+ "D=2*d1#\n",
+ "print \" d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n D is %0.1f mm \"%(D)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d1 is 20.0 mm \n",
+ "\n",
+ " D is 40.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-2 - Page 172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d1=80#\n",
+ "p=0.981#\n",
+ "Ta=40#\n",
+ "siga=80#\n",
+ "pa=15#\n",
+ "W=pi*(d1**2)*p/4#\n",
+ "P=W/8#\n",
+ "Ws=W-P#\n",
+ "d=sqrt(W*4/(pi*2*Ta))#\n",
+ "l=1.5*d#\n",
+ "D=2*d#\n",
+ "T=W/(2*pi*pa**2/4)#\n",
+ "M1=P*(700-87.5-(D/2))#\n",
+ "h=50#\n",
+ "b=h/4#\n",
+ "Z=b*h**2/6#\n",
+ "sigb=M1/Z#\n",
+ "pmax=80#\n",
+ "T=2465.6/h**2#\n",
+ "pmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "print \" h is %0.2f mm \"%(h)#\n",
+ "print \"\\n pmax is %0.2f MPa \"%(pmax)#\n",
+ " \n",
+ "#The difference in the value of pmax is due to rounding-off the digits."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " h is 50.00 mm \n",
+ "\n",
+ " pmax is 74.43 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-3 - Page 173"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=((4*360)+(2*360))/900#\n",
+ "Fv=4-2#\n",
+ "Fh=P#\n",
+ "Fr=sqrt(Fv**2+Fh**2)#\n",
+ "P1=4*0.36/0.9#\n",
+ "Rf=sqrt(4**2+1.6**2)#\n",
+ "d=sqrt(Rf*10**3/(15*1.25))#\n",
+ "d=16#\n",
+ "l=1.25*d#\n",
+ "T=Rf*10**3*4/(2*pi*d**2)#\n",
+ "D=2*d#\n",
+ "M1=Rf*10**3*(360-(D/2))#\n",
+ "pa=15#\n",
+ "h=80#\n",
+ "b=h/4#\n",
+ "Z=b*h**2/6#\n",
+ "sigb=M1/Z#\n",
+ "T=4310/(b*h)#\n",
+ "pmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "print \"P is %0.1f KN \"%(P)#\n",
+ "print \"\\npmax is %0.2f MPa \"%(pmax)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 2.0 KN \n",
+ "\n",
+ "pmax is 69.53 MPa \n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-4 - Page 174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l=360#\n",
+ "P=400#\n",
+ "Mh=2*P*l/3#\n",
+ "sigb=50#\n",
+ "l1=60#\n",
+ "d=(Mh*32/(pi*l1))**(1/3)#\n",
+ "d=30#\n",
+ "L=420#\n",
+ "siga=60#\n",
+ "H=20#\n",
+ "B=H/3#\n",
+ "Mx=P*(L-H/2)#\n",
+ "Tx=2*P*l/3#\n",
+ "sigb1=Mx*18/H**3#\n",
+ "Td=P/(B*H)#\n",
+ "Tr=17.17*Tx/H**4#\n",
+ "T=Tr+Td#\n",
+ "sigmax=(sigb1/2)+sqrt((sigb1/2)**2+T**2)#\n",
+ "Tmax=sqrt((sigb1/2)**2+T**2)#\n",
+ "T=P*L#\n",
+ "M=P*(l1+(2/3*l))#\n",
+ "Te=sqrt(T**2+M**2)#\n",
+ "Ta=40#\n",
+ "D=(Te*16/(pi*Ta))**(1/3)#\n",
+ "D=30# #Rounding off to nearest whole number\n",
+ "print \"d is %0.1f mm \"%(d)#\n",
+ "print \"\\nD is %0.1f mm \"%(D)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 30.0 mm \n",
+ "\n",
+ "D is 30.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-5 - Page 175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l2=300#\n",
+ "l=450#\n",
+ "P=400#\n",
+ "Mx=2*P*l2/3#\n",
+ "siga=80#\n",
+ "dh=(Mx*32/(pi*siga))**(1/3)#\n",
+ "dh=22#\n",
+ "L=(2*l2/3)+l#\n",
+ "T=P*L#\n",
+ "Ta=40#\n",
+ "d=(T*16/(pi*Ta))**(1/3)#\n",
+ "d=35#\n",
+ "d1=1.6*d#\n",
+ "Th=T*16*d1/(pi*(d1**4-d**4))#\n",
+ "l1=1.5*d#\n",
+ "My=P*(L-(d1/2))#\n",
+ "B=dh#\n",
+ "H=sqrt(3.66*75)#\n",
+ "H=30#\n",
+ "Mz=P*l1/2#\n",
+ "Te=sqrt(T**2+Mz**2)#\n",
+ "d2=(Te*16/(pi*Ta))**(1/3)#\n",
+ "d2=32#\n",
+ "b=d/4#\n",
+ "b=9# #Rounding off to nearest whole number\n",
+ "t=d/6#\n",
+ "t=6# #Rounding off to nearest whole number\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n dh is %0.1f mm \"%(dh)#\n",
+ "print \"\\n d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n l1 is %0.1f mm \"%(l1)#\n",
+ "print \"\\n d2 is %0.1f mm \"%(d2)#\n",
+ "print \"\\n b is %0.1f mm \"%(b)#\n",
+ "print \"\\n t is %0.1f mm \"%(t)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 35.0 mm \n",
+ "\n",
+ " dh is 22.0 mm \n",
+ "\n",
+ " d1 is 56.0 mm \n",
+ "\n",
+ " l1 is 52.5 mm \n",
+ "\n",
+ " d2 is 32.0 mm \n",
+ "\n",
+ " b is 9.0 mm \n",
+ "\n",
+ " t is 6.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 6-6 - Page 175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "L=450#\n",
+ "P=700#\n",
+ "T=P*L#\n",
+ "Ta=50#\n",
+ "d=(T*16/(pi*Ta))**(1/3)#\n",
+ "d=32#\n",
+ "d1=1.6*d#\n",
+ "d1=52# #Rounding off to nearest whole number\n",
+ "l1=1.25*d#\n",
+ "My=P*(L-d1/2)#\n",
+ "sigb=65#\n",
+ "H=(My*18/sigb)**(1/3)#\n",
+ "H=45#\n",
+ "B=H/3#\n",
+ "T1=P/(B*H)#\n",
+ "sigmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "Mx=P*l1/2#\n",
+ "Te=sqrt((T)**2+(Mx**2))#\n",
+ "d2=(Te*16/(pi*Ta))**(1/3)#\n",
+ "d2=d2+6#\n",
+ "d2=38# #Rounding off to nearest whole number\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n l1 is %0.1f mm \"%(l1)#\n",
+ "print \"\\n B is %0.1f mm \"%(B)#\n",
+ "print \"\\n H is %0.1f mm \"%(H)#\n",
+ "print \"\\n d2 is %0.1f mm \"%(d2)#\n",
+ " "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 32.0 mm \n",
+ "\n",
+ " d1 is 52.0 mm \n",
+ "\n",
+ " l1 is 40.0 mm \n",
+ "\n",
+ " B is 15.0 mm \n",
+ "\n",
+ " H is 45.0 mm \n",
+ "\n",
+ " d2 is 38.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6_1.ipynb
new file mode 100755
index 00000000..54908fbc
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch6_1.ipynb
@@ -0,0 +1,378 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:6 Levers"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-1 - Page 171"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d1 is 20.0 mm \n",
+ "\n",
+ " D is 40.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "Del=10#\n",
+ "k=500#\n",
+ "W=k*Del#\n",
+ "#Let load arm be l1\n",
+ "l1=200#\n",
+ "#Let effort arm be l2\n",
+ "l2=500#\n",
+ "P=W*l1/l2#\n",
+ "Ro=sqrt(W**2+P**2)#\n",
+ "Ta=40#\n",
+ "d=sqrt(Ro*4/(2*pi*Ta))#\n",
+ "d=10#\n",
+ "pb=10#\n",
+ "d1=sqrt(Ro/(pb*1.5))#\n",
+ "d1=20#\n",
+ "l=1.5*d#\n",
+ "t=10#\n",
+ "T=Ro*4/(2*pi*d1**2)#\n",
+ "M=(Ro/2*(l/2+t/3))-(Ro/2*l/4)#\n",
+ "sigb=32*M/(pi*d1**3)#\n",
+ "sigmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "P=Ro/(l*d1)#\n",
+ "D=2*d1#\n",
+ "print \" d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n D is %0.1f mm \"%(D)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-2 - Page 172"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " h is 50.00 mm \n",
+ "\n",
+ " pmax is 74.43 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "d1=80#\n",
+ "p=0.981#\n",
+ "Ta=40#\n",
+ "siga=80#\n",
+ "pa=15#\n",
+ "W=pi*(d1**2)*p/4#\n",
+ "P=W/8#\n",
+ "Ws=W-P#\n",
+ "d=sqrt(W*4/(pi*2*Ta))#\n",
+ "l=1.5*d#\n",
+ "D=2*d#\n",
+ "T=W/(2*pi*pa**2/4)#\n",
+ "M1=P*(700-87.5-(D/2))#\n",
+ "h=50#\n",
+ "b=h/4#\n",
+ "Z=b*h**2/6#\n",
+ "sigb=M1/Z#\n",
+ "pmax=80#\n",
+ "T=2465.6/h**2#\n",
+ "pmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "print \" h is %0.2f mm \"%(h)#\n",
+ "print \"\\n pmax is %0.2f MPa \"%(pmax)#\n",
+ " \n",
+ "#The difference in the value of pmax is due to rounding-off the digits."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-3 - Page 173"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 2.0 KN \n",
+ "\n",
+ "pmax is 69.53 MPa \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "P=((4*360)+(2*360))/900#\n",
+ "Fv=4-2#\n",
+ "Fh=P#\n",
+ "Fr=sqrt(Fv**2+Fh**2)#\n",
+ "P1=4*0.36/0.9#\n",
+ "Rf=sqrt(4**2+1.6**2)#\n",
+ "d=sqrt(Rf*10**3/(15*1.25))#\n",
+ "d=16#\n",
+ "l=1.25*d#\n",
+ "T=Rf*10**3*4/(2*pi*d**2)#\n",
+ "D=2*d#\n",
+ "M1=Rf*10**3*(360-(D/2))#\n",
+ "pa=15#\n",
+ "h=80#\n",
+ "b=h/4#\n",
+ "Z=b*h**2/6#\n",
+ "sigb=M1/Z#\n",
+ "T=4310/(b*h)#\n",
+ "pmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "print \"P is %0.1f KN \"%(P)#\n",
+ "print \"\\npmax is %0.2f MPa \"%(pmax)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-4 - Page 174"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 30.0 mm \n",
+ "\n",
+ "D is 30.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "l=360#\n",
+ "P=400#\n",
+ "Mh=2*P*l/3#\n",
+ "sigb=50#\n",
+ "l1=60#\n",
+ "d=(Mh*32/(pi*l1))**(1/3)#\n",
+ "d=30#\n",
+ "L=420#\n",
+ "siga=60#\n",
+ "H=20#\n",
+ "B=H/3#\n",
+ "Mx=P*(L-H/2)#\n",
+ "Tx=2*P*l/3#\n",
+ "sigb1=Mx*18/H**3#\n",
+ "Td=P/(B*H)#\n",
+ "Tr=17.17*Tx/H**4#\n",
+ "T=Tr+Td#\n",
+ "sigmax=(sigb1/2)+sqrt((sigb1/2)**2+T**2)#\n",
+ "Tmax=sqrt((sigb1/2)**2+T**2)#\n",
+ "T=P*L#\n",
+ "M=P*(l1+(2/3*l))#\n",
+ "Te=sqrt(T**2+M**2)#\n",
+ "Ta=40#\n",
+ "D=(Te*16/(pi*Ta))**(1/3)#\n",
+ "D=30# #Rounding off to nearest whole number\n",
+ "print \"d is %0.1f mm \"%(d)#\n",
+ "print \"\\nD is %0.1f mm \"%(D)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-5 - Page 175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 35.0 mm \n",
+ "\n",
+ " dh is 22.0 mm \n",
+ "\n",
+ " d1 is 56.0 mm \n",
+ "\n",
+ " l1 is 52.5 mm \n",
+ "\n",
+ " d2 is 32.0 mm \n",
+ "\n",
+ " b is 9.0 mm \n",
+ "\n",
+ " t is 6.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "l2=300#\n",
+ "l=450#\n",
+ "P=400#\n",
+ "Mx=2*P*l2/3#\n",
+ "siga=80#\n",
+ "dh=(Mx*32/(pi*siga))**(1/3)#\n",
+ "dh=22#\n",
+ "L=(2*l2/3)+l#\n",
+ "T=P*L#\n",
+ "Ta=40#\n",
+ "d=(T*16/(pi*Ta))**(1/3)#\n",
+ "d=35#\n",
+ "d1=1.6*d#\n",
+ "Th=T*16*d1/(pi*(d1**4-d**4))#\n",
+ "l1=1.5*d#\n",
+ "My=P*(L-(d1/2))#\n",
+ "B=dh#\n",
+ "H=sqrt(3.66*75)#\n",
+ "H=30#\n",
+ "Mz=P*l1/2#\n",
+ "Te=sqrt(T**2+Mz**2)#\n",
+ "d2=(Te*16/(pi*Ta))**(1/3)#\n",
+ "d2=32#\n",
+ "b=d/4#\n",
+ "b=9# #Rounding off to nearest whole number\n",
+ "t=d/6#\n",
+ "t=6# #Rounding off to nearest whole number\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n dh is %0.1f mm \"%(dh)#\n",
+ "print \"\\n d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n l1 is %0.1f mm \"%(l1)#\n",
+ "print \"\\n d2 is %0.1f mm \"%(d2)#\n",
+ "print \"\\n b is %0.1f mm \"%(b)#\n",
+ "print \"\\n t is %0.1f mm \"%(t)#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 6-6 - Page 175"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 32.0 mm \n",
+ "\n",
+ " d1 is 52.0 mm \n",
+ "\n",
+ " l1 is 40.0 mm \n",
+ "\n",
+ " B is 15.0 mm \n",
+ "\n",
+ " H is 45.0 mm \n",
+ "\n",
+ " d2 is 38.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt, pi\n",
+ "L=450#\n",
+ "P=700#\n",
+ "T=P*L#\n",
+ "Ta=50#\n",
+ "d=(T*16/(pi*Ta))**(1/3)#\n",
+ "d=32#\n",
+ "d1=1.6*d#\n",
+ "d1=52# #Rounding off to nearest whole number\n",
+ "l1=1.25*d#\n",
+ "My=P*(L-d1/2)#\n",
+ "sigb=65#\n",
+ "H=(My*18/sigb)**(1/3)#\n",
+ "H=45#\n",
+ "B=H/3#\n",
+ "T1=P/(B*H)#\n",
+ "sigmax=(sigb/2)+sqrt((sigb/2)**2+T**2)#\n",
+ "Mx=P*l1/2#\n",
+ "Te=sqrt((T)**2+(Mx**2))#\n",
+ "d2=(Te*16/(pi*Ta))**(1/3)#\n",
+ "d2=d2+6#\n",
+ "d2=38# #Rounding off to nearest whole number\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n d1 is %0.1f mm \"%(d1)#\n",
+ "print \"\\n l1 is %0.1f mm \"%(l1)#\n",
+ "print \"\\n B is %0.1f mm \"%(B)#\n",
+ "print \"\\n H is %0.1f mm \"%(H)#\n",
+ "print \"\\n d2 is %0.1f mm \"%(d2)#\n",
+ " "
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7.ipynb
new file mode 100755
index 00000000..3a83b942
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7.ipynb
@@ -0,0 +1,303 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f63edcd22a3bf57c69f1f76aca0a01ff1dd288f9c7a8d1b01585ac7b29af9fbe"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:7 Struts and Columns"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-1 - Page 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "sigc=550#\n",
+ "FOS=4#\n",
+ "sigw=sigc/FOS#\n",
+ "l=4000#\n",
+ "le=l/2#\n",
+ "A=pi*(1-0.7**2)/4#\n",
+ "K=(1+0.7**2)/16#\n",
+ "Pr=800*10**3#\n",
+ "a=1/1600#\n",
+ "D=130# #Rounding off to nearest whole number\n",
+ "d=D*0.7#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nd is %0.1f mm \"%(d)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "D is 130.0 mm \n",
+ "\n",
+ "d is 91.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-2 - Page 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "l=500#\n",
+ "E=70*10**3#\n",
+ "P=20*10**3#\n",
+ "FOS=2#\n",
+ "d=P*2*12*4*l**2/((pi)**2*E)#\n",
+ "d=(sqrt(8)*d)**0.25#\n",
+ "b=d/sqrt(8)#\n",
+ "print \"d is %0.2f mm \"%(d)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 37.44 mm \n",
+ "\n",
+ "b is 13.24 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-3 - Page193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Ixx=(2*1696.6)+115.4#\n",
+ "Iyy=1696.6+(2*115.4)+(2*25.27*10.27**2)#\n",
+ "A=3*25.27#\n",
+ "Kmin=sqrt(Ixx/75.81)#\n",
+ "L=600#\n",
+ "k=L/Kmin#\n",
+ "sigc=110#\n",
+ "c=1/200#\n",
+ "sigw=sigc*(1-(c*k))#\n",
+ "Pw=sigw*A#\n",
+ "a=1/7500#\n",
+ "sigc1=320#\n",
+ "Pr=(sigc1*A)/(1+(a*(L/Kmin)**2))#\n",
+ "FOS=Pr/Pw#\n",
+ "print \"FOS is %0.2f \"%(FOS)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "FOS is 2.91 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-4 - Page 194"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Iyy=193.4+(2*1.2*1.5**3/12)#\n",
+ "E=200*10**3#\n",
+ "l=500#\n",
+ "Pe=(pi**2)*E*Iyy*10**5/(l**2)#\n",
+ "A=35.53+(2*1.2*15)#\n",
+ "sige=Pe/7530#\n",
+ "k=sqrt(Iyy/A)#\n",
+ "xc=75#\n",
+ "sig=80#\n",
+ "sigo=20.875#\n",
+ "A=A*100#\n",
+ "P=sigo*A#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.1f kN \"%(P)#\n",
+ " \n",
+ " #The difference in the value of P is due to rounding-off the digits."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 149.3 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-5 - Page 195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigc=330#\n",
+ "a=1/7500#\n",
+ "t=4#\n",
+ "A=14.5*t**2#\n",
+ "l=300#\n",
+ "Kx=sqrt(1.4626*t**2)#\n",
+ "Pr=sigc*A/(1+(a*(l/Kx)**2))#\n",
+ "FOS=2#\n",
+ "P=Pr/FOS*10**-3#\n",
+ "print \"P is %0.4f KN \"%(P)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 38.2800 KN \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-6 - Page 195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P=1500#\n",
+ "FOS=2#\n",
+ "Pd=FOS*P#\n",
+ "l=280#\n",
+ "E=207*10**3#\n",
+ "I=Pd*l**2/(pi**2*E)#\n",
+ "D=(64*I/(pi*(1-0.8**4)))**(1/4)#\n",
+ "D=8#\n",
+ "d=6.4#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nd is %0.1f mm \"%(d)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "D is 8.0 mm \n",
+ "\n",
+ "d is 6.4 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 7-7 - Page 196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "D=500#\n",
+ "p=0.3#\n",
+ "E=208*10**3#\n",
+ "sigc=320#\n",
+ "a=1/7500#\n",
+ "l=2000#\n",
+ "le=l/2#\n",
+ "W=pi*D**2*p/4#\n",
+ "FOS=4#\n",
+ "Wd=W*FOS#\n",
+ "I=Wd*l**2/(pi**2*E)#\n",
+ "d=(64*I/pi)**(1/4)#\n",
+ "A=pi*d**2/4#\n",
+ "k=d/4#\n",
+ "d=45# #Rounding off to nearest whole number\n",
+ "print \"d is %0.1f mm \"%(d)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "d is 45.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7_1.ipynb
new file mode 100755
index 00000000..02b194b6
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch7_1.ipynb
@@ -0,0 +1,310 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:7 Struts and Columns"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-1 - Page 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "D is 130.0 mm \n",
+ "\n",
+ "d is 91.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "sigc=550#\n",
+ "FOS=4#\n",
+ "sigw=sigc/FOS#\n",
+ "l=4000#\n",
+ "le=l/2#\n",
+ "A=pi*(1-0.7**2)/4#\n",
+ "K=(1+0.7**2)/16#\n",
+ "Pr=800*10**3#\n",
+ "a=1/1600#\n",
+ "D=130# #Rounding off to nearest whole number\n",
+ "d=D*0.7#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nd is %0.1f mm \"%(d)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-2 - Page 192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 37.44 mm \n",
+ "\n",
+ "b is 13.24 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "l=500#\n",
+ "E=70*10**3#\n",
+ "P=20*10**3#\n",
+ "FOS=2#\n",
+ "d=P*2*12*4*l**2/((pi)**2*E)#\n",
+ "d=(sqrt(8)*d)**0.25#\n",
+ "b=d/sqrt(8)#\n",
+ "print \"d is %0.2f mm \"%(d)#\n",
+ "print \"\\nb is %0.2f mm \"%(b)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-3 - Page193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "FOS is 2.91 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "Ixx=(2*1696.6)+115.4#\n",
+ "Iyy=1696.6+(2*115.4)+(2*25.27*10.27**2)#\n",
+ "A=3*25.27#\n",
+ "Kmin=sqrt(Ixx/75.81)#\n",
+ "L=600#\n",
+ "k=L/Kmin#\n",
+ "sigc=110#\n",
+ "c=1/200#\n",
+ "sigw=sigc*(1-(c*k))#\n",
+ "Pw=sigw*A#\n",
+ "a=1/7500#\n",
+ "sigc1=320#\n",
+ "Pr=(sigc1*A)/(1+(a*(L/Kmin)**2))#\n",
+ "FOS=Pr/Pw#\n",
+ "print \"FOS is %0.2f \"%(FOS)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-4 - Page 194"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 149.3 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "Iyy=193.4+(2*1.2*1.5**3/12)#\n",
+ "E=200*10**3#\n",
+ "l=500#\n",
+ "Pe=(pi**2)*E*Iyy*10**5/(l**2)#\n",
+ "A=35.53+(2*1.2*15)#\n",
+ "sige=Pe/7530#\n",
+ "k=sqrt(Iyy/A)#\n",
+ "xc=75#\n",
+ "sig=80#\n",
+ "sigo=20.875#\n",
+ "A=A*100#\n",
+ "P=sigo*A#\n",
+ "P=P*10**-3#\n",
+ "print \"P is %0.1f kN \"%(P)#\n",
+ " \n",
+ "#The difference in the value of P is due to rounding-off the digits."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-5 - Page 195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 38.2800 KN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "sigc=330#\n",
+ "a=1/7500#\n",
+ "t=4#\n",
+ "A=14.5*t**2#\n",
+ "l=300#\n",
+ "Kx=sqrt(1.4626*t**2)#\n",
+ "Pr=sigc*A/(1+(a*(l/Kx)**2))#\n",
+ "FOS=2#\n",
+ "P=Pr/FOS*10**-3#\n",
+ "print \"P is %0.4f KN \"%(P)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-6 - Page 195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "D is 8.0 mm \n",
+ "\n",
+ "d is 6.4 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "P=1500#\n",
+ "FOS=2#\n",
+ "Pd=FOS*P#\n",
+ "l=280#\n",
+ "E=207*10**3#\n",
+ "I=Pd*l**2/(pi**2*E)#\n",
+ "D=(64*I/(pi*(1-0.8**4)))**(1/4)#\n",
+ "D=8#\n",
+ "d=6.4#\n",
+ "print \"D is %0.1f mm \"%(D)#\n",
+ "print \"\\nd is %0.1f mm \"%(d)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 7-7 - Page 196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "d is 45.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "D=500#\n",
+ "p=0.3#\n",
+ "E=208*10**3#\n",
+ "sigc=320#\n",
+ "a=1/7500#\n",
+ "l=2000#\n",
+ "le=l/2#\n",
+ "W=pi*D**2*p/4#\n",
+ "FOS=4#\n",
+ "Wd=W*FOS#\n",
+ "I=Wd*l**2/(pi**2*E)#\n",
+ "d=(64*I/pi)**(1/4)#\n",
+ "A=pi*d**2/4#\n",
+ "k=d/4#\n",
+ "d=45# #Rounding off to nearest whole number\n",
+ "print \"d is %0.1f mm \"%(d)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8.ipynb
new file mode 100755
index 00000000..520e04b8
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8.ipynb
@@ -0,0 +1,832 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:e4245d57622666881114047950aef2cecdad4d23a29878d669ecae5aa1b95679"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:8 Springs"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-1 - Page 224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=5#\n",
+ "D=30#\n",
+ "G=84*(10**3)#\n",
+ "Na=15#\n",
+ "#Axial Load W\n",
+ "W=300#\n",
+ "#Spring index C\n",
+ "C=30/5#\n",
+ "#Shear stress Augmentation factor Ks\n",
+ "Ks=((2*C)+1)/(2*C)#\n",
+ "#Wahl's factor Kw\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "#Curvature correction factor Kc\n",
+ "Kc=Kw/Ks#\n",
+ "#Spring stiffness k\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "#Axial deflection delta\n",
+ "delta=W/k#\n",
+ "print \" Ks is %0.4f \"%(Ks)#\n",
+ "print \"\\n Kw is %0.4f \"%(Kw)#\n",
+ "print \"\\n Kc is %0.3f \"%(Kc)#\n",
+ "print \"\\n The Spring Stiffness is %0.1f N/mm\"%(k)#\n",
+ "print \"\\n The Axial deflection is %0.3f mm\"%(delta)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Ks is 1.0000 \n",
+ "\n",
+ " Kw is 1.1025 \n",
+ "\n",
+ " Kc is 1.103 \n",
+ "\n",
+ " The Spring Stiffness is 16.0 N/mm\n",
+ "\n",
+ " The Axial deflection is 18.000 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-2 - Page 224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "W=196.2#\n",
+ "lenthofscale=50#\n",
+ "k=196.2/50#\n",
+ "C=8#\n",
+ "Ks=(1+(0.5/C))#\n",
+ "\n",
+ "# Let us choose oil tempered wire 0.6-0.7 %C. Refer to Table 8-4 for constants A and m, relating strength wire \n",
+ "#diameter.\n",
+ "G=77.2*(10**3)#\n",
+ "A=1855#\n",
+ "m=0.187#\n",
+ "# equating Tmax=0.5*sig(ut).\n",
+ "# Ks*(8*W*D/(pi*(d**3)))=0.5*A/(d**2)\n",
+ "d1=(Ks*(8*W*C/(pi*A*0.5)))#\n",
+ "d=d1**(1/1.813)#\n",
+ "D=C*d#\n",
+ "Na=G*(d**4)/(8*(D**3)*k)#\n",
+ "#Solid length = SL\n",
+ "SL=(Na-1)*d\n",
+ "\n",
+ "print \" wire diameter is %0.3f mm \"%(d)#\n",
+ "print \"\\n mean diameter is %0.3f mm \"%(D)#\n",
+ "print \"\\n Number of acting coils are %0.3f \"%(Na)#\n",
+ "\n",
+ "#The difference in the values of d,D and Na is due to rounding-off the digits."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " wire diameter is 2.314 mm \n",
+ "\n",
+ " mean diameter is 18.516 mm \n",
+ "\n",
+ " Number of acting coils are 11.117 \n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-3 - Page 225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=1.626#\n",
+ "A=2211#\n",
+ "m=0.145#\n",
+ "rm=3#\n",
+ "ri=(rm-(d/2))#\n",
+ "sigma=A/(d**m)#\n",
+ "W=(sigma*pi*(d**3)*ri)/(32*(rm**2))#\n",
+ "print \" Ultimate tensile Strength is %0.1f MPa \"%(sigma)#\n",
+ "print \"\\n Force at which the spring hook fails is %0.1f N \"%(W)#\n",
+ "\n",
+ "#The difference in the values of sigma and W is due to rounding-off the digits."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Ultimate tensile Strength is 2060.5 MPa \n",
+ "\n",
+ " Force at which the spring hook fails is 211.3 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-4 - Page 226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Do=25#\n",
+ "# mean coil diameter D=25-d\n",
+ "W=150#\n",
+ "T=800#\n",
+ "G=81000#\n",
+ "# Substituting values in equation T=8*W*D/(pi*(d**3))\n",
+ "# therefore, the equation becomes d**3 + 0.477*d = 11.936\n",
+ "#consider d=2.2mm, (d can be taken between 2.2-2.3mm)\n",
+ "d=2.337# #(nearest available wire gauge)\n",
+ "C=9.5#\n",
+ "D=22.2# \n",
+ "Do=D+d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Tmax=Ks*8*W*D/(pi*(d**3))#\n",
+ "# check for safety- Tmax<T#\n",
+ "Lo=100#\n",
+ "Ls=40#\n",
+ "#Lo=Ls+delta+0.15*delta\n",
+ "delta=(Lo-Ls)/1.15#\n",
+ "delta=50#\n",
+ "k=150/50#\n",
+ "Na=(G*d**4)/(8*(D**3)*k)#\n",
+ "\n",
+ "N=Na+2#\n",
+ "Ls=N*d#\n",
+ "Lo=Ls+(1.15*delta)#\n",
+ "print \" d is %0.3fmm \"%(d)#\n",
+ "print \"\\n D is %0.2f mm\"%(D)#\n",
+ "print \"\\n Ls is %0.2f mm\"%(Ls)#\n",
+ "print \"\\n Lo is %0.2f mm\"%(Lo)#\n",
+ "if (Do<=25):\n",
+ " print '\\nThe diameter is within space constraints'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 2.337mm \n",
+ "\n",
+ " D is 22.20 mm\n",
+ "\n",
+ " Ls is 26.18 mm\n",
+ "\n",
+ " Lo is 83.68 mm\n",
+ "\n",
+ "The diameter is within space constraints\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-5A - Page 227"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Di=15#\n",
+ "Do=20#\n",
+ "d=2.3#\n",
+ "D=17.5#\n",
+ "C=D/d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Wmax=100#\n",
+ "Tmax=Ks*8*Wmax*D/(pi*(d**3))#\n",
+ "G=81000#\n",
+ "delmax=67.7/2.366#\n",
+ "k=100/28#\n",
+ "Na=G*(d**4)/(8*k*(D**3))#\n",
+ "Ls=Na+1# #(for plain ends)\n",
+ "delmax=28#\n",
+ "#TL= total working length\n",
+ "TL=Ls+delmax+(0.15*delmax)#\n",
+ "print \" d is %0.1fmm \"%(d)#\n",
+ "print \"\\n C is %0.1f \"%(C)#\n",
+ "print \"\\n Na is %0.1f \"%(Na)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 2.3mm \n",
+ "\n",
+ " C is 7.6 \n",
+ "\n",
+ " Na is 17.6 \n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-6 - Page- 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# 18 SWG=1.219MM in dia\n",
+ "d=1.219#\n",
+ "E=198.6*10**3#\n",
+ "G=80.7*10**3#\n",
+ "m=0.19#\n",
+ "A=1783#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=(0.4*sig)#\n",
+ "Do=12.5#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ks=((2*C)+1)/(2*C)#\n",
+ "W=(Tys*pi*(d**3))/(8*D*Ks)#\n",
+ "Nt=13.5#\n",
+ "Na=Nt-2#\n",
+ "Del=(8*W*(D**3)*Na)/(G*(d**4))#\n",
+ "Ls=(Nt-1)*d#\n",
+ "Lo=Ls+Del+(0.15*Del)#\n",
+ "print \" Tys is %0.1f MPa \"%(Tys)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n del is %0.3f mm \"%(Del)#\n",
+ "print \"\\n Ls is %0.4f mm \"%(Ls)#\n",
+ "print \"\\n Lo is %0.2f mm \"%(Lo)#\n",
+ " \n",
+ "#Answers in the book for Torsional yeild strength have been rounded-off to the nearest whole number."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tys is 686.9 MPa \n",
+ "\n",
+ " W is 41.1 N \n",
+ "\n",
+ " del is 30.457 mm \n",
+ "\n",
+ " Ls is 15.2375 mm \n",
+ "\n",
+ " Lo is 50.26 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-7 - Page 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=1.016#\n",
+ "A=2211#\n",
+ "m=0.145#\n",
+ "G=81000#\n",
+ "Nt=16#\n",
+ "Na=16-2#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=0.45*sig#\n",
+ "Do=12.6#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "W=(Tys*pi*(d**3))/(8*D*Ks)#\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "Del=W/k#\n",
+ "Ls=(Nt-1)*d#\n",
+ "Lo=Ls+(1.15*Del)#\n",
+ "\n",
+ "print \"Tys is %0.1f MPa \"%(Tys)#\n",
+ "print \"\\n Do is %0.1f N \"%(Do)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n k is %0.3f N \"%(k)#\n",
+ "print \"\\n del is %0.2f mm \"%(Del)#\n",
+ "print \"\\n Ls is %0.2f mm \"%(Ls)#\n",
+ "print \"\\n Lo is %0.3f mm \"%(Lo)#\n",
+ " \n",
+ "if ((Lo/D)>=5.26):\n",
+ " print 'The spring will fail under buckling'\n",
+ "\n",
+ "\n",
+ "#Values after the decimal point has not been considered for answer of Torsional yeild strength in the book, whereas answers for deflection and free-length is different as entire value of variables is taken for calculation in the code."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tys is 992.7 MPa \n",
+ "\n",
+ " Do is 12.6 N \n",
+ "\n",
+ " W is 33.8 N \n",
+ "\n",
+ " k is 0.496 N \n",
+ "\n",
+ " del is 68.20 mm \n",
+ "\n",
+ " Ls is 15.24 mm \n",
+ "\n",
+ " Lo is 93.669 mm \n",
+ "The spring will fail under buckling\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-8 - Page 229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=2#\n",
+ "Do=20#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Na=9#\n",
+ "#Material hard drawn spring steel\n",
+ "A=1783#\n",
+ "m=0.19#\n",
+ "G=81000#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=0.45*sig\n",
+ "Kf=1.5#\n",
+ "Ta=Tys/Kf#\n",
+ "Ks=1+(0.5/C)#\n",
+ "W=(Ta*pi*(d**3))/(8*D*Ks)#\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "Del=W/k#\n",
+ "Lo=((Na+1)*d)+(1.15*Del)#\n",
+ "p=(Lo-d)/Na#\n",
+ "print \"k is %0.3f N/mm \"%(k)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n Lo is %0.3f mm \"%(Lo)#\n",
+ "print \"\\n p is %0.3f mm \"%(p)#\n",
+ " \n",
+ " \n",
+ "if ((Lo)>=47.34):\n",
+ " print 'The spring will fail under buckling'\n",
+ "\n",
+ "#The answer for value of spring rate 'k' is misprinted in the book. Due to this all subsequent values of del,Lo,p is calucated incorrectly in the book."
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "k is 3.000 N/mm \n",
+ "\n",
+ " W is 77.5 N \n",
+ "\n",
+ " Lo is 49.720 mm \n",
+ "\n",
+ " p is 5.302 mm \n",
+ "The spring will fail under buckling\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-9 - Page 230"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "# for music wire\n",
+ "d1=11.5#\n",
+ "A=2211#\n",
+ "d=1.5#\n",
+ "m=0.145#\n",
+ "sigut=A/(d**m)#\n",
+ "sigy=0.78*sigut#\n",
+ "Do=16#\n",
+ "E=2*(10**5)#\n",
+ "Nb=4.25#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ki=((4*(C**2))-C-1)/(4*C*(C-1))#\n",
+ "Mmax=(sigy*pi*(d**3))/(32*Ki)#\n",
+ "kc=((d**4)*E)/(10.8*D*Nb)#\n",
+ "theta3=Mmax/kc#\n",
+ "l1=20#\n",
+ "l2=20#\n",
+ "Ne=(l1+l2)/(3*pi*D)#\n",
+ "Na=Nb+Ne#\n",
+ "k=((d**4)*E)/(10.8*Na*D)#\n",
+ "thetat=Mmax/k#\n",
+ "ke=(3*pi*(d**4)*E)/(10.8*(l1+l2))#\n",
+ "# angdisp=theta1+theta2=Mmax/ke#\n",
+ "angdisp=Mmax/ke#\n",
+ "#D1 is final coil diameter\n",
+ "D1=(Nb*D)/(Nb+theta3)#\n",
+ "#IRC=Initial radial clearance\n",
+ "IRC=((D-d)-d1)/2#\n",
+ "#FRC=Final radial clearance\n",
+ "FRC=((D1-d)-d1)/2#\n",
+ "\n",
+ "\n",
+ "\n",
+ "print \" Maximum Torque is %0.2f Nmm \"%(Mmax)#\n",
+ "print \"\\n theta3 is %0.3f turns \"%(theta3)#\n",
+ "print \"\\n Ne is %0.3f turns \"%(Ne)#\n",
+ "print \"\\n ke is %0.1f N/mm \"%(ke)#\n",
+ "print \"\\n theta1+theta2 is %0.4f turns \"%(angdisp)#\n",
+ "print \"\\n D1 is %0.2f mm \"%(D1)#\n",
+ "print \"\\n IRC is %0.2f mm \"%(IRC)#\n",
+ "print \"\\n FRC is %0.2f mm \"%(FRC)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Maximum Torque is 497.25 Nmm \n",
+ "\n",
+ " theta3 is 0.327 turns \n",
+ "\n",
+ " Ne is 0.293 turns \n",
+ "\n",
+ " ke is 22089.3 N/mm \n",
+ "\n",
+ " theta1+theta2 is 0.0225 turns \n",
+ "\n",
+ " D1 is 13.46 mm \n",
+ "\n",
+ " IRC is 0.75 mm \n",
+ "\n",
+ " FRC is 0.23 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-10 - Page 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "A=1783#\n",
+ "m=0.190#\n",
+ "d=1.5#\n",
+ "D=15#\n",
+ "M=300#\n",
+ "E=20800#\n",
+ "k=30#\n",
+ "#sigult= ultimate strength of the material\n",
+ "# sigy= yield strength of the material\n",
+ "sigult=A/(d**m)#\n",
+ "sigy=0.7*sigult#\n",
+ "#siga= allowable yield strength of the material\n",
+ "siga=sigy/2#\n",
+ "C=D/d#\n",
+ "Ki=(4*(C**2)-C-1)/(4*C*(C-1))#\n",
+ "Z=pi*(d**3)/32#\n",
+ "#sigb=bending strength of the material#\n",
+ "sigb=Ki*M/Z#\n",
+ "while (sigb>=siga) :\n",
+ " d=d+0.15#\n",
+ " D=15#\n",
+ " C=D/d#\n",
+ " sigult=A/(d**m)#\n",
+ " sigy=0.7*sigult#\n",
+ " siga=sigy/2#\n",
+ " Ki=(4*(C**2)-C-1)/(4*C*(C-1))#\n",
+ " Z=pi*(d**3)/32#\n",
+ " sigb=Ki*M/Z#\n",
+ "\n",
+ "d=2## rounding off the value of the diameter.\n",
+ "Na=(d**4)*E/(64*D*k)#\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n D is %0.1f mm \"%(D)#\n",
+ "print \"\\n Na is %0.2f mm \"%(Na)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " d is 2.0 mm \n",
+ "\n",
+ " D is 15.0 mm \n",
+ "\n",
+ " Na is 11.00 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 24
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-11 - Page 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "L=1180#\n",
+ "W=40*(10**3)#\n",
+ "Nf=2#\n",
+ "Ng=8#\n",
+ "E=207*(10**3)#\n",
+ "#sigut is ultimate strength\n",
+ "sigut=1400#\n",
+ "FOS=2#\n",
+ "#siga= allowable yield strength of the material\n",
+ "siga=1400/2#\n",
+ "#sigbf=bending strength in full length\n",
+ "sigbf=700#\n",
+ "b=75#\n",
+ "t=((4.5*W*L)/(((3*Nf)+(2*Ng))*sigbf))**(0.5)#\n",
+ "t=14#\n",
+ "I=(Nf*b*(t**3))/12#\n",
+ "Wf=(3*Nf*W)/((3*Nf)+(2*Ng))#\n",
+ "Del=(Wf*(L**3))/(48*E*I)#\n",
+ "print \" t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Wf is %0.0f N \"%(Wf)#\n",
+ "print \"\\n I is %0.0f mm**4 \"%(I)#\n",
+ "print \"\\n del is %0.1f mm \"%(Del)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " t is 14 mm \n",
+ "\n",
+ " Wf is 10909 N \n",
+ "\n",
+ " I is 34300 mm**4 \n",
+ "\n",
+ " del is 52.0 mm \n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-12A - Page 232"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "W=80000#\n",
+ "sigbfr=500#\n",
+ "L=1100#\n",
+ "Nf=3#\n",
+ "Ng=10#\n",
+ "N=Nf+Ng#\n",
+ "t=((1.5*W*L)/(N*6*sigbfr))**(1/3)#\n",
+ "t=15#\n",
+ "b=6*t#\n",
+ "E=207*10**3#\n",
+ "deli=(W*(L**3))/(8*E*N*b*(t**3))#\n",
+ "Wi=(W*Nf*Ng)/(N*((3*Nf)+(2*Ng)))#\n",
+ "print \" t is %0.1f mm \"%(t)#\n",
+ "print \"\\n deli is %0.1f mm \"%(deli)#\n",
+ "print \"\\n Wi is %0.0f N \"%(Wi)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " t is 15.0 mm \n",
+ "\n",
+ " deli is 16.0 mm \n",
+ "\n",
+ " Wi is 6366 N \n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-13 - Page 233"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#ultimate strength=sigut\n",
+ "sigut=1500#\n",
+ "C=7#\n",
+ "d=3#\n",
+ "D=C*d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "Pmax=120#\n",
+ "Pmin=40#\n",
+ "Pm=80#\n",
+ "Tm=(Ks*8*Pm*D)/(pi*(d**3))#\n",
+ "Ta=(Kw*8*Pmin*D)/(pi*(d**3))#\n",
+ "Tse=0.22*sigut#\n",
+ "Tys=0.45*sigut#\n",
+ "x=(Tys-(0.5*Tse))/(0.5*Tse)#\n",
+ "y=((x)*Ta)+Tm#\n",
+ "FOS=(Tys/y)#\n",
+ "print \" Tm is %0.2f MPa \"%(Tm)#\n",
+ "print \"\\n Ta is %0.1f MPa \"%(Ta)#\n",
+ "print \"\\n FOS is %0.3f \"%(FOS)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tm is 169.77 MPa \n",
+ "\n",
+ " Ta is 86.2 MPa \n",
+ "\n",
+ " FOS is 1.548 \n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 8-14 - Page 234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Tse=360#\n",
+ "Tys=660#\n",
+ "d=25#\n",
+ "P=0.03#\n",
+ "m=40#\n",
+ "Pmin=((pi*(d**2)*P)/4)+(m*9.81/1000)#\n",
+ "k=6#\n",
+ "#Additional load= Padd=k*further compression in spring\n",
+ "Padd=k*10#\n",
+ "Pmax=Padd+Pmin#\n",
+ "Pm=(Pmax+Pmin)/2#\n",
+ "Pa=(Pmax-Pmin)/2#\n",
+ "d=2#\n",
+ "D=12#\n",
+ "C=6#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Ks=1.083#\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "Ta=(Kw*8*Pa*D)/(pi*(d**3))#\n",
+ "Tm=(Ks*8*Pm*D)/(pi*(d**3))#\n",
+ "x=(Tys-(0.5*Tse))/(0.5*Tse)#\n",
+ "y=((x)*Ta)+Tm#\n",
+ "FOS=(Tys/y)#\n",
+ "print \" Tm is %0.2f MPa \"%(Tm)#\n",
+ "print \"\\n Ta is %0.3f MPa \"%(Ta)#\n",
+ "print \"\\n FOS is %0.2f \"%(FOS)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " Tm is 186.64 MPa \n",
+ "\n",
+ " Ta is 126.337 MPa \n",
+ "\n",
+ " FOS is 1.26 \n"
+ ]
+ }
+ ],
+ "prompt_number": 28
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8_1.ipynb
new file mode 100755
index 00000000..23f4219b
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch8_1.ipynb
@@ -0,0 +1,838 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:8 Springs"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-1 - Page 224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Ks is 1.0000 \n",
+ "\n",
+ " Kw is 1.1025 \n",
+ "\n",
+ " Kc is 1.103 \n",
+ "\n",
+ " The Spring Stiffness is 16.0 N/mm\n",
+ "\n",
+ " The Axial deflection is 18.000 mm\n"
+ ]
+ }
+ ],
+ "source": [
+ "d=5#\n",
+ "D=30#\n",
+ "G=84*(10**3)#\n",
+ "Na=15#\n",
+ "#Axial Load W\n",
+ "W=300#\n",
+ "#Spring index C\n",
+ "C=30/5#\n",
+ "#Shear stress Augmentation factor Ks\n",
+ "Ks=((2*C)+1)/(2*C)#\n",
+ "#Wahl's factor Kw\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "#Curvature correction factor Kc\n",
+ "Kc=Kw/Ks#\n",
+ "#Spring stiffness k\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "#Axial deflection delta\n",
+ "delta=W/k#\n",
+ "print \" Ks is %0.4f \"%(Ks)#\n",
+ "print \"\\n Kw is %0.4f \"%(Kw)#\n",
+ "print \"\\n Kc is %0.3f \"%(Kc)#\n",
+ "print \"\\n The Spring Stiffness is %0.1f N/mm\"%(k)#\n",
+ "print \"\\n The Axial deflection is %0.3f mm\"%(delta)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-2 - Page 224"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " wire diameter is 2.314 mm \n",
+ "\n",
+ " mean diameter is 18.516 mm \n",
+ "\n",
+ " Number of acting coils are 11.117 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "W=196.2#\n",
+ "lenthofscale=50#\n",
+ "k=196.2/50#\n",
+ "C=8#\n",
+ "Ks=(1+(0.5/C))#\n",
+ "\n",
+ "# Let us choose oil tempered wire 0.6-0.7 %C. Refer to Table 8-4 for constants A and m, relating strength wire \n",
+ "#diameter.\n",
+ "G=77.2*(10**3)#\n",
+ "A=1855#\n",
+ "m=0.187#\n",
+ "# equating Tmax=0.5*sig(ut).\n",
+ "# Ks*(8*W*D/(pi*(d**3)))=0.5*A/(d**2)\n",
+ "d1=(Ks*(8*W*C/(pi*A*0.5)))#\n",
+ "d=d1**(1/1.813)#\n",
+ "D=C*d#\n",
+ "Na=G*(d**4)/(8*(D**3)*k)#\n",
+ "#Solid length = SL\n",
+ "SL=(Na-1)*d\n",
+ "\n",
+ "print \" wire diameter is %0.3f mm \"%(d)#\n",
+ "print \"\\n mean diameter is %0.3f mm \"%(D)#\n",
+ "print \"\\n Number of acting coils are %0.3f \"%(Na)#\n",
+ "\n",
+ "#The difference in the values of d,D and Na is due to rounding-off the digits."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-3 - Page 225"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Ultimate tensile Strength is 2060.5 MPa \n",
+ "\n",
+ " Force at which the spring hook fails is 211.3 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "d=1.626#\n",
+ "A=2211#\n",
+ "m=0.145#\n",
+ "rm=3#\n",
+ "ri=(rm-(d/2))#\n",
+ "sigma=A/(d**m)#\n",
+ "W=(sigma*pi*(d**3)*ri)/(32*(rm**2))#\n",
+ "print \" Ultimate tensile Strength is %0.1f MPa \"%(sigma)#\n",
+ "print \"\\n Force at which the spring hook fails is %0.1f N \"%(W)#\n",
+ "\n",
+ "#The difference in the values of sigma and W is due to rounding-off the digits."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-4 - Page 226"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 2.337mm \n",
+ "\n",
+ " D is 22.20 mm\n",
+ "\n",
+ " Ls is 26.18 mm\n",
+ "\n",
+ " Lo is 83.68 mm\n",
+ "\n",
+ "The diameter is within space constraints\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "Do=25#\n",
+ "# mean coil diameter D=25-d\n",
+ "W=150#\n",
+ "T=800#\n",
+ "G=81000#\n",
+ "# Substituting values in equation T=8*W*D/(pi*(d**3))\n",
+ "# therefore, the equation becomes d**3 + 0.477*d = 11.936\n",
+ "#consider d=2.2mm, (d can be taken between 2.2-2.3mm)\n",
+ "d=2.337# #(nearest available wire gauge)\n",
+ "C=9.5#\n",
+ "D=22.2# \n",
+ "Do=D+d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Tmax=Ks*8*W*D/(pi*(d**3))#\n",
+ "# check for safety- Tmax<T#\n",
+ "Lo=100#\n",
+ "Ls=40#\n",
+ "#Lo=Ls+delta+0.15*delta\n",
+ "delta=(Lo-Ls)/1.15#\n",
+ "delta=50#\n",
+ "k=150/50#\n",
+ "Na=(G*d**4)/(8*(D**3)*k)#\n",
+ "\n",
+ "N=Na+2#\n",
+ "Ls=N*d#\n",
+ "Lo=Ls+(1.15*delta)#\n",
+ "print \" d is %0.3fmm \"%(d)#\n",
+ "print \"\\n D is %0.2f mm\"%(D)#\n",
+ "print \"\\n Ls is %0.2f mm\"%(Ls)#\n",
+ "print \"\\n Lo is %0.2f mm\"%(Lo)#\n",
+ "if (Do<=25):\n",
+ " print '\\nThe diameter is within space constraints'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-5A - Page 227"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 2.3mm \n",
+ "\n",
+ " C is 7.6 \n",
+ "\n",
+ " Na is 17.6 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "Di=15#\n",
+ "Do=20#\n",
+ "d=2.3#\n",
+ "D=17.5#\n",
+ "C=D/d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Wmax=100#\n",
+ "Tmax=Ks*8*Wmax*D/(pi*(d**3))#\n",
+ "G=81000#\n",
+ "delmax=67.7/2.366#\n",
+ "k=100/28#\n",
+ "Na=G*(d**4)/(8*k*(D**3))#\n",
+ "Ls=Na+1# #(for plain ends)\n",
+ "delmax=28#\n",
+ "#TL= total working length\n",
+ "TL=Ls+delmax+(0.15*delmax)#\n",
+ "print \" d is %0.1fmm \"%(d)#\n",
+ "print \"\\n C is %0.1f \"%(C)#\n",
+ "print \"\\n Na is %0.1f \"%(Na)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-6 - Page- 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tys is 686.9 MPa \n",
+ "\n",
+ " W is 41.1 N \n",
+ "\n",
+ " del is 30.457 mm \n",
+ "\n",
+ " Ls is 15.2375 mm \n",
+ "\n",
+ " Lo is 50.26 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "# 18 SWG=1.219MM in dia\n",
+ "d=1.219#\n",
+ "E=198.6*10**3#\n",
+ "G=80.7*10**3#\n",
+ "m=0.19#\n",
+ "A=1783#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=(0.4*sig)#\n",
+ "Do=12.5#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ks=((2*C)+1)/(2*C)#\n",
+ "W=(Tys*pi*(d**3))/(8*D*Ks)#\n",
+ "Nt=13.5#\n",
+ "Na=Nt-2#\n",
+ "Del=(8*W*(D**3)*Na)/(G*(d**4))#\n",
+ "Ls=(Nt-1)*d#\n",
+ "Lo=Ls+Del+(0.15*Del)#\n",
+ "print \" Tys is %0.1f MPa \"%(Tys)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n del is %0.3f mm \"%(Del)#\n",
+ "print \"\\n Ls is %0.4f mm \"%(Ls)#\n",
+ "print \"\\n Lo is %0.2f mm \"%(Lo)#\n",
+ " \n",
+ "#Answers in the book for Torsional yeild strength have been rounded-off to the nearest whole number."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-7 - Page 228"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Tys is 992.7 MPa \n",
+ "\n",
+ " Do is 12.6 N \n",
+ "\n",
+ " W is 33.8 N \n",
+ "\n",
+ " k is 0.496 N \n",
+ "\n",
+ " del is 68.20 mm \n",
+ "\n",
+ " Ls is 15.24 mm \n",
+ "\n",
+ " Lo is 93.669 mm \n",
+ "The spring will fail under buckling\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "d=1.016#\n",
+ "A=2211#\n",
+ "m=0.145#\n",
+ "G=81000#\n",
+ "Nt=16#\n",
+ "Na=16-2#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=0.45*sig#\n",
+ "Do=12.6#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "W=(Tys*pi*(d**3))/(8*D*Ks)#\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "Del=W/k#\n",
+ "Ls=(Nt-1)*d#\n",
+ "Lo=Ls+(1.15*Del)#\n",
+ "\n",
+ "print \"Tys is %0.1f MPa \"%(Tys)#\n",
+ "print \"\\n Do is %0.1f N \"%(Do)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n k is %0.3f N \"%(k)#\n",
+ "print \"\\n del is %0.2f mm \"%(Del)#\n",
+ "print \"\\n Ls is %0.2f mm \"%(Ls)#\n",
+ "print \"\\n Lo is %0.3f mm \"%(Lo)#\n",
+ " \n",
+ "if ((Lo/D)>=5.26):\n",
+ " print 'The spring will fail under buckling'\n",
+ "\n",
+ "\n",
+ "#Values after the decimal point has not been considered for answer of Torsional yeild strength in the book, whereas answers for deflection and free-length is different as entire value of variables is taken for calculation in the code."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-8 - Page 229"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "k is 3.000 N/mm \n",
+ "\n",
+ " W is 77.5 N \n",
+ "\n",
+ " Lo is 49.720 mm \n",
+ "\n",
+ " p is 5.302 mm \n",
+ "The spring will fail under buckling\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "d=2#\n",
+ "Do=20#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Na=9#\n",
+ "#Material hard drawn spring steel\n",
+ "A=1783#\n",
+ "m=0.19#\n",
+ "G=81000#\n",
+ "sig=A/(d**m)#\n",
+ "Tys=0.45*sig\n",
+ "Kf=1.5#\n",
+ "Ta=Tys/Kf#\n",
+ "Ks=1+(0.5/C)#\n",
+ "W=(Ta*pi*(d**3))/(8*D*Ks)#\n",
+ "k=(G*(d**4))/(8*(D**3)*Na)#\n",
+ "Del=W/k#\n",
+ "Lo=((Na+1)*d)+(1.15*Del)#\n",
+ "p=(Lo-d)/Na#\n",
+ "print \"k is %0.3f N/mm \"%(k)#\n",
+ "print \"\\n W is %0.1f N \"%(W)#\n",
+ "print \"\\n Lo is %0.3f mm \"%(Lo)#\n",
+ "print \"\\n p is %0.3f mm \"%(p)\n",
+ " \n",
+ " \n",
+ "if ((Lo)>=47.34):\n",
+ " print 'The spring will fail under buckling'\n",
+ "\n",
+ "#The answer for value of spring rate 'k' is misprinted in the book. Due to this all subsequent values of del,Lo,p is calucated incorrectly in the book."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-9 - Page 230"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Maximum Torque is 497.25 Nmm \n",
+ "\n",
+ " theta3 is 0.327 turns \n",
+ "\n",
+ " Ne is 0.293 turns \n",
+ "\n",
+ " ke is 22089.3 N/mm \n",
+ "\n",
+ " theta1+theta2 is 0.0225 turns \n",
+ "\n",
+ " D1 is 13.46 mm \n",
+ "\n",
+ " IRC is 0.75 mm \n",
+ "\n",
+ " FRC is 0.23 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "# for music wire\n",
+ "d1=11.5#\n",
+ "A=2211#\n",
+ "d=1.5#\n",
+ "m=0.145#\n",
+ "sigut=A/(d**m)#\n",
+ "sigy=0.78*sigut#\n",
+ "Do=16#\n",
+ "E=2*(10**5)#\n",
+ "Nb=4.25#\n",
+ "D=Do-d#\n",
+ "C=D/d#\n",
+ "Ki=((4*(C**2))-C-1)/(4*C*(C-1))#\n",
+ "Mmax=(sigy*pi*(d**3))/(32*Ki)#\n",
+ "kc=((d**4)*E)/(10.8*D*Nb)#\n",
+ "theta3=Mmax/kc#\n",
+ "l1=20#\n",
+ "l2=20#\n",
+ "Ne=(l1+l2)/(3*pi*D)#\n",
+ "Na=Nb+Ne#\n",
+ "k=((d**4)*E)/(10.8*Na*D)#\n",
+ "thetat=Mmax/k#\n",
+ "ke=(3*pi*(d**4)*E)/(10.8*(l1+l2))#\n",
+ "# angdisp=theta1+theta2=Mmax/ke#\n",
+ "angdisp=Mmax/ke#\n",
+ "#D1 is final coil diameter\n",
+ "D1=(Nb*D)/(Nb+theta3)#\n",
+ "#IRC=Initial radial clearance\n",
+ "IRC=((D-d)-d1)/2#\n",
+ "#FRC=Final radial clearance\n",
+ "FRC=((D1-d)-d1)/2#\n",
+ "\n",
+ "\n",
+ "\n",
+ "print \" Maximum Torque is %0.2f Nmm \"%(Mmax)#\n",
+ "print \"\\n theta3 is %0.3f turns \"%(theta3)#\n",
+ "print \"\\n Ne is %0.3f turns \"%(Ne)#\n",
+ "print \"\\n ke is %0.1f N/mm \"%(ke)#\n",
+ "print \"\\n theta1+theta2 is %0.4f turns \"%(angdisp)#\n",
+ "print \"\\n D1 is %0.2f mm \"%(D1)#\n",
+ "print \"\\n IRC is %0.2f mm \"%(IRC)#\n",
+ "print \"\\n FRC is %0.2f mm \"%(FRC)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-10 - Page 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " d is 2.0 mm \n",
+ "\n",
+ " D is 15.0 mm \n",
+ "\n",
+ " Na is 11.00 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "A=1783#\n",
+ "m=0.190#\n",
+ "d=1.5#\n",
+ "D=15#\n",
+ "M=300#\n",
+ "E=20800#\n",
+ "k=30#\n",
+ "#sigult= ultimate strength of the material\n",
+ "# sigy= yield strength of the material\n",
+ "sigult=A/(d**m)#\n",
+ "sigy=0.7*sigult#\n",
+ "#siga= allowable yield strength of the material\n",
+ "siga=sigy/2#\n",
+ "C=D/d#\n",
+ "Ki=(4*(C**2)-C-1)/(4*C*(C-1))#\n",
+ "Z=pi*(d**3)/32#\n",
+ "#sigb=bending strength of the material#\n",
+ "sigb=Ki*M/Z#\n",
+ "while (sigb>=siga) :\n",
+ " d=d+0.15#\n",
+ " D=15#\n",
+ " C=D/d#\n",
+ " sigult=A/(d**m)#\n",
+ " sigy=0.7*sigult#\n",
+ " siga=sigy/2#\n",
+ " Ki=(4*(C**2)-C-1)/(4*C*(C-1))#\n",
+ " Z=pi*(d**3)/32#\n",
+ " sigb=Ki*M/Z#\n",
+ "\n",
+ "d=2## rounding off the value of the diameter.\n",
+ "Na=(d**4)*E/(64*D*k)#\n",
+ "print \" d is %0.1f mm \"%(d)#\n",
+ "print \"\\n D is %0.1f mm \"%(D)#\n",
+ "print \"\\n Na is %0.2f mm \"%(Na)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-11 - Page 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " t is 14 mm \n",
+ "\n",
+ " Wf is 10909 N \n",
+ "\n",
+ " I is 34300 mm**4 \n",
+ "\n",
+ " del is 52.0 mm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "L=1180#\n",
+ "W=40*(10**3)#\n",
+ "Nf=2#\n",
+ "Ng=8#\n",
+ "E=207*(10**3)#\n",
+ "#sigut is ultimate strength\n",
+ "sigut=1400#\n",
+ "FOS=2#\n",
+ "#siga= allowable yield strength of the material\n",
+ "siga=1400/2#\n",
+ "#sigbf=bending strength in full length\n",
+ "sigbf=700#\n",
+ "b=75#\n",
+ "t=((4.5*W*L)/(((3*Nf)+(2*Ng))*sigbf))**(0.5)#\n",
+ "t=14#\n",
+ "I=(Nf*b*(t**3))/12#\n",
+ "Wf=(3*Nf*W)/((3*Nf)+(2*Ng))#\n",
+ "Del=(Wf*(L**3))/(48*E*I)#\n",
+ "print \" t is %0.0f mm \"%(t)#\n",
+ "print \"\\n Wf is %0.0f N \"%(Wf)#\n",
+ "print \"\\n I is %0.0f mm**4 \"%(I)#\n",
+ "print \"\\n del is %0.1f mm \"%(Del)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-12A - Page 232"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " t is 15.0 mm \n",
+ "\n",
+ " deli is 16.0 mm \n",
+ "\n",
+ " Wi is 6366 N \n"
+ ]
+ }
+ ],
+ "source": [
+ "W=80000#\n",
+ "sigbfr=500#\n",
+ "L=1100#\n",
+ "Nf=3#\n",
+ "Ng=10#\n",
+ "N=Nf+Ng#\n",
+ "t=((1.5*W*L)/(N*6*sigbfr))**(1/3)#\n",
+ "t=15#\n",
+ "b=6*t#\n",
+ "E=207*10**3#\n",
+ "deli=(W*(L**3))/(8*E*N*b*(t**3))#\n",
+ "Wi=(W*Nf*Ng)/(N*((3*Nf)+(2*Ng)))#\n",
+ "print \" t is %0.1f mm \"%(t)#\n",
+ "print \"\\n deli is %0.1f mm \"%(deli)#\n",
+ "print \"\\n Wi is %0.0f N \"%(Wi)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-13 - Page 233"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tm is 169.77 MPa \n",
+ "\n",
+ " Ta is 86.2 MPa \n",
+ "\n",
+ " FOS is 1.548 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "#ultimate strength=sigut\n",
+ "sigut=1500#\n",
+ "C=7#\n",
+ "d=3#\n",
+ "D=C*d#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "Pmax=120#\n",
+ "Pmin=40#\n",
+ "Pm=80#\n",
+ "Tm=(Ks*8*Pm*D)/(pi*(d**3))#\n",
+ "Ta=(Kw*8*Pmin*D)/(pi*(d**3))#\n",
+ "Tse=0.22*sigut#\n",
+ "Tys=0.45*sigut#\n",
+ "x=(Tys-(0.5*Tse))/(0.5*Tse)#\n",
+ "y=((x)*Ta)+Tm#\n",
+ "FOS=(Tys/y)#\n",
+ "print \" Tm is %0.2f MPa \"%(Tm)#\n",
+ "print \"\\n Ta is %0.1f MPa \"%(Ta)#\n",
+ "print \"\\n FOS is %0.3f \"%(FOS)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 8-14 - Page 234"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " Tm is 186.64 MPa \n",
+ "\n",
+ " Ta is 126.337 MPa \n",
+ "\n",
+ " FOS is 1.26 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "Tse=360#\n",
+ "Tys=660#\n",
+ "d=25#\n",
+ "P=0.03#\n",
+ "m=40#\n",
+ "Pmin=((pi*(d**2)*P)/4)+(m*9.81/1000)#\n",
+ "k=6#\n",
+ "#Additional load= Padd=k*further compression in spring\n",
+ "Padd=k*10#\n",
+ "Pmax=Padd+Pmin#\n",
+ "Pm=(Pmax+Pmin)/2#\n",
+ "Pa=(Pmax-Pmin)/2#\n",
+ "d=2#\n",
+ "D=12#\n",
+ "C=6#\n",
+ "Ks=1+(0.5/C)#\n",
+ "Ks=1.083#\n",
+ "Kw=(((4*C)-1)/((4*C)-4))+(0.615/C)#\n",
+ "Ta=(Kw*8*Pa*D)/(pi*(d**3))#\n",
+ "Tm=(Ks*8*Pm*D)/(pi*(d**3))#\n",
+ "x=(Tys-(0.5*Tse))/(0.5*Tse)#\n",
+ "y=((x)*Ta)+Tm#\n",
+ "FOS=(Tys/y)#\n",
+ "print \" Tm is %0.2f MPa \"%(Tm)#\n",
+ "print \"\\n Ta is %0.3f MPa \"%(Ta)#\n",
+ "print \"\\n FOS is %0.2f \"%(FOS)#"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9.ipynb
new file mode 100755
index 00000000..0e704ca7
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9.ipynb
@@ -0,0 +1,358 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:4885451d1eb84f1c7ede3570bb9a4c180b0235da374d3be406dcc799b426e236"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Ch:9 Threaded Fasteners"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-1 - Page 266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import pi\n",
+ "p1=2#\n",
+ "d=16#\n",
+ "dt1=d-(0.93825*p1)#\n",
+ "At1=pi*dt1**2/4#\n",
+ "p2=1.5#\n",
+ "d=16#\n",
+ "dt2=d-(0.93825*p2)#\n",
+ "At2=pi*dt2**2/4#\n",
+ "\n",
+ "print \" At1 is %0.1f mm**2 \"%(At1)#\n",
+ "print \"\\n At2 is %0.1f mm**2 \"%(At2)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " At1 is 156.7 mm**2 \n",
+ "\n",
+ " At2 is 167.2 mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-2 - Page 266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "W=20*10**3#\n",
+ "n=4#\n",
+ "#Let the load on each bolt be W1\n",
+ "W1=W/n#\n",
+ "At=W1/80#\n",
+ "\n",
+ "print \"At is %0.1f mm**2 \"%(At)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "At is 62.0 mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-3 - Page 267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import atan, tan, cos\n",
+ "d=18#\n",
+ "p=2.5#\n",
+ "dr=d-(1.2268*p)#\n",
+ "dm=(d+dr)/2#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "theta=pi*30/180#\n",
+ "u1=0.15#\n",
+ "u2=0.13#\n",
+ "x=(tan(alpha)+(u1/cos(theta)))/(1-(tan(alpha)*u1/cos(theta)))#\n",
+ "K=dm*x/(2*d)+(0.625*u2)#\n",
+ "print \"K is %0.5f \"%(K)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "K is 0.18343 \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-4 - Page 267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import log\n",
+ "d=20#\n",
+ "t=4#\n",
+ "Lg=84#\n",
+ "Ad=pi*d**2/4#\n",
+ "Eb=205*10**3#\n",
+ "Ed=105*10**3#\n",
+ "kb=Ad*Eb/Lg#\n",
+ "lg=80#\n",
+ "x=5*(lg+(0.5*d))/(lg+(2.5*d))#\n",
+ "kp=pi*Ed*d/(2*log(x))#\n",
+ "At=245#\n",
+ "sigb=105#\n",
+ "Pe=20*10**3#\n",
+ "Pb=Pe*kb/(kb+kp)#\n",
+ "sigad=Pb/At#\n",
+ "finalst=sigb+sigad#\n",
+ "\n",
+ "print \"final stress is %0.2f N/mm**2 \"%(finalst)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "final stress is 123.28 N/mm**2 \n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-5 - Page 268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "Eb=207*10**3#\n",
+ "Ec=105*10**3#\n",
+ "sigp=650#\n",
+ "At=115#\n",
+ "Pi=0.75*sigp*At#\n",
+ "F=sigp*At#\n",
+ "#Let the additional load Fadd\n",
+ "Padd=F-Pi#\n",
+ "d=14#\n",
+ "Ad=pi*d**2/4#\n",
+ "Lg=63#\n",
+ "kb=Ad*Eb/Lg#\n",
+ "lg=60#\n",
+ "x=5*(lg+(0.5*d))/(lg+(2.5*d))#\n",
+ "km=pi*Ec*d/(2*log(x))#\n",
+ "C=kb/(kb+km)#\n",
+ "Pe=Padd/C#\n",
+ "K=0.2#\n",
+ "Ti=Pi*K*d*10**-3#\n",
+ "\n",
+ "print \"Ti is %0.2f Nm \"%(Ti)#"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Ti is 156.97 Nm \n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-6 - Page 269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "d=20#\n",
+ "sigp=600#\n",
+ "At=245#\n",
+ "Pi=120*10**3#\n",
+ "Pe=30*10**3#\n",
+ "C=0.35#\n",
+ "Pb=C*Pe#\n",
+ "P=Pi+Pb#\n",
+ "sigi=Pi/At#\n",
+ "sigf=P/At#\n",
+ "K=0.18#\n",
+ "T=K*d*Pi*10**-3#\n",
+ "E1=sigi/sigp#\n",
+ "E2=sigf/sigp#\n",
+ "\n",
+ "print \" sigi is %0.1f MPa \"%(sigi)#\n",
+ "print \"\\n sigi is %0.2f MPa \"%(sigf)#\n",
+ "print \"\\n T is %0.0f Nm \"%(T)#\n",
+ "print \"\\n E1 is %0.3f \"%(E1)#\n",
+ "print \"\\n E2 is %0.3f \"%(E2)#\n",
+ " \n",
+ " #Value upto tenthth place is considered in the book for value of final stress in bolt, 'sigf'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " sigi is 489.0 MPa \n",
+ "\n",
+ " sigi is 532.65 MPa \n",
+ "\n",
+ " T is 432 Nm \n",
+ "\n",
+ " E1 is 0.000 \n",
+ "\n",
+ " E2 is 0.888 \n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-7 - Page 269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "p=2#\n",
+ "d=16#\n",
+ "dt=d-(0.938*p)#\n",
+ "At=pi*dt**2/4#\n",
+ "r=60*sqrt(2)#\n",
+ "Td=1/(4*At)#\n",
+ "Ta=120#\n",
+ "T=8.722*10**-3#\n",
+ "P=Ta/T*10**-3#\n",
+ "\n",
+ "print \"P is %0.3f kN \"%(P)#\n",
+ " \n",
+ " #Value upto hundredth place is considered in the book for value of permissible load, 'P'"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P is 13.758 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "exa 9-8 - Page 270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "sigyp=460#\n",
+ "FOS=2#\n",
+ "Ts=0.577*sigyp/FOS#\n",
+ "At=245#\n",
+ "r=100#\n",
+ "P=Ts*At/1.453*10**-3#\n",
+ "print \"The eccentric load is %f N \"%(P)\n",
+ "print \"P is %0.3f kN \"%(P)#\n",
+ "#Value of thousandth place of eccentric load, 'P' is misprinted in the book. "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The eccentric load is 22.377116 N \n",
+ "P is 22.377 kN \n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file
diff --git a/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9_1.ipynb b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9_1.ipynb
new file mode 100755
index 00000000..ff92060a
--- /dev/null
+++ b/backup/Machine_Design_by_U.C._Jindal_version_backup/Ch9_1.ipynb
@@ -0,0 +1,361 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Ch:9 Threaded Fasteners"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-1 - Page 266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " At1 is 156.7 mm**2 \n",
+ "\n",
+ " At2 is 167.2 mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import pi\n",
+ "p1=2#\n",
+ "d=16#\n",
+ "dt1=d-(0.93825*p1)#\n",
+ "At1=pi*dt1**2/4#\n",
+ "p2=1.5#\n",
+ "d=16#\n",
+ "dt2=d-(0.93825*p2)#\n",
+ "At2=pi*dt2**2/4#\n",
+ "\n",
+ "print \" At1 is %0.1f mm**2 \"%(At1)#\n",
+ "print \"\\n At2 is %0.1f mm**2 \"%(At2)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-2 - Page 266"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "At is 62.0 mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "W=20*10**3#\n",
+ "n=4#\n",
+ "#Let the load on each bolt be W1\n",
+ "W1=W/n#\n",
+ "At=W1/80#\n",
+ "\n",
+ "print \"At is %0.1f mm**2 \"%(At)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-3 - Page 267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "K is 0.18343 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan, tan, cos,pi\n",
+ "d=18#\n",
+ "p=2.5#\n",
+ "dr=d-(1.2268*p)#\n",
+ "dm=(d+dr)/2#\n",
+ "alpha=atan(p/(pi*dm))#\n",
+ "theta=pi*30/180#\n",
+ "u1=0.15#\n",
+ "u2=0.13#\n",
+ "x=(tan(alpha)+(u1/cos(theta)))/(1-(tan(alpha)*u1/cos(theta)))#\n",
+ "K=dm*x/(2*d)+(0.625*u2)#\n",
+ "print \"K is %0.5f \"%(K)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-4 - Page 267"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "final stress is 123.28 N/mm**2 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log,pi\n",
+ "d=20#\n",
+ "t=4#\n",
+ "Lg=84#\n",
+ "Ad=pi*d**2/4#\n",
+ "Eb=205*10**3#\n",
+ "Ed=105*10**3#\n",
+ "kb=Ad*Eb/Lg#\n",
+ "lg=80#\n",
+ "x=5*(lg+(0.5*d))/(lg+(2.5*d))#\n",
+ "kp=pi*Ed*d/(2*log(x))#\n",
+ "At=245#\n",
+ "sigb=105#\n",
+ "Pe=20*10**3#\n",
+ "Pb=Pe*kb/(kb+kp)#\n",
+ "sigad=Pb/At#\n",
+ "finalst=sigb+sigad#\n",
+ "\n",
+ "print \"final stress is %0.2f N/mm**2 \"%(finalst)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-5 - Page 268"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Ti is 156.97 Nm \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan, tan, cos,pi,log\n",
+ "Eb=207*10**3#\n",
+ "Ec=105*10**3#\n",
+ "sigp=650#\n",
+ "At=115#\n",
+ "Pi=0.75*sigp*At#\n",
+ "F=sigp*At#\n",
+ "#Let the additional load Fadd\n",
+ "Padd=F-Pi#\n",
+ "d=14#\n",
+ "Ad=pi*d**2/4#\n",
+ "Lg=63#\n",
+ "kb=Ad*Eb/Lg#\n",
+ "lg=60#\n",
+ "x=5*(lg+(0.5*d))/(lg+(2.5*d))#\n",
+ "km=pi*Ec*d/(2*log(x))#\n",
+ "C=kb/(kb+km)#\n",
+ "Pe=Padd/C#\n",
+ "K=0.2#\n",
+ "Ti=Pi*K*d*10**-3#\n",
+ "\n",
+ "print \"Ti is %0.2f Nm \"%(Ti)#"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-6 - Page 269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " sigi is 489.0 MPa \n",
+ "\n",
+ " sigi is 532.65 MPa \n",
+ "\n",
+ " T is 432 Nm \n",
+ "\n",
+ " E1 is 0.000 \n",
+ "\n",
+ " E2 is 0.888 \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import atan, tan, cos,pi\n",
+ "d=20#\n",
+ "sigp=600#\n",
+ "At=245#\n",
+ "Pi=120*10**3#\n",
+ "Pe=30*10**3#\n",
+ "C=0.35#\n",
+ "Pb=C*Pe#\n",
+ "P=Pi+Pb#\n",
+ "sigi=Pi/At#\n",
+ "sigf=P/At#\n",
+ "K=0.18#\n",
+ "T=K*d*Pi*10**-3#\n",
+ "E1=sigi/sigp#\n",
+ "E2=sigf/sigp#\n",
+ "\n",
+ "print \" sigi is %0.1f MPa \"%(sigi)#\n",
+ "print \"\\n sigi is %0.2f MPa \"%(sigf)#\n",
+ "print \"\\n T is %0.0f Nm \"%(T)#\n",
+ "print \"\\n E1 is %0.3f \"%(E1)#\n",
+ "print \"\\n E2 is %0.3f \"%(E2)#\n",
+ " \n",
+ "#Value upto tenthth place is considered in the book for value of final stress in bolt, 'sigf'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-7 - Page 269"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "P is 13.758 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt,pi\n",
+ "p=2#\n",
+ "d=16#\n",
+ "dt=d-(0.938*p)#\n",
+ "At=pi*dt**2/4#\n",
+ "r=60*sqrt(2)#\n",
+ "Td=1/(4*At)#\n",
+ "Ta=120#\n",
+ "T=8.722*10**-3#\n",
+ "P=Ta/T*10**-3#\n",
+ "\n",
+ "print \"P is %0.3f kN \"%(P)#\n",
+ " \n",
+ "#Value upto hundredth place is considered in the book for value of permissible load, 'P'"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## exa 9-8 - Page 270"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "The eccentric load is 22.377116 N \n",
+ "P is 22.377 kN \n"
+ ]
+ }
+ ],
+ "source": [
+ "sigyp=460#\n",
+ "FOS=2#\n",
+ "Ts=0.577*sigyp/FOS#\n",
+ "At=245#\n",
+ "r=100#\n",
+ "P=Ts*At/1.453*10**-3#\n",
+ "print \"The eccentric load is %f N \"%(P)\n",
+ "print \"P is %0.3f kN \"%(P)#\n",
+ "#Value of thousandth place of eccentric load, 'P' is misprinted in the book. "
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}