Returns the F(x) = Pr{X <= x} where F represents the cumulative distribution function
a double representing the probability
a double representing the upper limit