Difference between revisions of "Manuals/calci/COMPLEX"

From ZCubes Wiki
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>
+
*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>
 +
*In COMPLEX(RN,IN,SF), here RN is the real part of a complex number,IN is the imaginary part of a complex number and SF is the imaginary unit of a complex number like 'i' or 'j'.
 +
* to mention 'i' and'j'  we must use the lower case only
 +
*In a complex number 'z' real part is denoted by Re(z)& imaginary part is denoted by Im(z).
 
*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.
+
*Suffix 'S' should be either 'i' or 'j', 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.  
  
  
Line 16: Line 21:
 
*=COMPLEX(5,2) is 5+2i
 
*=COMPLEX(5,2) is 5+2i
 
*=COMPLEX(5,2,"j") is 5+2j
 
*=COMPLEX(5,2,"j") is 5+2j
Syntax
 
Remarks
 
  
 
==Examples==
 
==Examples==

Revision as of 01:07, 11 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
  • In COMPLEX(RN,IN,SF), here RN is the real part of a complex number,IN is the imaginary part of a complex number and SF is the imaginary unit of a complex number like 'i' or 'j'.
  • to mention 'i' and'j' we must use the lower case only
  • In a complex number 'z' real part is denoted by Re(z)& imaginary part is denoted by Im(z).
  • COMPLEX returns the error value, when RN and IN are non-numeric.
  • Suffix 'S' should be either 'i' or 'j', 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.


  • COMPLEX(RN,IN,S)
  • =COMPLEX(5,2) is 5+2i
  • =COMPLEX(5,2,"j") is 5+2j

Examples

Column1 Column2 Column3 Column4
Row1 5 2 5+2i 5+2j
Row2
Row3
Row4
Row5
Row6
File:Calci1.gif