Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ib/paper-4/17h/c/solution

The uniform prior is the Beta distribution . By Beta-binomial conjugacy, after observing heads the posterior is
The Bayes estimator under squared error loss is the posterior mean, hence

New to topics? Read the docs here!