The density function for the Kolmogorov-Smirnov distribution is given by
The kolmogorovd command computes this density function.
Example. Input:
Output: