2082 6

Numerical Methods20825 marksNumerical: least squares curve fittingExponential curve fitting

Fit the exponential curve y = aebx for (1,15), (2,22), (3,33), (4,48), (5,70) using least square method.

Fit the exponential curve $y = ae^{bx}$ for (1,15), (2,22), (3,33), (4,48), (5,70) using least square method. [5]

Points: $(1,15), (2,22), (3,33), (4,48), (5,70)$, with $n = 5$. Taking natural log: $$\ln y = \ln a + bx$$ Let $Y = \ln y$, $A = \ln a$. Then $Y = A + bx$ (linear). Normal equations: $$\sum Y = nA + b\sum x$$ $$\sum xY = A\sum x + b\sum x^2$$ $x$ $y$ $Y = \ln y$ $x^2$ $xY$ --------------- 1 15 2....

Up nextSolve the following system of linear equation using Cholesky decomposition method: