answersLogoWhite

0


Best Answer

(a +bi)(c + di) : Use the distributive property and remember i*i = -1. In polar form:|ab| = |ab| and thetaab = thetaa + thetab.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Multiplication two complex numbers in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference of complex numbers?

If y = a + bi and z = c + di are two complex numbers then z - y = (c - a) + (d - b)i


The sum of two complex numbers is always a complex number?

A "complex number" is a number of the form a+bi, where a and b are both real numbers and i is the principal square root of -1. Since b can be equal to 0, you see that the real numbers are a subset of the complex numbers. Similarly, since a can be zero, the imaginary numbers are a subset of the complex numbers. So let's take two complex numbers: a+bi and c+di (where a, b, c, and d are real). We add them together and we get: (a+c) + (b+d)i The sum of two real numbers is always real, so a+c is a real number and b+d is a real number, so the sum of two complex numbers is a complex number. What you may really be wondering is whether the sum of two non-real complex numbers can ever be a real number. The answer is yes: (3+2i) + (5-2i) = 8. In fact, the complex numbers form an algebraic field. The sum, difference, product, and quotient of any two complex numbers (except division by 0) is a complex number (keeping in mind the special case that both real and imaginary numbers are a subset of the complex numbers).


When multiplying two integer what are the four possible combination of sign how can they be grouped into two integers?

The four possible combinations are:A = (+, +)B = (+, -)C = (-, +) andD = (-, -)In A and D, the two numbers have the same signs and the multiplication gives a positive answer.In B and C, the two numbers have different signs and the multiplication gives a negative answer.


The Associative Property of Multiplication?

This is stated in symbols: (a x b) x c = a x (b x c). In other words, you get the same result whether you multiply the two numbers on the left first, or first the two numbers on the right. This refers to multiplication of real numbers, as usually defined; there have indeed been operationes defined, also known as "multiplication", that don't fulfill this property.


What does associative properties of multiplication mean?

The associative property of multiplication states that for any three numbers a, b and c, (a * b) * c = a * (b * c) and so we can write either as a * b * c without ambiguity. ie, when multiplying three numbers together, you can multiply the first two together and then multiply the result of that by the third, or multiply the second two numbers together and multiply that result by the first, and you will get the same answer.


Is the product of two imaginary numbers always an imaginary number?

If you are talking about pure imaginary numbers (a complex number with no real part) then no. Example: bi times ci where b and c are real numbers equals b*c*i² = b*c*(-1) = -b*c, which is a real number, because b & c & -1 are all real numbers. If you're talking about multiplying two complex numbers (a + bi)*(c + di), then the product will be complex, but it could be real or imaginary, depending on the values of a, b, c, & d.


Is multiplication a whole numbers associative operation?

Yes. Multiplication of any real numbers has the associative property: (a x b) x c = a x (b x c)


C program to multiply two complex no?

/*C++ program to multiply two complex numbers using * operator overloading*/ #include<iostream.h> #include<conio.h> class complex { float x,y; public: complex() {} complex(float real,float img) { x=real; y=img; } complex operator*(complex); void display() { cout<<x<<" + "<<y<<"i"<<endl; } }; complex complex::operator*(complex e) { complex temp; temp.x=x*e.x+y*e.y*(-1); temp.y=x*e.y+y*e.x; return(temp); } void main() { clrscr(); complex c1(5,3),c2(3,2),c3=c1*c2; c1.display(); c2.display(); cout<<"Multiplication"<<endl; c3.display(); getch(); } OUTPUT: 5 + 3i 3 + 2i Multiplication 9 + 19i


What is the answer for -8i-7i?

Numbers of the form a + ib (where i = -11/2; a and b are real numbers) are called complex numbers.For any two complex numbers (a+ib) and (c+id):Addition:(a+ib) + (c+id) = (a+c) + i(b+d)So, -8i-7i = (-8-7)i = -15i


What is a distributive property of multiplication?

The distributive property of multiplication OVER addition (or subtraction) states that a*(b + c) = a*b + a*c Thus, multiplication can be "distributed" over the numbers that are inside the brackets.


How do you create a class of complex numbers in c?

You must remember that complex numbers need two parts - a real and an imaginar part, so you have to define fields for these parts. You also need to define methods at least for the basic operations, such as addition, subtraction, multiplication and division. You may also want to define methods for more advanced operations, such as trigonometric functions and the exponential function and natural logarithm, all of which have special definitions in the case of complex numbers.


What is the difference between real numbers and complex numbers?

Real numbers are a proper subset of complex numbers. In fact each complex number, z, can be represented as z = x +iy where x and y are real numbers and i is the imaginary square root of -1.Thus the set of complex numbers is the Cartesian product of two sets of real numbers. That is, C = R x R where C is the set of complex numbers and R is the set of real numbers. Limitations of this browser prevent me from writing that in a mathematically precise and more helpful fashion.