Difference between revisions of "Manuals/calci/COMPLEX"

From ZCubes Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
*<math>real</math> is the real part of the complex number.
 
*<math>real</math> is the real part of the complex number.
 
*<math>imaginary</math> is the imaginary part of the complex number.
 
*<math>imaginary</math> is the imaginary part of the complex number.
*<math>suffixf</math> is the imaginary unit of the complex number.
+
*<math>suffix</math> is the imaginary unit of the complex number.
  
 
==Description==
 
==Description==
Line 15: Line 15:
 
*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>.
*COMPLEX returns the error value, when <math>rn</math> and <math>in</math> are non-numeric.
+
*COMPLEX returns the error value, when <math>real</math> and <math>imaginary</math> are non-numeric.
 
*<math>Suffix</math> should be either <math>i</math> or <math>j</math>, otherwise it shows error value.
 
*<math>Suffix</math> should be either <math>i</math> or <math>j</math>, otherwise it shows error value.
 
*A Complex number whose real part is zero is said to be purely imaginary.
 
*A Complex number whose real part is zero is said to be purely imaginary.
Line 32: Line 32:
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| Complex(rn,in,sf)
+
| Complex(real,imaginary,suffix)
 
! rn
 
! rn
 
! in
 
! in

Revision as of 00:50, 9 April 2014

COMPLEX(real,imaginary,suffix)


  • is the real part of the complex number.
  • is the imaginary part of the complex number.
  • is the imaginary unit of the complex number.

Description

  • COMPLEX function converts the real and imaginary coefficients into a complex number.
  • A complex number is a combination of a real and an imaginary number.
  • A number which is positive or negative, rational or irrational or decimals are called real numbers.
  • An Imaginary number is a number that when squring it gives a negative result.
  • For e.g. . Because a negative times a negative is positive.
  • A complex number is a number is in the form , where and are real numbers and is the imaginary unit. Where
  • In , here is the real part of the complex number, is the imaginary part of the 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.
  • 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 (syntax error): {\displaystyle =COMPLEX(5,2,"j")} gives

ZOS Section

  • The syntax is to calculate COMPLEX in ZOS is
  • is the real part.
  • is the imaginary part.
  • is imaginary unit which is either "i" or "j".
  • E.x: COMPLEX(-1..1,10..11,"j")

Examples

Complex(real,imaginary,suffix) 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

See Also

References

Complex Numbers