A = 0;
px = zeros(11,11);
bdist = zeros(100,1);

for i = 1:10000
	a = rand;
	b = sqrt(rand);
	if(b > a)
		A = A +1;		
	end
end

A/10000

for i = 1:50000
	a = rand;
	b = sqrt(rand);
	bdist(ceil(b*100)) = 	bdist(ceil(b*100)) +1;
	if(b > a)
		px(ceil(a*10),ceil(b*10)) = px(ceil(a*10),ceil(b*10)) +1;
	end
end

surf(px);