https://numbas.mathcentre.ac.uk/question/11940/use-piecewise-cdf-to-find-probabilities-at-given-points-and-the-expectation/embed/