Post Reply 
fsolve accuracy with complex variables [SOLVED]
02-07-2016, 03:28 PM (This post was last modified: 02-07-2016 06:59 PM by JMB.)
Post: #4
RE: fsolve accuracy with complex variables
Thank you very much for your answers.

My Epsilon is set to 1e-12. Changing it to different values made no difference.

The solution provided by Parisse works just fine. After the definitions:

z:=x+i*y
eq:=|z|^2-200*z+500+500*i

Both solve and fsolve return the correct solution:

solve([re(eq),im(eq)],[x,y],[190,1]) -> [197.43587635 2.5]

fsolve([re(eq),im(eq)],[x,y],[190,1]) -> [197.43587635 2.5]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: fsolve accuracy with complex variables - JMB - 02-07-2016 03:28 PM



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