How to get the coexistence curves of EOS from the Maxwell construction?

Hi, everyone,

There are different Maxwell construction curves for different equations of state (EOS) in the gas-liquid two phases coexistence state. For every coexistence temperature, it is necessary to calculate the coexistence density and this is a complicate process. I want to know whether there is a ready-made formula for Maxwell construction or Solver?
Looking forward to your help.
Thanks.