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
|
{
"metadata": {
"name": "",
"signature": "sha256:ec48b28f06cb0d89d2925aa8322307ed874ac1a1362613ee7eaf2b5b1ddf3343"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 7:Moment of Inertia"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 7.1, Page no.103"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import sqrt\n",
"#variable declaration\n",
"b=30 #width of the secion in mm\n",
"d=40 #depth of the section in mm\n",
"\n",
"#calculation\n",
"I_xx=b*d**3/12\n",
"I_yy=d*b**3/12\n",
"\n",
"#Result\n",
"print\"I_xx=\",int(I_xx/1000),\"*10^3 mm**4\"\n",
"print\"I_yy=\",int(I_yy/1000),\"*10^3 mm**4\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"I_xx= 160 *10^3 mm**4\n",
"I_yy= 90 *10^3 mm**4\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|