       Re: Complex Number Simultaneous Equation 2 Unknowns

• To: mathgroup at smc.vnet.net
• Subject: [mg31535] Re: Complex Number Simultaneous Equation 2 Unknowns
• From: BobHanlon at aol.com
• Date: Fri, 9 Nov 2001 06:13:45 -0500 (EST)
• Approved: Steven M. Christensen <steve@smc.vnet.net>, Moderator
• Sender: owner-wri-mathgroup at wolfram.com

```In a message dated 2001/11/8 8:47:10 AM, mcemail at dial.pipex.com writes:

>I've a simultaneous linear equation with complex numbers i'd like to
>put through Mathematica (I'm assuming this is possible!)
>
>
>
>Solve [((2 + 4\[ImaginaryI])*a) + ((1 + \[ImaginaryI])*b) = (118 +
>        24\[ImaginaryI]),
>
>((1 + \[ImaginaryI])* a) + ((3 + \[ImaginaryI])*
>          b) = {110 + \[ImaginaryI]0},
>
>{a, b}]
>
>(all on one line but split for some sort of clarity here)
>
>
>I get this as the output:
>
>Set::"write": "Tag \!\(Plus\) in \!\(\(\(\(\((2 + \(\(4\\ \
>\[ImaginaryI]\)\))\)\)\\ a\)\) + \(\(\(\((1 + \[ImaginaryI])\)\)\\
>b\)\)\) is \
>Protected."
>
>Set::"write": "Tag \!\(Plus\) in \!\(\(\(\(\((1 + \[ImaginaryI])\)\)\\
>a\)\) \
>+ \(\(\(\((3 + \[ImaginaryI])\)\)\\ b\)\)\) is Protected."
>
>General::"ivar": "\!\(110 + \[ImaginaryI]0\) is not a valid variable."
>
>Solve[118 + 24 \[ImaginaryI], {110 + \[ImaginaryI]0}, {a, b}]
>
>Any ideas as to what i'm doing wrong as the error messages don't make
>it obvious (at least to me as a 4 day old user!!)

First, equations use == vice =

Second, one of your list brackets was misplaced.

Solve[{(2+4*I)*a+(1+I)*b==118+24*I,(1+I)*a+(3+I)*b==110+I*0},{a,b}]

{{a -> 350/37 - (620*I)/37,
b -> 957/37 - (229*I)/37}}

Bob Hanlon
Chantilly, VA  USA

```

• Prev by Date: Re: Re: Limit question
• Next by Date: Re: Re: Limit question
• Previous by thread: Re: Complex Number Simultaneous Equation 2 Unknowns
• Next by thread: Re: Complex Number Simultaneous Equation 2 Unknowns