Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Logic: One of Two Conditions

  1. Jul 19, 2011 #1
    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?
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted