Example  3.  Often times a  scientist must decide which formula "fits" the data best.
3 (a).  Find both the "exponential fit" and "power fit" for the data points  [Graphics:Images/NonLinearCurveFitMod_gr_138.gif].  
3 (b).  Discuss how this was accomplished and what transformations were used in the process.
3 (c).  Determine which curve fits the data best.

Solution 3.

3 (a).  Fit the curve  [Graphics:../Images/NonLinearCurveFitMod_gr_139.gif]  to the data points  [Graphics:../Images/NonLinearCurveFitMod_gr_140.gif].  

[Graphics:../Images/NonLinearCurveFitMod_gr_141.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_142.gif]

Find the logarithm of the ordinates and form list of transformed points.

[Graphics:../Images/NonLinearCurveFitMod_gr_143.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_144.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_145.gif]

Compute the coefficients of the linear system and get the coefficients  A  and  B, and compute the coefficients  a and  c  and the exponential fit.

[Graphics:../Images/NonLinearCurveFitMod_gr_146.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_147.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_148.gif]


[Graphics:../Images/NonLinearCurveFitMod_gr_149.gif]


[Graphics:../Images/NonLinearCurveFitMod_gr_150.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_151.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_152.gif]

3 (b).  Fit the curve  [Graphics:../Images/NonLinearCurveFitMod_gr_153.gif]  to the data points  [Graphics:../Images/NonLinearCurveFitMod_gr_154.gif].  

[Graphics:../Images/NonLinearCurveFitMod_gr_155.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_156.gif]

Find the logarithm of both the abscissas and ordinates and form lists of transformed points.

[Graphics:../Images/NonLinearCurveFitMod_gr_157.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_158.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_159.gif]

Compute the coefficients of the linear system and get the coefficients  A  and  B, and compute the coefficients  a and  c  and the power fit.

[Graphics:../Images/NonLinearCurveFitMod_gr_160.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_161.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_162.gif]


[Graphics:../Images/NonLinearCurveFitMod_gr_163.gif]


[Graphics:../Images/NonLinearCurveFitMod_gr_164.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_165.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_166.gif]

3  (c).  Determine which curve  [Graphics:../Images/NonLinearCurveFitMod_gr_167.gif]  or  [Graphics:../Images/NonLinearCurveFitMod_gr_168.gif]  is the better fit to the data points.

First, consider [Graphics:../Images/NonLinearCurveFitMod_gr_169.gif]  and the sum of the squares of the residuals  [Graphics:../Images/NonLinearCurveFitMod_gr_170.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_171.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_172.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_173.gif]

Second, consider [Graphics:../Images/NonLinearCurveFitMod_gr_174.gif]  and the sum of the squares of the residuals  [Graphics:../Images/NonLinearCurveFitMod_gr_175.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_176.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_177.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_178.gif]

Since  [Graphics:../Images/NonLinearCurveFitMod_gr_179.gif],  it appears that the fit  [Graphics:../Images/NonLinearCurveFitMod_gr_180.gif]  is best.

[Graphics:../Images/NonLinearCurveFitMod_gr_181.gif]


[Graphics:../Images/NonLinearCurveFitMod_gr_182.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_183.gif]

[Graphics:../Images/NonLinearCurveFitMod_gr_184.gif]
[Graphics:../Images/NonLinearCurveFitMod_gr_185.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004