diff options
Diffstat (limited to 'Machine_Design_by_U.C._Jindal/Ch9_1.ipynb')
-rwxr-xr-x | Machine_Design_by_U.C._Jindal/Ch9_1.ipynb | 361 |
1 files changed, 0 insertions, 361 deletions
diff --git a/Machine_Design_by_U.C._Jindal/Ch9_1.ipynb b/Machine_Design_by_U.C._Jindal/Ch9_1.ipynb deleted file mode 100755 index ff92060a..00000000 --- a/Machine_Design_by_U.C._Jindal/Ch9_1.ipynb +++ /dev/null @@ -1,361 +0,0 @@ -{ - "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 -} |