Rarefaction Wave Solution of the Riemann Problem