Please have a look into the article "Measurement of the ground conductivity and relative permittivity with high frequency"
to receive a detailed description of mathematics involved.
(Please, use a dot "." as a decimal separator in the input fields)
While solving this equation there is sometimes more than one solution.

Two wire line in real ground resulting in one propper solution.

Open air two wire line has several solutions (a random solution is returned)