A system of four interconnected reservoirs A, B, C, and D by pipes 1, 2, 3, and 4 to form a junction J has the following data:
pipe 1: 0.625 m diameter, 2500 m long, f = 0.0065,
pipe 2: 0.875 m diameter, 1200 m long, f = 0.0042,
pipe 3: 0.45 m diameter, 1500 m long, f = 0.008,
pipe 4: 0.32 m diameter, 1750 m long, f = 0.006.
The elevations of water surfaces in reservoirs A, B, C, and D are 30 m, 25 m, 20 m, and 15 m, respectively. Determine the discharge through each pipe.