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
|
{
"metadata": {
"name": "Ch 4"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 4:fluid kinematics"
]
},
{
"cell_type": "heading",
"level": 3,
"metadata": {},
"source": [
"Example 4.6 Page no.165"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Example 4.6\n",
"#Determine how fast the manufacture must travell along the route.\n",
"#given\n",
"pratet=-8 #dollars/hr\n",
"pratex=0.2 #dollars/mi\n",
"\n",
"u=(-pratet)/pratex\n",
"\n",
"#Result\n",
"print \"The delivery speed=\",round(u,1),\"mi/hr\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"The delivery speed= 40.0 mi/hr\n"
]
}
],
"prompt_number": 1
}
],
"metadata": {}
}
]
}
|