summaryrefslogtreecommitdiff
path: root/Aircraft_Structures_for_Engineering_Students/Chapter26.ipynb
blob: 994182d0fa5e91b1d72836bfc72225bd0b08ee6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
 "metadata": {
  "name": "",
  "signature": "sha256:eb3a8ca85b2b3516ec190a12a8401ddf32d140498cd023be9bda6228b1754025"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 26: Closed Section Beams"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 26.3 Pg.No.693"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "from __future__ import division\n",
      "from sympy import solve, symbols\n",
      "import math\n",
      "\n",
      "\n",
      "G=20000               #shear modulus (N/mm^2)\n",
      "E=G/0.36              #young's modulus\n",
      "tau=20                #torque (Nm/mm)\n",
      "t=1\n",
      "b=200\n",
      "a=500\n",
      "L=2500\n",
      "A=800\n",
      "\n",
      "#torque at each support \n",
      "T=20*5000/2\n",
      "\n",
      "mu=math.sqrt(8*G*t/(A*E*(b+a)))\n",
      "\n",
      "z=2500\n",
      "F=-1.95/mu*math.cosh(mu*z)+1.75*z**2\n",
      "\n",
      "z=0                            # at mid-span z=0\n",
      "theta=10**(-8)*(1.95/mu*math.cosh(mu*z)-1.75*z**2+F)\n",
      "print \"twist at mid-span = %1.3f rad = %1.2f degree\"%(theta,theta*180/math.pi)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "twist at mid-span = 0.108 rad = 6.20 degree\n"
       ]
      }
     ],
     "prompt_number": 13
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}