Say $y = 0$ when $x \leq 0$, and $y = 1$ when $x \geq 1$. I want to create a function between these two that still makes everything continuous (continuous at $x = 0$ and $x = 1$) and is monotonically increasing. How can I come up with such a function? Basically, I am trying to find a function that would fit the part in blue (obviously not accurately drawn, but you get the idea):

This function looks nice :
$$1-\frac{1}{1+\tan(x\frac{\pi}{2})^3} $$