Completed Bayesian problem 3.