Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,9 +0,0 @@
|
|||
Function horners_rule(coefficients,x)
|
||||
accumulator = 0
|
||||
For i = UBound(coefficients) To 0 Step -1
|
||||
accumulator = (accumulator * x) + coefficients(i)
|
||||
Next
|
||||
horners_rule = accumulator
|
||||
End Function
|
||||
|
||||
WScript.StdOut.WriteLine horners_rule(Array(-19,7,-4,6),3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue