![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_67.gif]](../Images/MATH.LAB.CHEM155.ST_gr_67.gif)
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_68.gif]](../Images/MATH.LAB.CHEM155.ST_gr_68.gif)
Call for nonlinear fitting
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_69.gif]](../Images/MATH.LAB.CHEM155.ST_gr_69.gif)
Make sure that there is no predefined values for our variables
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_70.gif]](../Images/MATH.LAB.CHEM155.ST_gr_70.gif)
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_71.gif]](../Images/MATH.LAB.CHEM155.ST_gr_71.gif)
Define the function using the values from the previous command
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_72.gif]](../Images/MATH.LAB.CHEM155.ST_gr_72.gif)
If x_ is not working try x in cv[x_]
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_73.gif]](../Images/MATH.LAB.CHEM155.ST_gr_73.gif)
We use the Show command to superimpose figures
![[Graphics:../Images/MATH.LAB.CHEM155.ST_gr_74.gif]](../Images/MATH.LAB.CHEM155.ST_gr_74.gif)
Problem 3. - Consider the following data and find a fit and plot the data and the best fit function
data2 ={{220,.642},{250,.759},{275,.861},{300,.952},{325,1.025},{350,
1.085},{380,1.142},{400,1.177}}