Hydrodynamics of a one‐dimensional granular medium