These questions are about bayes theorem, probability, rejection sampling and Bayesian statistics. Please answer all questions showing full workings.