Simplification of formulas for compression wave and oscillating flow in circular pipe