cumulative distribution function example problems with solutions