Re: Is this a bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg90855] Re: Is this a bug?
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Sat, 26 Jul 2008 04:22:48 -0400 (EDT)
On 7/25/08 at 6:14 AM, mailcwc at gmail.com wrote:
>I tried to solve the following equation with mathematica 6.03
>Solve[{Abs[X+Y I]==5,X==3},{X,Y}]
>and got the answer
>{{X -> 3, Y -> -2 I}, {X -> 3, Y -> 8 I}}
This is correct since
3 + (-2 I) I = 3 + 2 = 5 and
3 + (8 I) I = 3 - 8 = -5
>Am I suppose to get {{X -> 3, Y -> 4 I}, {X -> 3, Y -> -4 I}}
This would be incorrect. I suspect you wanted real values for x
and y such as obtained from
In[14]:= Solve[{Sqrt[x^2 + y^2] == 5, x == 3}, {x, y}]
Out[14]= {{y->-4,x->3},{y->4,x->3}}