Post Reply 
Input data type for fsolve() for PPL
07-02-2019, 11:48 AM
Post: #6
RE: Input data type for fsolve() for PPL
I was getting this error message when I used local variables:

"fsolve([equations],[variables],[guesses]) Error: Bad Argument Value"

I may be wrong, but I think when you call a CAS command from a program with local variables it used the value stored in the variable so it was really trying to do this:

fsolve([0^2+0-2,0+0^2-2],[0,0],[0,0])

which generated that error message. It's best to use undefined variables for fsolve.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Input data type for fsolve() for PPL - roadrunner - 07-02-2019 11:48 AM



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