Finding Numerically the solution line for an equation

I have a function which depends say upon two variables: f(x,y).

I need to find numerically the solution line y(x) of the equation f(x,y)=0. The function itself for arbitrary set of {x,y} may evaluate to some complex number (it involves lots of square roots) but for the solution I am seeking the imaginary part on the solution line should be zero. I understand that one in principal can scan through the whole region of {x,y} to get the curve but I need numerically efficient way to write the code.

Thanks.

Re: Finding Numerically the solution line for an equation

Quote:

Originally Posted by

**LayMuon** I have a function which depends say upon two variables: f(x,y).

I need to find numerically the solution line y(x) of the equation f(x,y)=0. The function itself for arbitrary set of {x,y} may evaluate to some complex number (it involves lots of square roots) but for the solution I am seeking the imaginary part on the solution line should be zero. I understand that one in principal can scan through the whole region of {x,y} to get the curve but I need numerically efficient way to write the code.

Thanks.

I can't really help you with any sort of coding sequences, but if you have a solution curve that has no imaginary part then it must be on the real axis. There's something off about your description.

-Dan