A water siphon having a constant inside diameter of 3 in. is arranged as shown in Fig. P5.105. If the friction loss between A and B is 0.8V2 /2, where V is the velocity of flow in the siphon, determine the flowrate involved.

ENGR 121 B Lecture Notes for 11/07/2016 Spencer Kociba ● Error thresholds ○ eps=2.2204e-16 ■ Maximum error threshold constant in MATLAB a−b ■ The relative erro[a] )must be less than eps to be considered not significantly different from each other ■ NOTE: 1+esp ≠ 1 even though ans=1.000 ● For loops are almost never necessary when performing a function for every element in a vector or matrix ● Vectorizing ○ Re-writing code using loops (traditional programming language) to vector and matrix operations in MATLAB ● Preallocating memory ○ Faster than dynamically growing the number of vector elements using a