adjusting format
This commit is contained in:
@@ -4,18 +4,12 @@
|
|||||||
|
|
||||||
## 14.1 Complex Numbers — A Brief Review
|
## 14.1 Complex Numbers — A Brief Review
|
||||||
|
|
||||||
- Complex numbers take the form z = a + bi, where i =
|
- Complex numbers take the form z = a + bi, where i = √−1 and a and b are real. a is called the real part, b is called the imaginary part.
|
||||||
√
|
|
||||||
−1 and a and b are real. a is called the real part, b is
|
|
||||||
called the imaginary part.
|
|
||||||
- If w = c + di, then
|
- If w = c + di, then
|
||||||
– w + z = (a + c) + (b + d)i,
|
– w + z = (a + c) + (b + d)i,
|
||||||
– w − z = (a − c) + (b − d)i, and
|
– w − z = (a − c) + (b − d)i, and
|
||||||
– w × z = (ac − bd) + (ad + bc)i
|
– w × z = (ac − bd) + (ad + bc)i
|
||||||
- The magnitude of a complex number is √
|
- The magnitude of a complex number is √a<sup>2</sup> + b<sup>2</sup>;
|
||||||
a
|
|
||||||
2 + b
|
|
||||||
2
|
|
||||||
|
|
||||||
## 14.2 Complex Class declaration (complex.h)
|
## 14.2 Complex Class declaration (complex.h)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user