x(1),x(2)差异很大.
global a
a=[851169606 1059209620 0.514241];
x0=[0.01;100000000];
options=optimset('Display','iter','MaxFunEvals',15000,'MaxIter',5000);
[x,fval]=fsolve(@myfun,x0,options);
format long e
x
fval
format
%%%
%%%
5000 14951 41.344 133.887 1.55e+004 134
Maximum number of iterations reached:
increase options.MaxIter.
x =
8.516556446669145e+008
6.942190255968392e+000
fval =
1.714000699575990e-002
6.429904095747514e+000