dam lecture notes ppt