close all;
% fair coins are more likely than unfair coins:
x = 0:0.001:1;
figure;
area(x,betapdf(x,5,5));
axis([-0.25 1.25 0 5]); xlabel('\theta');ylabel('p(\theta)');title('prior');