I haven't done some math in a long long time... I've been trying to find an exponentially decreasing function (instead of a linear one that's easy) bound by 2 known points (x1,y1), (x2,y2), as below:

I've been trying to play with functions like f(x)=a*b^(k*x)+c, unsuccesfully. It's easy to guess that b effects the depth of the curve. But that leaves a, k and c to find.
https://en.wikipedia.org/wiki/Exponential_function
– WW1 Feb 05 '21 at 21:21