Difference between revisions of "Manuals/calci/COMPLEX"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
*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 <math> z = a + bi</math>, where a and b are real numbers and <math>i</math> is the imaginary unit. Where <math>i=\sqrt{-1}</math> | *A complex number is a number is in the form <math> z = a + bi</math>, where a and b are real numbers and <math>i</math> is the imaginary unit. Where <math>i=\sqrt{-1}</math> | ||
− | *In <math>COMPLEX(rn,in,sf)</math>, here <math>rn</math> is the real part of a complex number,<math>in</math> is the imaginary part of a complex number and <math>sf</math> is the imaginary unit of a complex number like <math>i</math> or <math>j</math>. | + | *In <math>COMPLEX(rn,in,sf)</math>, here <math>rn</math> is the real part of a complex number, <math>in</math> is the imaginary part of a complex number and <math>sf</math> is the imaginary unit of a complex number like <math>i</math> or <math>j</math>. |
*To mention <math>i</math> and <math>j</math>, we must use the lower case only | *To mention <math>i</math> and <math>j</math>, we must use the lower case only | ||
*In a complex number <math>z</math> real part is denoted by <math>Re(z)</math> & imaginary part is denoted by <math>Im(z)</math>. | *In a complex number <math>z</math> real part is denoted by <math>Re(z)</math> & imaginary part is denoted by <math>Im(z)</math>. |
Revision as of 06:05, 19 November 2013
COMPLEX(rn,in,sf)
- is the real number.
- is the imaginary number.
- 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 , where a and b are real numbers and is the imaginary unit. Where
- In , here is the real part of a complex number, is the imaginary part of a complex number and is the imaginary unit of a complex number like or .
- To mention and , we must use the lower case only
- In a complex number real part is denoted by & imaginary part is denoted by .
- COMPLEX returns the error value, when and are non-numeric.
- Suffix should be either or , otherwise it shows error value.
- A Complex number whose real part is zero is said to be purely imaginary.
- A Complex number whose imaginary part is zero is a real number. In that cases we have to assign '0' for that part.
- gives
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle =COMPLEX(5,2,"j")} gives
Examples
Complex(rn,in,sf) | rn | in | sf | RESULT |
---|---|---|---|---|
Complex(5,6) | 5 | 6 | 5+6i | |
Complex(5,2,"j") | 5 | 2 | j | 5+2j |
Complex(2,0,"i") | 2 | 0 | i | 2 |
Complex(0,-4,i) | 0 | (-4) | i | (-4i) |
Complex(5,"j") | 5 | j | Error |