Consider a random sample of size n from a Bernoulli distribution, Xi ~ BIN(1,p). For a uniform prior density, p ~ UNIF(0,1), and squared error loss, find the following:
a)      Bayes estimator of p.
b)      Bayes estimator of p(1-p).
c)       Bayes risk for the estimator in a).