HP Prime for All

English  Русский 

Syntax

exponential_regression(Lst||Mtrx(A),[Lst])

Description

Returns the coefficients (a,b) of y=b*a^x : it is the best exponential that approximates the points where the coordinates are the rows of A (or the 2 lists).

Example

exponential_regression([[1.0,2.0],[0.0,1.0],[4.0,7.0]]) returns 1.60092225473,1.10008339351

exponential_regression — Discussion