Re: FindFit
- To: mathgroup at smc.vnet.net
- Subject: [mg105807] Re: FindFit
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Sun, 20 Dec 2009 06:52:49 -0500 (EST)
- References: <hgid9p$o1i$1@smc.vnet.net>
"jj" <yohan2 at spray.se> wrote in message news:hgid9p$o1i$1 at smc.vnet.net... > Can anybody help me? > I want to try to show my model (function) and my data in the same > graph so I can see that my conclusions are correct. > data= { {40,0.0624}, {50,42.2.276}, {58,127.718}, {60,216.608}, > {70,2040.088}, > I used FindFit for Exponential as my model to plot: > t200= {Exp200} > > t200= {Exp300} > > model=aExp[kt]; > > fit=FindFit[data,model,{a,k},t] > > Best regads jj > Probably Exponential is not the best model? You can see the fit by doing: In[16]:= data = {{40, 0.0624}, {50, 42.2*0.276}, {58, 127.718}, {60, 216.608}, {70, 2040.088}}; Fit[data, Exp[t], t] Out[17]= 8.110309498068819*^-28*E^t So, a=8.110309498068819*^-28, and k=1 Why not try other models like a polynomial? --Nasser