pdf with cumulative function explanation