need formula for distance from a point to a curve

Job ID: 34018085

Budget: $30 – $250 CAD

I have a curve:

    y = (a / (x + b)) + c 

I would like a function that tells me the distance from an arbitrary point (X,Y), to the closest point on this curve.