I am looking for a function that fits well to be used as a weight with exponential behavior. My x values are between 0 and 1, and i would like this function to behave exponentially, so that only x values close to 1 have y values close to 1 (and vice versa x values close to 0 have y values close to 0).
The function should behave asymptotically, so that:
$\lim_{x \rightarrow 1} f(x) = 1$ and $\lim_{x \rightarrow 0} f(x) = 0$