Let us consider the example from Maple help to ?ProbabilityFunction (also see ?Geometric)

ProbabilityFunction(Geometric(1/3), 5);
                              32 /729

Let us continue the investigation

ProbabilityFunction(Geometric(1/3), 5.1);
ProbabilityFunction(Geometric(1/3), 5.12);
ProbabilityFunction(Geometric(1/3), 51/10)

whereas the result 0 is expected in all the three cases up to Wiki. I am aware of the line

"t-algebraic; point (assumed to be an integer)"

in the help. However, 

ProbabilityFunction(Geometric(1/3), -.5);

The same issue with the DiscreteUniform distribution. This bug lasts from  at least Maple 16. The question arises: may we trust Maple?

Please Wait...