I am working on an algorithm for my work and we are using an exponential function where $x =$ the users age and $f(x) = a$ value that will be subtracted from the users compatibility index.
I havent worked with calculus in quite a while so finding an answer to this problem has been imposible. Basically I need an equation that fits the following rules.
- vertical asymptote at $x = 100$ ($100$ is the maximum age that can be put in)
- graph is a positive function (in the first quadrant)
- At $x=55$ ($y$ unknown), a tangent line touches the curve; the slope of this tangent line must equal 1.
- $f(18) = 0$
EDIT: I have another problem as well. SImilar situation.
- vertical asymptote at $x = 18$ ($18$ is the maximum age that can be put in)
- graph is a negative function (in the first quadrant)
- At $x=8$ ($y$ unknown), a tangent line touches the curve; the slope of this tangent line must equal -1.
- $f(0) = 100$