(I'm not really sure what counts as beginner vs intermediate/advanced, but I had to pick a board and I picked this one)
I need to find a formula to represent a decay-over-time situation. There is some room for flexibility (as long as it's roughly what I'm after, that's good enough). Here are the guidelines:
1. x is amount of time passed, y is proportion of original value remaining
2. x=0, y=1 (obvious)
3. The slope of the curve at x=0 should be 0 or close to it
4. x=20, y=0.5, and the slope here should be at the maximum negative value of the whole curve
5. for x > 20, y asymptotically approaches 0.05. It should be close to that value by x=40.
6. X is never less than 0, so there is no need to worry about what the function produces for those values where x < 0.
7. This is going into an Excel formula, so I'm open to a simpler formula that might be a bit less precise.
Here is a quick mock-up done in Photoshop to clarify any confusion.
I can get the desired horizontal asymptote easily enough using a function of the form y = a/bx + 0.05. However, this also creates a vertical asymptote at x=0. I would be fine having a second horizontal asymptote at y=1 and then just specifying a conditional that if x=0, y=1, but I am actually not sure how to have a function that creates two horizontal asymptotes.
I need to find a formula to represent a decay-over-time situation. There is some room for flexibility (as long as it's roughly what I'm after, that's good enough). Here are the guidelines:
1. x is amount of time passed, y is proportion of original value remaining
2. x=0, y=1 (obvious)
3. The slope of the curve at x=0 should be 0 or close to it
4. x=20, y=0.5, and the slope here should be at the maximum negative value of the whole curve
5. for x > 20, y asymptotically approaches 0.05. It should be close to that value by x=40.
6. X is never less than 0, so there is no need to worry about what the function produces for those values where x < 0.
7. This is going into an Excel formula, so I'm open to a simpler formula that might be a bit less precise.
Here is a quick mock-up done in Photoshop to clarify any confusion.
I can get the desired horizontal asymptote easily enough using a function of the form y = a/bx + 0.05. However, this also creates a vertical asymptote at x=0. I would be fine having a second horizontal asymptote at y=1 and then just specifying a conditional that if x=0, y=1, but I am actually not sure how to have a function that creates two horizontal asymptotes.