Spread Sheet Application for Engineering Problems
Spread Sheet Application for Engineering Problems
Spread Sheet Application for Engineering Problems
Problems
1.1. Velocity measurement in Rivers
Exercise 1
Velocity, m/s
Verticals Distance Depth 0.6d 0.2d 0.8d Vavg qi,mid-section qi,mean-section
RB 4 0.00 0.000
1 5 0.31 0.193
2 6 0.40 0.219
3 7 0.51 0.238
4 8 0.85 0.243
5 9 1.23 0.260 0.211
6 10 1.58 0.265 0.216
7 11 1.69 0.278 0.225
8 12 1.71 0.295 0.253
9 13 1.87 0.317 0.257
10 14 1.84 0.287 0.278
11 15 1.71 0.305 0.252
12 16 1.65 0.287 0.238
13 17 1.50 0.278 0.238
14 18 1.36 0.265 0.217
15 19 1.19 0.257 0.193
16 20 1.17 0.235 0.188
17 21 0.92 0.216
18 22 0.81 0.188
19 23 0.70 0.184
20 24 0.63 0.167
21 25 0.55 0.150
22 26 0.48 0.125
LB 26.5 0.00 0.000
Total Q =
River cross-section
0 5 10 15 20 25 30
0.00
0.50
1.00
1.50
2.00
1|Page
Exercise 2
C 15.352695
A 1.4613171
Qc = c(h+a)^n N 2.6951459
1600
1400 Measured discharge
Discharge (m^3/s)
Problem1: (Maximization)
Maximize the benefit earned from sell of water by withdrawing from reservoir of maximum
capacity of 80 Mm3 and initial storage of 20 Mm3. The price of water during summer and winter
are 0.05 and 0.20 $ per m3 respectively. The inflow during summer and winter are 100 and 35
Mm3 respectively.
Objective function
Z = 0.05 Qs + 0.2Qw (Maximization)
Constraint
Qs + Qw >= 75
Qs + Qw =< 155
Qs >= 40
Qs =< 120
Qs , Qw >= 0
3|Page
Problem2: (Maximization)
A farmer owns a 100 ha farm and plans to plant at most three crops. The seeds for crops A, B, C
costs Birr 40, 20, 30 per ha respectively. The farmer has a maximum of Birr 3200 to spend on
seed. Crops A, B, C require 1, 2 & 1 working days per ha respectively and there are a maximum
of 160 working days available. If the farmer can make a profit of Birr 100 per ha on crop A, Birr
300 per ha on crop B, and Birr 200 per ha on crop C, how many hectares of each crop should be
planned to maximize the profit?
Solution:
X1 = Number of hectares of crop A
X2 = Number of hectares of crop B
X3 = Number of hectares of crop C
P = Total profit
Objective function:
Max P = 100X1 + 300X2 +200X3
Constraints:
X1 + X2 + X3 =< 100
40X1 + 20X2 + 30X3 =< 3200
X1 + 2X2 + X3 =< 160
T (hr) 0 6 12 18 24 30 36 42 48 54 60
Inflow(m3/s) 0 10 20 40 50 40 30 20 10 5 0
The outflow discharge over the spill way, assuming spillway as broad crested weir, is given by
Q = 1.7 *B *H3/2 where Q – outflow in m3/s
B – width of the spillway in m = 30m
Assume that the water level in the reservoir at time t = 0 is just at the crest of the spillway for
which Qo = 0.
4|Page
By completing the table below, compute the outflow hydrograph.
Determine the direct runoff hydrograph, the Ф ▬ index and the excess rainfall
hyetograph for the observed stream flow data given below. The watershed area is
18.23 km^2 and the base flow is 11.35 m^3/sec.
5|Page
Hydrograph of stream flow
Time
1 7 13
0 350
50 300
100 250
Rainfall depth
150 200
Flow
200 150
250 100
300 50
350 0
0 5 10 15 20
Time
y b0 b1 * x
b0
y x 2
x xy
N x 2
( x ) 2
N * xy x y
b1
N x 2 ( x) 2
( y ) 2
b0 y b1 xy
R2 N
( y ) 2
y 2
N
S*
y 2
b0 y b1 xy
N 2
6|Page
Multiple regressions (y: x1, x2, x3,…)
y b0 b1 x1 b2 x 2
y N *b b x b x
0 1 1 2 2
x y b x b x b x x
2
1 0 1 1 1 2 1 2
x y b x b x x b x
2
2 0 2 1 1 2 2 2
Test of significance
y 2
estimate y
(k 1)
F Where k is the number of constraints
y y
2
N k
estimate
Exercise
Data for regression analysis
Catch
No Area, m^2 Rfall (in) S per 1000 Qbar, (ft^3/s)
1 28 95.3 1639 2595
2 328 84.2 2706 10741
3 11 66.5 1121 544
4 151 82.2 2242 11176
5 528 45.1 1811 15562
6 6 50.7 2193 269
7 45 36.7 944 1632
8 85 26.4 276 699
9 81 29.7 357 249
10 485 31.4 640 5690
11 187 39.1 677 4275
12 36 23.7 231 178
13 27 24.3 266 244
14 75 25.5 315 447
15 90 25.8 372 597
16 86 26.3 361 478
17 41 26.5 330 166
18 631 24.7 297 2764
19 1170 24.2 197 3689
20 565 25.6 226 3229
21 44 24 328 99
22 180 24.4 171 389
23 117 25 210 793
24 30 25.6 227 223
25 8 25.2 255 180
26 400 25.6 280 1298
27 140 30.9 507 495
28 3810 28.9 338 11832
29 137 28.3 225 658
7|Page
30 153 34.2 469 1263
31 8 33.8 915 226
32 257 32.1 289 3128
33 617 33.9 452 6269
34 102 27.9 207 1185
35 125 28.4 437 1007
36 859 26.9 339 4708
37 1670 37.2 949 15687
38 782 46.4 1508 10841
39 3 96.4 1706 442
40 1560 40.9 1155 19475
41 28 76.9 1849 1747
42 342 32.9 906 1673
43 138 39.1 1144 5169
44 732 49.9 1456 16545
45 495 56.1 1597 17458
46 64 65.5 1511 4269
47 4 99.7 1943 787
48 44 58 1578 924
49 401 56.9 1777 9252
50 8 51.5 844 420
51 61 29.7 246 573
52 160 34.4 492 1967
53 58 40.7 1207 1931
54 235 30.4 181 2634
55 78 30.4 147 763
56 262 44 1018 6340
57 216 49.8 767 10655
8|Page