[]
Many of the engineering functions involve complex numbers. A complex number consists of two parts, a real part and an imaginary part. You can think of a complex number as being a point (x,y) in a plane. You can think of a real number as being a point (x,0) on the x-axis of the plane. Note that real numbers are a subset of complex numbers with zero for the coefficient of the imaginary part. There is not a complex number data type. Instead, complex numbers are represented using strings of the form "x+yi" where x and y are real numbers and x is the real part and yi is the imaginary part. For example:
Note that if either the real part or the imaginary part is zero then the zero part can be optionally omitted from the text representation. For example:
Since real numbers are a subset of complex numbers, a real number can be used in place of a string of the form "x+yi". For example:
The functions that return a complex number return a string of the form "x+yi". For example:
The functions that accept a complex number can accept either a number or a string of the form "x+yi". For example:
When a string cannot be converted to a number Spread returns a #VALUE error. For example:
Spread allows either suffix "j" or the suffix "i" to denote the imaginary part. For example:
Spread allows mixed suffixes in the a given formula and always returns the "i" suffix. For example:
Spread does not allow spaces before the real part or before the imaginary part. For example: