Detailed coverage of equations to calculate Water Hammer in a single pipeline with a reservoir on the pipe inlet and a valve at the pipe end. A second-order Method of Characteristics (MOC) scheme is used. Water hammer; waterhammer; #MOC; pressure surge; #HydraulicTransients in pipes; transient analysis in pipes.