I need a way to create an exponential function where the output is limited from 0.90 to 1 based on a range of numbers.
For example i have the following range: [1000, 1001, ...1400]
Now when the input is 1000, the output should be 0.90, but when the input is 1400 the output should be 1. Any number in between should be exponential closer to 1 based on the number in the range.
I have come up with this function to create an output of 0 to 1 exponentially based on the range:
$$ f(x) =((x-s)/(e-s))^a $$
- $x$ = the current number
- $s$ = The first number in the range
- $e$ = The last number in the range
- $a$ = the power for the exponential curve
How can i limit the output to start from 0.9 to 1? Instead of 0 to 1?