Complex number question! (not too hard, though)

Started by
4 comments, last by Neff 21 years, 6 months ago
What say would (2 + 3i) * (2 + 3i) be? i is the square root of -1 of course. Thanks!!! return Neff; //God bless gamedev!
Advertisement
quote:Original post by Neff
What say would (2 + 3i) * (2 + 3i) be?
i is the square root of -1 of course.

Thanks!!!

return Neff; //God bless gamedev!


(2 + 3i) * (2 + 3i)
(2 + 3i)^2
4+9i^2+12i
4-9+12i

-> 12i-5

It should be that I think... (i*i = -1)


Joakim Asplund
http://megajocke.cjb.net
Joakim Asplundhttp://megajocke.y2.org
*cough* homework *cough*
quote:Original post by megajocke
12i-5


Not to be overly picky, but that should be written: -5+12i (Looks correct to me)

______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
quote:Original post by Thunder_Hawk
Not to be overly picky, but that should be written: -5+12i (Looks correct to me)


Ok... :-)

And Gamedev's forum seems to have some weird bug with quoting a message which contains a quote...

Joakim Asplund
http://megajocke.y2.org

[edited by - megajocke on November 9, 2002 6:21:16 PM]
Joakim Asplundhttp://megajocke.y2.org
yay, that's the right answer! Thanks!!!

return Neff;

[edited by - neff on November 9, 2002 6:23:23 PM]

This topic is closed to new replies.

Advertisement