function mini=minimize6test2(b)

#x0=dominant2(roots(poly(la,lb,lc,Ia,Ib,Ic,RC)
funp6test2wrap = @(x)funp6test2(x,[real(b),imag(b)])
y0  = 2*ones(7,1);
lbound = [0.5,0.5,0.5,0.5,0.5,0.5,5]';
ubound = [20,20,20,20,20,20,200]';
#mini=[1 2 3 4 5 6 7]
mini=sqp (y0,funp6test2wrap,[],[],lbound,ubound)
endfunction