Re: Complex Number Simultaneous Equation 2 Unknowns
- To: mathgroup at smc.vnet.net
- Subject: [mg31539] Re: Complex Number Simultaneous Equation 2 Unknowns
- From: "Angel E. Andreu" <aandreu at localnet.com>
- Date: Fri, 9 Nov 2001 06:13:53 -0500 (EST)
- Approved: Steven M. Christensen <steve@smc.vnet.net>, Moderator
- References: <9sdnp2$6gs$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
First the easy part: do esc jj esc do get the equivalent of esc ii esc. You got the error message because you enter the "stuff" in Solve incorrectly. Do: Solve[{ ((2 + 4i)*a) + ((1 + i)*b) = = (118 + 24i), ((1 + i)*a) + ((3 +i)* b) = = (110 + i 0) }, {a, b}] You need to use = = instead of = and you need { } to encapsulate both equations. A² Removethisspamtrap_Martin Evans_ and this one too wrote: > 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!!) > > Also I seem to HAVE to use the esc ii esc where i would prefer to use > lower case J (as an electrical eng) is there something special that > needs to be done to use lower case J as in the help files it appears > to be in bold > > -- -- ----------------------------------------------------- Click here for Free Video!! http://www.gohip.com/free_video/