%% Acemoglu & Robinson (2006) chapter 9
%% Economic Structure and Democracy, p.295.
[thita,kappa]=meshgrid(0.01:0.01:0.7);
delta=0.2; tau=0.45;
C=2/5*tau.^(5/2); omi=1.5; sigma=1; k=5;
Vd=thita+tau*(delta-thita)-delta*C;
Vo=thita.*(((1-omi*kappa)*k+sigma*(1-kappa))/(k+sigma)).^thita;
surf(thita,kappa,Vo,'FaceColor','interp','EdgeColor','none',...
    'FaceLighting','phong'), title('Democracy or Opression: ƒÂ=0.2'); hold on
xlabel('ƒÆ');ylabel('ƒÈ');zlabel('V(O|ƒÑ),V(D)');
mesh(thita,kappa,Vd); hold off

