Skip to content
Prev 44730 / 398528 Next

intersection points of two functions

If both functions are univariate, you can define the difference between the
two as the objective function and use uniroot() to find the intersection
(where the difference is 0).  If the functions are multivariate, you can use
optim() to minimize the squared or absolute difference between the two
functions, instead of uniroot().

HTH,
Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}