newz2
Petroleum
- Oct 3, 2010
- 1
Hello,
I am trying to use the Lee-Kesler equation. As I understand, we need to solve for Z (or Vr) first using the equation once for a simple fluid and then for a reference fluid. This euqation contains Z terms upto 5 th order along with an exponential term. Do we solve for Z by finding the root of the equation? If yes, any idea on how to find the roots of a equation with an exponential term in it?
I need to solve for Z using a computer program, so I cannot use the tables in Polling et al. book. Does any one have a sample code?
Thanks very much in advance.
I am trying to use the Lee-Kesler equation. As I understand, we need to solve for Z (or Vr) first using the equation once for a simple fluid and then for a reference fluid. This euqation contains Z terms upto 5 th order along with an exponential term. Do we solve for Z by finding the root of the equation? If yes, any idea on how to find the roots of a equation with an exponential term in it?
I need to solve for Z using a computer program, so I cannot use the tables in Polling et al. book. Does any one have a sample code?
Thanks very much in advance.