Here's the issue. I have two curves that are dependent on each other (part of a bigger solution set). The logic of my program requires that one of two conditions have to be met. Basically, two curves are rising in y as x increases. Either curve 1 will reach some value "first", or curve 2 will reach some other value first. The shape of the curves is unknown (part of a larger function, so only values at instantaneous points are calculated). Any recommendations for solving this problem without manually stepping through x?