Severity: Warning
Message: count(): Parameter must be an array or an object that implements Countable
Filename: controllers/calculator.php
Line Number: 37
Complex number is the number formed out of the combination of a real number and an imaginary number. Imaginary numbers are considered to be numbers which have negative sign inside the square root. Complex number calculator is a simple and an easy online tool useful in simplifying complex numbers.
Example 1: Add the given two complex numbers, 3 + 2i and 4 + 5i.
Adding given two complex numbers ? 3 + 2i + 4 + 5i
When we add two complex numbers, we should add the real number parts together and we should add the imaginary number parts together.
So adding the two complex numbers: 3 + 2i + 4 + 5i
(3 + 4) + (2i + 5i)
7 + 7i is the answer.
Example 2: Subtract the given two complex numbers, 3 + 2i and 4 + 5i
Subtracting given two complex numbers ? 3 + 2i – (4 + 5i)
When we subtract two complex numbers, we should subtract the real number parts together and we should subtract the imaginary number parts together.
So distributing the negative sign inside the parenthesis ? 3 + 2i – 4 – 5i
(3 - 4) + (2i - 5i)
-1 – 3i is the answer.