You are on page 1of 2
9 University of Colorado Denver Department of Civil Engineering CVEN-3414 Water Supply and Distribution Systems HOMEWORK #9 Write a computer program in Fortran, Matlab, R, or Visual Basic (in Excel) that plots pipe profiles and hydraulic grade lines (HGLs) between a user-specified number of nodes. Each pipe connects two nodes, so the numberof pipes is one less than the numberof nodes. For each node, a as_real numbers. Plot pipes with a thick line and HGL with a thin line, wit lin types indicated by a legend. Ask the user for a description that will appear on your plots.” Use the same code for Parts CandD. Part A Write the pseudocode for this program in 5-10 logically sequenced steps. Part B Plot profiles A-B-C and A-B-D from Shammas and Wang (2011) Problem 5.3(a), which you completed for HW#6. Assume za = 70 m. Profile A-B-C should resemble the following: CVEN-3414 HW#S 5.3(a) Profile A-B-C (2017-02-14 10:35:24) 0 §=©50 = 100 150 200 280 00 380400 A x{m) 8 c PartC Plot profiles A-B-C and A-B-D from Shammas and Wang (2011) Problem 5.3(b), which you completed for HW#6. Part D ‘Submit a hard copy of your source code (be ready to submit electronically if requested). "In the example plot shown, this string is “CVEN-3414 HW#S $.3(a) Profile A-B-C (2017-02-14 10:35:24)”. ‘WMeaching\3414\homework\09, docx 2/8/2018 Lg 53] eet Le 300m Bg A = mae y eee elev. ¢ B= 1% Der sm elev d Cz bm felon feo o1te elev 4 D = bom cmd AK @ 300m Please Box Your ANSWERS. © ger head QA wh Flo 4 2.6% b/s QD 3 dosed © hp= K Q* - Gi. = aCooia(30) 1954706 -4 oe S Poo r* C4-a) 05) oe Kap - BFL = Co cise + 3163069.4 S* Rg -xT(481). 04)" me 2 Nase Kes Qo = 1954)906.9 St [2 ee ims ] = 10.838 & 0.8m we 3 \000L 2 . ea cueae ee J ALOMM © AIH Weo2 Kon Q™- 33205941 5 [2 we Com Hyob = 10-3 47t* 6G = AB.BM H

You might also like