If a valve in a pipe is suddenly closed, a large pressure surge may develop. For example, when the electrically operated shutoff valve in a dishwasher closes quickly, the pipes supplying the dishwasher may rattle or "bang" because of this large pressure pulse. Explain the physical mechanism for this "water hammer" phenomenon. How could this phenomenon be analyzed?