If I have the followind data:
data={{45, 2.93495}, {50, 2.94697}, {55, 1.9801}, {60,0.734437}, {65, -0.0128219}, {70, -0.695535}, {75,-1.35939}, {80,-1.47567}}
where the x values are Temperature in Celsius (T) and the y values are log10 of time (t).
Question:
- How can I fit the following equation to the data and find the fitting parameters
K1
andK2
?
where log (tind)
is the log in base 10 of time (y axis of my data), T
is the x axis of my data and T0=259.246 (*Kelvin*)
, B=2595.89
, Tm=433.15 (*Kelvin*)
I have been trying the following but it does not work:
T0=259.246 (*Kelvin*);
B=2595.89;
Tm=433.15 (*Kelvin*);
eq = k1 - 2*Log10[T] + (k2/(2.303*T^3*(Tm - T)^2)) + 0.75*(B/(2.303*(T - T0))) (*T would be the x axis of my data*)
nlmtind = NonlinearModelFit[data, eq, {k1, k2}, x]
Notice that the x axis should be converted to kelvin (+273.15) for consistency of units
Tm,T0,B
are not specified andx
in the fit isT
, I presume. This works:nlmtind = NonlinearModelFit[data, eq, {k1, k2, Tm, T0, B}, T]
$\endgroup$Tm
,T0
andB
are numbers shown above. I put this numbers in the code to make it more specific. Unfortunately, your suggestions is not working. $\endgroup$