2.Имеются данные x1,x2,x3...xN
y1,y2,y3...xN 3.Математическая формулировка данных
4.Алгоритм обработки
SELECT
(-SUM(X*Y*Y)*SUM(X*X*Y)+SUM(X*X*Y*Y)*SUM(X*Y))/(SUM(Y*Y)*SUM(X*X*Y*Y)-SUM(X*Y*Y)*SUM(X*Y*Y))
AS A ,
-(SUM(X*Y)*SUM(X*Y*Y)-SUM(X*X*Y)*SUM(Y*Y))/(SUM(Y*Y)*SUM(X*X*Y*Y)-SUM(X*Y*Y)*SUM(X*Y*Y))
AS B
FROM
Справочник.Summa