An analytic solution of the non-isentropic equations of gas-dynamics, for the one-dimensional motion of a non-viscous and non-conductive medium, is derived in this paper for the first time. This is a particular solution which contains only one arbitrary function. On the basis of this solution, the interaction of a centred simple wave with a shock of moderate strength is analyzed; and it is shown that, for a weak shock, this analysis is compatible with Friedrichs's theory. Furthermore, in the light of this analysis, it is explained why the empirical methods employed by the shock-expansion theory, including Whitham's rule for determining the shock path, work.