Maxima Function
cdf_discrete_uniform (x,n)
Returns the value at x of the distribution function of a Discrete Uniform(n) random variable, with n a strictly positive integer. To make use of this function, write first load(distrib).
load(distrib)