Answer:
Consider A is square matrix of order 4 x 4 generated using magic function. Augmented matrix can be generated using:
Aug=[A eye(size(A))]
Above command is tested in MATLAB command window and is attached in figure below
Answer:
155fts
Explanation:
We apply the bernoulli's equation to get the depth of water.
We have the following information
P1 = pressure at top water surface = 0
V1 = velocity at too water surface = 0
X1 = height of water surface = h
Hf = friction loss = 0
P2 = pressure at exit = 0
V2 = velocity at exit if penstock = 100ft/s
X2 = height of penstock = 0
g = acceleration due to gravity = 32.2ft/s²
Applying these values to the equation
0 + 0 + h = 0 + v2²/2g +0 + 0
= h = 100²/2x32.2
= 10000/64.4
= 155.28ft
= 155
Answer:
The Full details of the answer is attached.