
function diff = quintic_meat(x,X,Y)
% This function is called by LSQNONLIN.
% x is a vector which contains the coefficients of the
% equation. X and Y are the option data sets that were
% passed to lsqnonlin.
 
A=x(1);
B=x(2);
diff = A*X.^B - Y;
end

