05-18-2015, 08:21 PM
hi,
in a program of mine I'm trying this line
(thanks Cyrille and akmon).
Trying with this list
flows:={-79000, 14000, 11000, 10000, 10000, 10000, 9100, 9000, 4500, 100000}
In CAS I get [-1.01369... 0.137197...] (for the program I need only the second, but both are interesting to know)
in Home I get "Error: Bad argument type"
Are the Home/CAS settings relevant or there is a difference for fsolve in the two?
Or the error was generated by ΣLIST or MAKELIST or ...SIZE?
Salvo
in a program of mine I'm trying this line
Code:
fsolve(ΣLIST(MAKELIST((flows(I)/X^(I-1)),I,1,SIZE(flows))),X)-1;
Trying with this list
flows:={-79000, 14000, 11000, 10000, 10000, 10000, 9100, 9000, 4500, 100000}
In CAS I get [-1.01369... 0.137197...] (for the program I need only the second, but both are interesting to know)
in Home I get "Error: Bad argument type"
Are the Home/CAS settings relevant or there is a difference for fsolve in the two?
Or the error was generated by ΣLIST or MAKELIST or ...SIZE?

Salvo