https://numbas.mathcentre.ac.uk/question/11890/log-likelihood-and-maximum-likelihood-estimator-fo/embed/