Two examples show how to (1) find the roots of a cubic equation and (2) find the roots of the Redlich Kwong equation of state that relates pressure and temperature to molar volume for read gasses.