Post Reply 
Problem with square brackets in fSolve
09-08-2023, 08:56 AM
Post: #1
Problem with square brackets in fSolve
I wanted to solve a system of 2 equations with X and Y as unknowns. Whenever I opened the square brackets a +/- sign was included that could not be removed. So it looked different to the examples in the manual.
So I went to CAS menue (not in CAS mode) and Numerical Solve so there was CAS.fsolve() on the screen. Then I pressed Help.
There were two examples. The second example was
fsolve([x²+y-2,x+y²-2],[x,y],[0,0])
I pressed Example and highlighted the second example. When I copied it I got:
CAS.fsolve([x²+y-2 x+y²-2 +/-],[x y +/-],[0 0 +/-])
Pressing Enter gives message: Error: Syntax Error

It seems that the elements in the square brackets are interpreted as elements of a matrix. How can I use the fSove function for more than one equation?

Thank you very much for your help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Problem with square brackets in fSolve - rawi - 09-08-2023 08:56 AM



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