Flood and Erosion Control Problems and Their Solution