Difference between revisions of "Manuals/calci/COMPLEX"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
==Description== | ==Description== | ||
*COMPLEX function converts the real and imaginary coefficients into a complex number. | *COMPLEX function converts the real and imaginary coefficients into a complex number. | ||
+ | *A complex number is a number is in the form z = a + bi, where a and b are real numbers and i is the imaginary unit and <math>i=\sqrt(-1)</math> | ||
*COMPLEX returns the error value, when RN and IN are non-numeric. | *COMPLEX returns the error value, when RN and IN are non-numeric. | ||
*'S' should be either 'I' or 'j', otherwise it shows error value. | *'S' should be either 'I' or 'j', otherwise it shows error value. | ||
Line 16: | Line 17: | ||
*=COMPLEX(5,2,"j") is 5+2j | *=COMPLEX(5,2,"j") is 5+2j | ||
Syntax | Syntax | ||
− | Remarks | + | Remarks |
+ | |||
==Examples== | ==Examples== | ||
Revision as of 23:59, 10 November 2013
COMPLEX(RN,IN,S)
- 'RN' is the real number.
- 'IN' is the imaginary number.
- 'S' is the suffix for the imaginary number.
Description
- COMPLEX function converts the real and imaginary coefficients into a complex number.
- A complex number is a number is in the form z = a + bi, where a and b are real numbers and i is the imaginary unit and
- COMPLEX returns the error value, when RN and IN are non-numeric.
- 'S' should be either 'I' or 'j', otherwise it shows error value.
- COMPLEX(RN,IN,S)
- =COMPLEX(5,2) is 5+2i
- =COMPLEX(5,2,"j") is 5+2j
Syntax Remarks
Examples
Column1 | Column2 | Column3 | Column4 | |
Row1 | 5 | 2 | 5+2i | 5+2j |
Row2 | ||||
Row3 | ||||
Row4 | ||||
Row5 | ||||
Row6 |