I am a graduate mathematician, programmer analyst.
I have more than 30 years of experience in analysis, algorithm creation and software development, mainly in C/C ++ and Visual Basic. Obviously, I'm an expert in creating effective algorithms. If you wish, I can immediately give you (in chat) the pseudo code to find the intersection of two lines using the bisection technique, obviously without any commitment.
If you accept my offer, I will write the appropriate program in Visual C or Visual Basic, whichever you prefer.