Kaydı eposta ile gönder: Exact solution of the 1D riemann problem in Newtonian and relativistic hydrodynamics