| if i undertand you right, you seem to need an interpolating polynomial.
i.e you need to find F(x) ==> Pn(x) = sum (i=0..n) a(i) x^i
if you find Pn(x), that will be your interpolating polynomial for your
unknown function F(x). to find Pn(x) we need offourse to find the terms
a(i) for i=0..n and we are done.
so your data (graph) gives you the set of values ( Xi, f(Xi) ) i=1..n
(i.e the x,y values) and you want to find a polynomial Pn(x) that fits
closest to the data supplied.
so pick your favorite method of generating interpolating polynomials, such
as minimax polynomial (closely realted to chebyshev polys) or least square
ploynomial, etc..
/naser
|
| If the log vs. time plot is linear, the function is exponential,
not logarithmic.
I have functions in C to fit exponential functions, least squares.
Let me know if are interested or even if I can quickly write the
little program to do it.
TOm
|
| Excellent, I looked in my Calculas books and its light on
interpolation, however at the library I found some good Texts on
Numerical analysis and its all there so thanks. There seems to be no
definative text on Mathematics applications in chemistry, can anyone
recomend a good reference text on The mathematics of chemical reactions
or similar. I guess I'm pushing my luck as most maths texts give some
applied examples in science, physics etc, however I havent found a book
that deals or even lends a chapter to the analysis of reactions. Any
references would be welcome.
|
| well, there is a chapter on chemistry computations in book called
"Very Large Scale computations in the 21st century", edited by
Jill P.Merirov , thinking machine corp. 1991 , ISBN 0-89871-279-3
QA75.5.V47, they talk about things like quantum chemistry by random
walk, and environmental modeling.
Iam sure there out there more down to earth computation chemical
books, try looking through the chemistry section of the library ?
/nasser
|
| This is a belated reply, but if you are still interested in this problem...
You seem to be looking at a problem in chemical kinetics, not a problem
in interpolation or curve fitting.
Any good textbook of physical chemistry (mine was Moore) will give you the
standard rate equation :
rate = k * [A]^na * [B]^nb ... (from memory, this may be off)
where [x] is a concentration, nx are small positive integers, and k is a
rate constant which contains the (usually large) temperature dependence.
Integrating this over time gives the commonly observed negative exponential
dependence of concentration on time.
The exponents na, nb ... have a simple physical interpretation: they are the
number of groups combining to make the activated complex, the bottleneck in
the reaction. For example, if the measured rate fits na=1 and nb=2, then
the activated complex is assumed to be formed by
A + 2B -> AB[subscript]2* (where * means activated)
A standard college lab experiment is to measure concentrations over time for
some reaction, plot the results on semi-log paper, and determine the nx and k.
Since the nx are usually small integers (only a sadist would give students a
reaction in which they are not), they can be determined by inspection.
Given the nx, a simple average will usually give the estimate of k.
Usually, experiments are designed so that the reverse reaction can be
ignored. If not, and you are looking at a reaction
A + B = C + D
you will have two rate equations, one for the forward rate and one for the
reverse rate. The time dependent concentrations you measure depend on both
rates, with rate equations like the above, but with C and D appearing in the
reverse rate.
Reactions used in student labs are usually chosen so that there is just one
activated complex (or reaction path). Reactions of commercial or research
importance usually have multiple activated complexes, so the true rate is a sum
of terms, each term having the form given above. Some reactions of research
interest also involve fractional nx.
In principle, given the rate equations and initial concentrations, you can
compute the concentrations over time. However, for all but the simplest
cases, these rate equations lead to a "stiff" system of differential
equations. The equations are all first order, but the rate constants can vary
by many orders of magnitude. Applying a standard method to them will lead to
calculations which are slow, inaccurate or both. If you are serious about
doing the prediction, you should find an algorithm designed for stiff systems.
|