# How to solve from a list

I have this equation: $y(t)=aE^{-bE^{-ct}}$ and I have this list:

{{0.11, 0.78}, {0.12, 0.81}, {0.88, 2.37}, {1.17, 2.8}, {1.48, 2.84}, {1.96, 3.2}, {2.98, 3.42}, {3.27, 3.19}, {3.61, 3.23}, {3.75, 3.09}}


which is (t, y(t)). Now I want to use that information of y(t) and t to solve in y(t) for a b and c. I think I would have to use each pairs once at a time but is there a command to loop through to entire list and solve using those pairs of values? Thank you.

• NonlinearModelFit Mar 25, 2016 at 18:06
• You have three variables to solve for but only one condition specified (i.e. $(t,y(t))$ for each point. Do you mean instead to do a fit to the data as noted by @Quantum_Oli? Mar 25, 2016 at 18:08
• Can you tell me more information about the command? I read the documentation for it but I don't quite understand the usage. Mar 25, 2016 at 18:09
• The first example under Basic Examples should show you all you need. Your data are your list of values, the instead of Log[a+b x^a] put the form of your model, instead of {a,b}, your have three fit parameters {a,b,c} and you want to fit over t not x (provided you continue to use t in your model). Mar 25, 2016 at 18:10
• I would guess either your tyt list isn't well formed, or you haven't got spaces between your b and E and / or c and t. Mar 25, 2016 at 18:17