fsolve accuracy with complex variables [SOLVED]
|
02-07-2016, 02:42 PM
Post: #3
|
|||
|
|||
RE: fsolve accuracy with complex variables
Unfortunately the solver simplified abs(x)^2 to x^2 (fsolve is essentially a real solver), this will happen with non holomorphic functions like re/im/conj/abs.
You can set z:=x+i*y; Z:=abs(z)^2-200*z+500+500*i; then solve([re(Z),im(Z)],[x,y]) for exact and fsolve for approx solutions. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
fsolve accuracy with complex variables [SOLVED] - JMB - 02-07-2016, 11:25 AM
RE: fsolve accuracy with complex variables - DrD - 02-07-2016, 02:12 PM
RE: fsolve accuracy with complex variables - parisse - 02-07-2016 02:42 PM
RE: fsolve accuracy with complex variables - JMB - 02-07-2016, 03:28 PM
|
User(s) browsing this thread: 2 Guest(s)