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