I'm looking for a function to generate random numbers in [a,b]
Function must take one argument - seed and return random x є [a,b].
The probability of x = a is the lowest, but is increasing when moving to b. The probability of x = b should be the highest.
As far as I understand what I'm looking for is an implementation of cumulative distribution function, but can't say for sure. So i'll be glad for direct literature. Or maybe there's an in-box php implementation already?
Thanks