{ "metadata": { "name": "", "signature": "sha256:94d59c04fa299edfd91c8fbcd74f6a447f3853008eda8e5b17fed905ae2575e6" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 14 : Combined Loading" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 14.1 Page No : 349" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\t\t\t\n", "# Variables\n", "h = 6. \t \t\t#in\n", "x1 = 7. \t\t\t#in\n", "x2 = 1. \t\t\t#in\n", "x3 = 2. \t\t\t#in\n", "P = 600. \t\t\t#lb\n", "\t\t\t\n", "# Calculations\n", "By = P*(x1+x2+x3)/(x1+x2)\n", "Bx = By*(x1+x2)/h\n", "Fx = Bx\n", "V = By-P\n", "M = -P*(x2+x3)+By*x2\n", "S1 = -Fx/(x3*h)\n", "I = x3*h**3/12\n", "S2 = -M*12*(h/2)/I\n", "Scmax = S1-S2\n", "Stmax = S1+S2\n", "\t\t\t\n", "# Results\n", "print 'Maximum tensile stress at = %.1f psi'%(Scmax)\n", "print 'Maximum compressive stress at = %.1f psi'%(Stmax)\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Maximum tensile stress at = -1133.3 psi\n", "Maximum compressive stress at = 966.7 psi\n" ] } ], "prompt_number": 1 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 14.2 Page No : 350" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\t\t\t\n", "# Variables\n", "P = 10000. \t\t\t#lb\n", "A = 11.77 \t\t\t#in**2\n", "Z = 51.9 \t\t\t#in**3\n", "x = 5. \t\t\t#ft\n", "y = 12. \t\t\t#ft\n", "\t\t\t\n", "# Calculations\n", "S1 = round(-P/A)\n", "S2 = round(P*x*y/Z,-2)\n", "Sc = S1-S2\n", "St = S1+S2\n", "\n", "\t\t\t\n", "# Results\n", "print 'Axial stress at c = %.1f psi'%(Sc)\n", "print 'Axial stress at t = %.1f psi'%(St)\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Axial stress at c = -12450.0 psi\n", "Axial stress at t = 10750.0 psi\n" ] } ], "prompt_number": 3 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 14.3 Page No : 353" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\t\t\t\n", "# Variables\n", "b = 6. \t\t \t#in\n", "h = 12. \t\t\t#in\n", "l = 20. \t\t\t#ft\n", "P = 100000. \t\t#lb\n", "\t\t\t\n", "# Calculations\n", "S = -P/(b*h)\n", "S1 = l**2*6*12/(8*b*h**2)\n", "w = -S/S1\n", "\t\t\t\n", "# Results\n", "print 'Safe distributed load = %.0f lb per ft'%(w)\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Safe distributed load = 333 lb per ft\n" ] } ], "prompt_number": 1 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 14.4 Page No : 355" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\t\t\t\n", "# Variables\n", "b = 4. \t\t\t#in\n", "h = 9. \t\t\t#in\n", "l = 6. \t\t\t#in\n", "Mx = 600. \t\t\t#lb\n", "My = 100. \t\t\t#lb\n", "\t\t\t\n", "# Calculations\n", "Zx = b*h**3/(12*h/2)\n", "Zy = b**3*h/(12*b/2)\n", "S1 = Mx*l*12/Zx\n", "S2 = My*b*12/Zy\n", "Sb = S1+S2\n", "Sd = -S1-S2\n", "\t\t\t\n", "# Results\n", "print 'Maximum stress = %.1f psi tension)'%(Sb)\n", "print ' Maximum stress =%.1f psi compression)'%(Sd) \n", "\n", "\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Maximum stress = 1000.0 psi tension)\n", " Maximum stress =-1000.0 psi compression)\n" ] } ], "prompt_number": 4 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 14.5 Page No : 356" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math \n", "\t\t\t\n", "# Variables\n", "d = 2. \t\t\t#in\n", "Px = -600. \t\t\t#lb\n", "Py = 1200. \t\t\t#lb\n", "x1 = 2. \t\t\t#in\n", "x2 = 2. \t\t\t#in\n", "x3 = 2. \t\t\t#in\n", "Ray = -400. \t\t\t#lb\n", "Rax = 400. \t\t\t#lb\n", "Rbx = 200. \t\t\t#lb\n", "Rby = -800. \t\t\t#lb\n", "\t\t\t\n", "# Calculations\n", "Mb = math.sqrt((Rax*x1)**2+(Ray*x1)**2)\n", "Mc =math.sqrt((Rbx*x3)**2+(Rby*x3)**2)\n", "if (Mb