First of all, I am not very good at math, and I am a programmer who develops (web)applications
I was working on a web-app which is used for training on a stationary bike, it is used with smart bikes of which the resistance can be controlled.
What I needed to build was a way to keep the output wattage within a range.
I have solved this in code by increasing and decreasing the value of the resistance around the min and max values.
Here is a crudely drawn graph of what it does.
Is there an equation which would plot this graph with the min and max values as the input?
And what would you call this graph with the 2 exponential curves?
Sorry if this question is unclear, or if this is not the correct place to ask.

