The pressure exerted on the bottom of a dam by the water in the reservoir created by the dam depends on the