Water pressure grows with depth, so the bottom of a dam is pushed far harder than the top. To get the total force, slice the dam's face into thin horizontal strips, each at its own depth and pressure, and add up pressure times area.