diff options
author | kinitrupti | 2017-05-12 18:40:35 +0530 |
---|---|---|
committer | kinitrupti | 2017-05-12 18:40:35 +0530 |
commit | d36fc3b8f88cc3108ffff6151e376b619b9abb01 (patch) | |
tree | 9806b0d68a708d2cfc4efc8ae3751423c56b7721 /backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb | |
parent | 1b1bb67e9ea912be5c8591523c8b328766e3680f (diff) | |
download | Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.gz Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.bz2 Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.zip |
Revised list of TBCs
Diffstat (limited to 'backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb')
-rwxr-xr-x | backup/Machine_Design_by_U.C._Jindal_version_backup/Ch4.ipynb | 266 |
1 files changed, 266 insertions, 0 deletions
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 |