Post Reply 
Input data type for fsolve() for PPL
06-29-2019, 05:48 PM
Post: #3
RE: Input data type for fsolve() for PPL
@DrD, thank you very much for your help. For the command you provided, it works.

However, if I write the code like this:

Code:

EXPORT temp()
BEGIN
  LOCAL x,y;
  LOCAL equn;
  equn := “[x^2+y-2,x+y^2-2],[x,y],[0,0]”;
  RETURN CAS.fsolve(equn);
END;

It doesn’t work. It just return fsolve(equn). How can we have fsolve() or CAS.fsolve() accept the input from string variable?
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 - teerasak - 06-29-2019 05:48 PM



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