Difference between revisions of "Manuals/calci/COMPLEX"

From ZCubes Wiki
Jump to navigation Jump to search
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''COMPLEX(RN,IN,S)'''</div><br/>
+
<div style="font-size:30px">'''COMPLEX (Real,Imaginary,Suffix)'''</div><br/>
  
*'RN' is the real number.
+
*<math>Real</math> is the real part of the complex number.
*'IN' is the imaginary number.
+
*<math>Imaginary</math> is the imaginary part of the complex number.
*'S' is the suffix for the imaginary number.
+
*<math>Suffix</math> is the imaginary unit of the complex number.
 +
**COMPLEX(), converts real and imaginary coefficients into a complex number.
  
 
==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 combination of a real and an imaginary number.
*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'.
+
*A number which is positive or negative, rational or irrational or decimals are called real numbers.
* to mention 'i' and'jwe must use the lower case only
+
*An Imaginary number is a number that when squring it gives a negative result.
*In a complex number 'z' real part is denoted by Re(z)& imaginary part is denoted by Im(z).
+
*For e.g. <math>{-4}^2 =16</math>. Because a negative times a negative is positive.
*COMPLEX returns the error value, when RN and IN are non-numeric.
+
*A complex number is a number is  in the form <math> z = a + bi</math>, where <math>a</math> and <math>b</math> are real numbers and <math>i</math> is the imaginary unit. Where <math>i=\sqrt{-1}</math>
*Suffix 'S' should be either 'i' or 'j', otherwise it shows error value.
+
*In <math>COMPLEX(Real,Imaginary,Suffix)</math>, here <math>Real</math> is the real part of the complex number, <math>Imaginary</math> is the imaginary part of the complex number and <math>Suffix</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
 +
*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>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.
 
*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.
*A Complex number whose imaginary part is zero is a real number.In that cases we have to assign '0' for that part.  
+
*A Complex number whose imaginary part is zero is a real number. In that cases we have to assign '0' for that part.  
 +
**COMPLEX(5,2) gives <math>5+2i</math>
 +
**COMPLEX(5,2,"j") gives <math>5+2j</math>
  
 +
==ZOS==
  
*<math>=COMPLEX(5,2) is 5+2i</math>
+
*The syntax is to calculate COMPLEX in ZOS is <math>COMPLEX(REAL,IMAGINARY,SUFFIX)</math>
*<math>=COMPLEX(5,2,"j") is 5+2j</math>
+
*<math>REAL</math> is the real part.
 +
*<math>IMAGINARY</math> is the imaginary part.
 +
*<math>SUFFIX</math> is imaginary unit which is either "i" or "j".
 +
*E.x: COMPLEX(-1..1,10..11,"j")
 +
{{#ev:youtube|N9v1byHycgs|280|center|Complex Number}}
  
 
==Examples==
 
==Examples==
{| id="TABLE3" class="SpreadSheet blue"
+
{| class="wikitable"
|- class="even"
+
|+Spreadsheet
| Complex(RN,IN,SF)
+
|-
! RN
+
| COMPLEX(real,imaginary,suffix)
! IN
+
! rn
! SF
+
! in
 +
! sf
 
! RESULT
 
! RESULT
 
|-
 
|-
 
|- class="odd"
 
|- class="odd"
|Complex(5,6)
+
|COMPLEX(5,6)
 
|5
 
|5
 
|6
 
|6
 
|
 
|
|5+6i
+
|       5+6i
 
|- class="even"
 
|- class="even"
|Complex(5,2,"j")
+
|COMPLEX(5,2,"j")
 
|5
 
|5
 
|2
 
|2
 
|j
 
|j
|5+6j
+
|         5+2j
 
|- class="odd"
 
|- class="odd"
| Complex(2,0,"i")
+
|COMPLEX(2,0,"i")
 
|2                                       
 
|2                                       
 
|0
 
|0
 
|i
 
|i
|2
+
|         2+0i
 
|- class="even"
 
|- class="even"
| Complex(0,-4,i)
+
|COMPLEX(0,-4,"i")
 
|0
 
|0
|4
+
| -4
 
|i
 
|i
|4i
+
|         0 + -4i
 
|- class="odd"
 
|- class="odd"
|Complex(5,"j")
+
|COMPLEX(5,"j")
 
|5
 
|5
 
|
 
|
 
|j
 
|j
|Error
+
| #N/A (INVALID IMAGINARY COEFFICIENTS)
 
|}
 
|}
 +
 +
==Related Videos==
 +
 +
{{#ev:youtube|SP-YJe7Vldo|280|center|Complex Numbers}}
 +
 +
==See Also==
 +
 +
*[[Manuals/calci/IMAGINARY | IMAGINARY]]
 +
*[[Manuals/calci/IMREAL| IMREAL]]
 +
*[[Manuals/calci/IMABS| IMABS]]
 +
*[[Manuals/calci/IMCONJUGATE| IMCONJUGATE]]
 +
 +
==References==
 +
*[http://en.wikipedia.org/wiki/Complex_number  Complex Numbers]
 +
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 04:43, 12 October 2020

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.
    • COMPLEX(), converts real and imaginary coefficients into a 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.
    • COMPLEX(5,2) gives
    • COMPLEX(5,2,"j") gives

ZOS

  • 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")
Complex Number

Examples

Spreadsheet
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+0i
COMPLEX(0,-4,"i") 0 -4 i 0 + -4i
COMPLEX(5,"j") 5 j #N/A (INVALID IMAGINARY COEFFICIENTS)

Related Videos

Complex Numbers

See Also

References