Post Reply 
fsolve different in Home and CAS?
05-18-2015, 08:21 PM
Post: #1
fsolve different in Home and CAS?
hi,
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;
(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? Smile

Salvo

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
fsolve different in Home and CAS? - salvomic - 05-18-2015 08:21 PM



User(s) browsing this thread: 1 Guest(s)