{ "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": {} } ] }