Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -0,0 +1,10 @@
|
|||
function Horner(coeffs: array of real; x: real): real;
|
||||
begin
|
||||
Result := 0;
|
||||
foreach var coeff in coeffs.Reverse do
|
||||
Result := Result * x + coeff
|
||||
end;
|
||||
|
||||
begin
|
||||
Print(Horner(|-19.0, 7, -4, 6|, 3))
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue