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 <math> z = a + bi</math>, where a and b are real numbers and <math>i</math> 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'.
+
*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 <math>i</math> or <math>j</math>.
* to mention 'i' and'j' 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 'z' real part is denoted by Re(z)& imaginary part is denoted by Im(z).
+
*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 RN and IN are non-numeric.
 
*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.
+
*Suffix 'S' 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.  

Revision as of 02:58, 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 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 z = a + bi} , where a and b are real numbers and 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 i} is the imaginary unit and 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 i=\sqrt{-1}}
  • 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 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 i} or 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 j} .
  • To mention 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 i} and 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 j} we must use the lower case only
  • In a complex number 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 z} real part is denoted by 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 Re(z)} & imaginary part is denoted by 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 Im(z)} .
  • COMPLEX returns the error value, when RN and IN are non-numeric.
  • Suffix 'S' should be either 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 i} or 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 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.


  • 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)} 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 5+2i}
  • 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 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 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