i'm new scilab synthax, , want know if there way declare poly, p = 3x + 2, , use p(5) 17 answer. reason poly synthax lot easier defining same expression on , on again.
in scilab polynom can define special function poly. in case, command this:
x=poly(0,"x"); p = 3*x+2
for obtain value in point need use function horner:
horner(p,5)
and get
ans = 17.