fi(x)
as
double f(int i,double x);
for example,
double funs(int i, double x){ switch(i){ case 0: return 1 ; break; case 1: return x ; break; case 2: return x*x; break; default: return NAN; } }
Time t (days) : 1, 2, 3, 4, 6, 9, 10, 13, 15 Activity y of ThX (relative units): 117,100,88,72,53,29.5,25.2,15.2,11.1
From this data they correctly deduced that radioactive decay follows exponentil law, y(t)=ae-λt (equation (1) in the article).
Now, assume that the incertainty δy of the measurement was, say, about 5%,
δy=y/20and fit the data with exponential function in the usual logarithmic way, ln(y)=ln(a)-λt. The uncertainty of the logarithm should be probably taken as δln(y)=δy/y.
Plot the experimental data (with error-bars) and your best fit.
From your fit find out the half-life time of ThX.
ThX is today known as 224Ra – compare your result with the modern value.
(3 points) Uncertainties of the fitting coefficients
(1 points) Evaluation of the quality of the uncertainties on the fit coefficients