0% found this document useful (0 votes)
12 views

Solver

This document provides instructions for using the Solver tool in Excel to perform non-linear curve fitting of kinetics data to determine the best-fit values for the parameters in an exponential rise to maximum equation. The user is instructed to import their time and absorbance data, generate an initial predicted curve using guess values for the parameters A, C, and k, calculate the sum of squared differences between the predicted and actual curves, and use Solver to vary the parameter values to minimize the sum of squared differences and obtain the best fit. The procedure is iterated as needed to refine the initial guess values and obtain a close match between the predicted and actual curves.

Uploaded by

Ezekiel Haney
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Solver

This document provides instructions for using the Solver tool in Excel to perform non-linear curve fitting of kinetics data to determine the best-fit values for the parameters in an exponential rise to maximum equation. The user is instructed to import their time and absorbance data, generate an initial predicted curve using guess values for the parameters A, C, and k, calculate the sum of squared differences between the predicted and actual curves, and use Solver to vary the parameter values to minimize the sum of squared differences and obtain the best fit. The procedure is iterated as needed to refine the initial guess values and obtain a close match between the predicted and actual curves.

Uploaded by

Ezekiel Haney
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Using Solver in Excel for non-linear curve fitting Create a spreadsheet similar to the one pictured below.

Import your kinetics data into columns A and B. Column A should be the time values and B the absorbance values. A 1 2 3 4 5 6 7 8 9
0 5 10 15 20 25 30 35 40

B
0.17376 0.1821 0.19035 0.19761 0.20554 0.21286 0.21881 0.22485 0.23062

C
0.18743 0.19321 0.198812 0.204241 0.209503 0.214603 0.219546 0.224336 0.228979

D
0.00018687 0.000123432 7.16025E-05 4.39712E-05 1.57057E-05 3.03767E-06 5.41118E-07 2.6416E-07 2.69331E-06

F
A k C X^2

G
0.187596 0.006259 0.18743 0.001225

For an exponential rise to a maximum value the equation is

Abs = C + A(1 e kt )
Where A is the amplitude of the curve, c is the offset from zero and k is the rate constant. A and c are easily estimated from inspection of the data, see the figure below. The rate constant can be estimated as 1/t1/2 (t1/2 = half-life).

Column C is the predicted curve based upon the guess values of A, C and k. The following formula should be entered into cell C1: =$G$3+$G$1*(1-EXP(-$G$2*A1)) and copied into all of column C. Column D is the square of the difference between the real data (column B) and the predicted data (column C), called chi squared( 2). The following formula should be entered into cell D1: =(B1-C1)^2 and copied into all of column D. Cell G4 is the sum of the chi squares values, i2 . If the predicted curve is very close to the experimental curve then the value for

2 i

will be small. The best fit

curve is then expected to have the minimum value of

2 i

. We can use the Solver

add-in in Excel to find the values of A, C and k that result in the minimum value for i2 (cell G4)
i

Procedure to Fit the Data 1. Under the Tools menu select Solver.* A new pop-up window will appear. 2. In the box labeled Set Target Cell type in $G$4. 3. Below this select Equal To the min function since we are trying to minimize the value in cell G4. 4. In the box labeled By Changing Cells type $G$1:$G$3 . This allows the solver to vary the values for A, C and k to minimize the sum of chi squared. 5. Now click on Solve. The program will alter your initial values to fit the data. 6. A new pop-up will appear asking if you want to keep the new values or revert to your original values. Select keep solver solution and click the OK button. 7. The best fit values for A, C and k will now be in cells G1:G3. To be sure the values make sense, plot the columns B and C vs. column A. The two curves should match very closely. If they do not, then you need to make better guesses for A, C, and k to start with. Enter new guess values and repeat the procedure. * If you do not see this as an option the add-in needs to be installed. To do this select Add-Ins under the Tools menu and check the solver add-in. Note: You may need the Excel installation disk to add this feature.

You might also like