Below is a Mathematica module that solves the Euler Riemann problem exactly. The user can use sliders to set the initial fluid variables (density, velocity, pressure) on the left and right sides of the discontinuity and evolve (and animate!) the system. In addition, the adiabatic index (gamma) can also be changed from 7/5 to 5/3. The thick blue lines show the solution at time t and the dashed green lines show the initial conditions.