function y = least_square_ag(x0,spec,l);

y=sum(abs(spec-abs(x0(1)).*exp(-x0(2)*(l-440))));
