Compare Two Fits in an Optimization Problem

It is often useful to compare two different fits generated by FindFit.

    
In[1]:=
Click for copyable input
Obtain the initial solution by starting the search for all parameters at 1:
In[3]:=
Click for copyable input
Out[3]=
Search with a better starting value for the parameter c:
In[4]:=
Click for copyable input
Out[4]=
Compare the two fits:
In[5]:=
Click for copyable input
Out[5]=
New to Mathematica? Find your learning path »
Have a question? Ask support »