C#

Asked • 07/31/19

Shortest distance from a point to this curve?

I need to find the distance of multiple points to a curve of the form: `f(x) = a^(k^(bx))` My first option was using its derivative, using a line of the form with the inverse of the derivative, giving it coordinates of the `Point` and intersecting it with the original curve. Finally, we calculate the distance between points with simple geometry. That's the mathematical process that I usually follow. I need to save time (since I'm doing a genetic algorithms program) so I need an efficient way to do this. Ideas?

1 Expert Answer

By:

Dylan B. answered • 11/10/20

Tutor
New to Wyzant

Computer science Tutor, Associates degree, Real world experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.