Use a MATlab code to solve for the flows.
MATLAB Code:
L1 = 2200;
L2 = 1200;
L3 = 1400;
L4 = 1100;
a1 = -L1 + L2 + L3;
b1 = -L1 + L2;
a2 = b1;
b2 = -L1 + L2 + L4;
A = [a1 b1; a2 b2];
B = [L1; L1];
Q = A\B
Use a MATlab code to solve for the flows. 1.0 of water needs to be transferred...
Water flows from one large reservoir to another via a pipeline which is 0.9 m in diameter, 15km long, and for which f-0.04. The difference in height between the water surface levels in the two reservoirs is 50m. (a) Ignoring the minor losses in the pipeline, calculate the flow rate between the two reservoirs. (b) Assuming that the pipeline entrance and exit are sharp and that the minor losses are as in Table 1, calculate the discharge now. What is...
The water network in Figure 1 consists of two inflows at Node A and B. Assume that all pipes have a diameter of 350 mm and a length of 750 m and a Darcy friction factor, A, for all pipes of 0 012 Assume the initial flow through pipe AB and AD to be equal, and pipe CE to carry 80 L/'s. Use the Hardy-Cross method to determine flows in all pipes The elevation at node A is 87 m...
Hydraulics
Problem 4 (25 points) Water flows through a cast iron pipe at 1.2 2.5[km) long with an elevation drop of 50[m]. . The pipe has a diameter 0.6[m] and is 1. Ignoring minor losses, calculate the pressure head drop per unit length over the course of the pipe. Write the equation(s) needed to compute the pressure drop per unit length. First, express - only as a function of all the given parameters (you may use several equations if needed,...
Write the MATLAB code and use the function linsolve() to solve
the system of linear equations.
Thank you!
l Truss A truss is a structure that typically consists of 1. All straight members 2. connected together with pin joints 3. connected only at the ends of the members 4. and all external forces (loads&reactions) must be applied only at the joints. The weights of the members may be neglected. The basic building block of a truss is a triangle. Large...