Skip to main content

Fit y = a b^x and find y(7)

Short answer

Take log: Y=log y. Normal equations yield A=1.3669, B=−0.0743, so a=23.2761, b=0.8428. Curve: y=23.2761·0.8428ˣ. y(7)≈7.031.

Fit the following set of data to a curve of the form y = a b^x. Also evaluate y(7).

x24681012
y16.011.18.76.44.72.6

Take logarithms (base 10): y = a·bˣ → log y = log a + x·log b. Put Y = log y, A = log a, B = log b, so Y = A + Bx is a straight line in x.

xyY = log yx²xY
2161.20414.00002.4082
411.11.045316.00004.1813
68.70.939536.00005.6371
86.40.806264.00006.4494
104.70.6721100.00006.7210
122.60.4150144.00004.9797
Σx = 425.0822364.000030.3767

Normal equations

ΣY = n·A + B·Σx      →  5.0822 = 6A + 42.0000B
ΣxY = A·Σx + B·Σx²   →  30.3767 = 42.0000A + 364.0000B

Solving: B = (nΣxY − ΣxΣY)/(nΣx² − (Σx)²) = -0.0743, A = (ΣY − BΣx)/n = 1.3669.

a = 10ᴬ = 23.2761, b = 10ᴮ = 0.8428.

Answer: y = 23.2761 · (0.8428)ˣ

y(7)

y(7) = 23.2761 × (0.8428)⁷ = 7.0313

y(7) ≈ 7.031

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 4 questions →