University of Central Florida
Civil and Environmental Engineering
CWR4101 Hydrology Laboratory #1A
Programming/ Simpson's Rule

I. PURPOSE

II. EQUIPMENT

III. PROCEDURE

IV. CALCULATIONS

Simpson's rule uses discrete x axis data (in this case time) to determine the area under a curve. The curve is broken into a number of trapezoids and the area of each trapezoid is determined. These trapezoids are then summed to give the total area under the curve. In this example the curve will be broken into 'n' pieces, i will be used to refer to the value at any point. Q is the flowrate, t is time. Qi refers to the flowrate at step i, Qi+1 refers to the flowrate at step i+1. The volume at any point i can be calculated as the average of Qi and Qi+1 multipled by the difference in time between steps i and i+1. The area of all steps are summed to give the total area under the curve.

V. DISCUSSION

This laboratory requires a formal write-up. Included should be a printout of the spreadsheet and a discussion of the equations in the spreadhsheet. Also included should be the printout of the computer program and a screen print of the input and output of the program. For those with computer experience this lab will probably be very easy and take very little time, for those with little or no experience it is recommended that you start the lab immediately. Development of this computer experience is more than a good resume item - it is a requirement of work in the field of Hydrology.