
48 Programming for Chemical Engineers
Power Equations
log y = log a + b log x (slope = b, y-intercept = log a)
Taking the anti-log of both sides, we obtain
y = ax
b.
(2.12)
Example Problem 2.7. Given the following (x, y) = (1, 1), (2, 2.83), (3, 5.20),
(4, 8), (5, 11.18), and (6,14.7) determine the power equation that can best fit
the x-y relationship.
Obtaining the log values of both x and y, we get:
Table 2.5 : Summary of x, log(x), y, and log(y) values
x log (x) y log(y)
1 0 1 0
2 0.30103 2.83 0.451786
3 0.477121 5.20 0.716003
4 0.60206 8 0.90309
5 0.69897 11.18 1.048442
6 0.778151 14.7 1.167317
Using the Linear Regression Program ...