m=[9 9 9 10 11];n=m.^.6;
s=10^(-5)*[1000 7 2 17 5];  
mm=m.^1.2; ss=s.^2;m1=min(n);m2=min(s);
b1=max(n);b2=max(s);
v=b1*b2/(m1*m2);w=1/v;z=(sqrt(v)+sqrt(w))/2;
st=s.*n;
l=sum(st);q=(sum(mm))^.5;p=(sum(ss))^.5;x=z*l/(q*p)