function f = variance(inverse_uncertainty_distribution) e = quadl(inverse_uncertainty_distribution,realmin,1-realmin); b = 0; t = 1; small=0.00001; while t-b>small c = (b+t)./2; if inverse_uncertainty_distribution(c) < e b=c; else t=c; end end phie = (b+t)./2; f = 0; alpha = small; while alpha