I am trying to evaluate a function in Scilab using the following steps:
x=poly(0,'x')
y=(x^18+x^11)^3 // function (the function is variable)
y1=derivat(y) // first derivate
y2=derivat(y) //second derivate
y3=derivat(y) //third derivate
I need evaluate the 3 derivatives in any point.
I know the function: evstr(expression)
but it does not work with the return value of the derivative.
I try to use: string(y)
but it returns something strange.
How can to do it, to cast the return of derivat
to string to evaluate with evstr
or how can I evaluate the n-th derivative in any point using Scilab.