minimise p log p + (1-p)log(1-p) for 0 < p < 1