Difference between revisions of "Manuals/calci/COMPLEX"

From ZCubes Wiki
Jump to navigation Jump to search
Line 21: Line 21:
  
 
==Examples==
 
==Examples==
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
| Complex(RN,IN,SF)
| Column1
+
! RN
| class="  " | Column2
+
! IN
| Column3
+
! SF
| Column4
+
! RESULT
 +
|-
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
|Complex(5,6)
| class="sshl_f" | 5
+
|5
| class="sshl_f" | 2
+
|6
| class="sshl_f" | 5+2i
+
|
| class="sshl_f" | 5+2j
+
|5+6i
 
|- class="even"
 
|- class="even"
| class=" " | Row2
+
|Complex(5,2,"j")
| class="sshl_f" |
+
|5
|
+
|2
|
+
|j
| class=" SelectTD SelectTD" |
+
|5+6j
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
 
|- class="odd"
 
|- class="odd"
| Row3
+
| Complex(2,0,"i")
| class="                                       sshl_f    " |
+
|2                                     
|
+
|0
|
+
|i
|
+
|2
 
|- class="even"
 
|- class="even"
| Row4
+
| Complex(0,-4,i)
|
+
|0
|
+
|4
|
+
|i
| class="  " |
+
|4i
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
|Complex(5,"j")
|
+
|5
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
 
|
 
|
 +
|j
 +
|Error
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
{|id="TABLE3" class="SpreadSheet blue"  
----
+
!width="50"|Name
 +
!width="225"|Effect
 +
!width="225"|Games Found In
 +
|-
 +
|Poké Ball || Regular Poké Ball || All Versions
 +
|-
 +
|Great Ball || Better than a Poké Ball || All Versions
 +
|}

Revision as of 02:48, 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(5,2) is 5+2i
  • =COMPLEX(5,2,"j") is 5+2j

Examples

Complex(RN,IN,SF) RN IN SF RESULT
Complex(5,6) 5 6 5+6i
Complex(5,2,"j") 5 2 j 5+6j
Complex(2,0,"i") 2 0 i 2
Complex(0,-4,i) 0 4 i 4i
Complex(5,"j") 5 j Error
Name Effect Games Found In
Poké Ball Regular Poké Ball All Versions
Great Ball Better than a Poké Ball All Versions