TITLE: Can anyone help me with a graph: exponential but never reaches 1
QUESTION [17 upvotes]: The following is what I am hoping to accomplish:

The main points here are:

It curves
It can't ever reach $1$
Any number can be supplied for $X$
The resulting $Y$ gets the most 'bang for its buck' earlier on the $X$
$Y$ past a certain point (lets say around $1$ on the $X$) goes up really really slowly

I'm a game developer, and I need this so that the higher a supplied X goes, it never hits $1$ on the $Y$, but there is at least a little room for growth early on (between like $0.01$ and $0.5$ish on the X). Think of like 'run speed' of your character... there is a real limit on how fast a character should feasibly be able to run, but if someone were to level up their ability to run really high, there should be diminishing returns that total under the fastest the game should ever allow, but still allowing for growth (for instance, if $X$ is $10$, it should be extremely close to $1$ on the $Y$, but it still should be lower on the $Y$, than $20$ on the $X$).
Thanks in advance for all of your help! I don't have any better place to ask this, so your help is very very appreciated!

REPLY [5 votes]: If you wanted to, another way to approach it is from a statistical standpoint. What I mean by that is this graph looks very similar to that of a cumulative geometric distribution graph found mostly in statistics. This distribution would be created through a simple question of how many tries it takes to accomplish a task. So 1=y denotes a 100% chance that by that try it will accomplish the goal. This is similar to a binomial distribution differing only in that in a binomial 100% is achievable once all trials are conducted, but with a geometric distribution you have an infinite number of trials. This means that a distribution with probability p of success has the equation for success on the first try $= p$, the second try = $p+p(1-P)$ the third try being = $p+p(1-p)+p(1-P)^2$ and so on until you approach 1 but never actually hit $1$. $p$ in this distribution is a probability of success on any given independent trial so it must be below $1$. To give an easy example of this in action imagine a game where you win when you flip a tails on a coin. The probability of success on any independent trial is $0.5=p$. This means the first flip has a $.5$ chance of success. The chance that you win BY the second try is $.5$ from the first try and $.25$ the second time calculated by $.5(1-.5)$ added together to make a total probability of $.75$. Success BY the third trial is $.5$ from the first added to $.25$ from the second and then $.125$ from the third calculated by $.5(1-.5)^2$ added all together for a total of $.875$ continue this on and eventually you will approach $1$ but never actually hit it. In Texas Instruments ti84 code this distribution is geometcdf(p,x). 
Hope this helps, if nothing else just another option in case the formulas above don't work for you.