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
|
{
"metadata": {
"name": "",
"signature": "sha256:3c3856bc217e5f495e078375001a6745906e09c45dfca2c5d1fe105500ef94b8"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 16 : Machinery and Equipment"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 16.2 Page No : 16-11"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\t\n",
"#initialisation of variables\n",
"p = 500\t#ft\n",
"p1 = 6\t#in\n",
"t = 500\t#cfm\n",
"p2 = 7\t#psig\n",
"P = p2+14.7\t#psia\n",
"T = 520*(P/14.7)**0.283\t#F\n",
"f = 0.048*p1**0.027/(t)**0.148\t#in\n",
"\t\n",
"#CALCULATIONS\n",
"delP = 20.*10**-3*p*T*(t)**2/(38*10**3*P*p1**5)\t#psia\n",
"\t\n",
"#RESULTS\n",
"print 'the pressure drop = %.2f psia'%(delP)\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"the pressure drop = 0.23 psia\n"
]
}
],
"prompt_number": 1
}
],
"metadata": {}
}
]
}
|