I have a graph in Desmos which I use to create a formula I can use in excel. I do this as Desmos has some easy slider functionality for people who don't 100% know what they're doing, like me. I'm not trained in mathematics.
I have managed to work out that the curve I have is called 'exponential decay'. The x axis is time in minutes and the y axis is money per minute, and using y=a(b^x)+c will usually get me around where I want the line (I think I've managed to attach a screenshot from Desmos). I think that c then represents a minimum 'money per minute' value (so the further in time the graph goes, the closer the 'money per minute' value gets to c), but I'm not so sure what a and b are doing/representing.
Ideally, the curved line would remain within the 'top-right hand' corner of the graph as it were. Neither x nor y should be negative. Now, I seem to have worked this out for y, as the +c seems to limit the line from having a negative y value, but is there a way I can do this so that x doesn't become negative? Again, I'm not 100% sure I'm even using the correct 'format' with the y=a(b^x)+c thing, so I'm open to any suggestions. Sorry if my language is incorrect too, I'm not au fait with correct maths terms.
The end result is that a, b and c become static terms in excel. I use a formula so that a user can input any x value they like (so they will always input a positive integer), and excel will return a corresponding y term.
So, if anyone has followed along so far, my questions are-
- if it's easy to explain in layman's terms, what are
aandbdoing? - is there a way to limit the curve to the top-right quadrant of the graph?
- is it correct to use
y=a(b^x)+c?
If it helps, this is the excel formula to give y:
=ROUNDUP([minutes input cell]*(54.9*(POWER(0.97,[minutes input cell]))+17.2),0)

Many thanks internet strangers <3