{ "metadata": { "name": "", "signature": "sha256:fa8306a7ccf6683f3bb43ba03db574b371457c13bfcbb27905e40f6b1eacde3b" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 10 : Torsion" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 10.1 Page No : 229" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math \t\t\t\n", "\n", "# Variables\n", "L = 50. \t\t\t#ft\n", "Do = 2 \t\t\t#in\n", "Di = 1.5 \t\t\t#in\n", "Mt = 10000. \t\t\t#lb in\n", "G = 12.*10**6\n", "\t\t\t\n", "# Calculations\n", "Tmax = 16*Mt*Do/(math.pi*(Do**4-Di**4))\n", "angle = (Mt*L*12*32)*57.3/(G*math.pi*(Do**4-Di**4))\n", "\t\t\t\n", "# Results\n", "print 'Maximum shearing strees = %.f psi'%(round(Tmax,-1))\n", "print 'twist angle = %.1f degrees'%(angle)\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Maximum shearing strees = 9310 psi\n", "twist angle = 26.7 degrees\n" ] } ], "prompt_number": 1 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 10.2 Page No : 229" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math \n", "\t\t\t\n", "# Variables\n", "d = 4. \t\t\t#ft\n", "T = 5000. \t\t\t#psi\n", "angle = 0.1 \t\t\t#degrees\n", "\t\t\t\n", "# Calculations\n", "T1 = (math.pi*d**3)*T/16\n", "T2 =angle*math.pi*G*math.pi*d**4/(180*12*32)\n", "\t\t\t\n", "# Results\n", "if (T1