Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is this...Left Operand Right Operand Stuff!!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I have this program that I have to create. I have the class but I"m not sure of the subtraction and addition that I have to do. The question is...

Subtraction of two complex numbers where the real part of the right operand is subtracted from teh real part of the left operand and the imaginary part of the right operand is subtracted from the imaginary part of the left operand.

I don't understand at all. All they gave me was that Complex numbers have the form

realpart + imaginarypart * I

where I is the square root of -1

Please help, I don't even know where to begin with the formulas.
 
left operand means the value to the left of the operator sign. right operand is to the right. when u add/subtract 2 complex numbers, u put the real parts(w/c is the left operand accdg to ur example) together and the imaginary part together
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top