manual:chapter3:complex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
manual:chapter3:complex [2017/06/17 15:05]
smartin [Entering complex numbers]
manual:chapter3:complex [2017/07/05 19:30]
smartin [Entering complex numbers]
Line 15: Line 15:
 leads to ''(#101b,#11b)'' on the stack, but taking the complex conjugate (''CONJ'') results in ''(5,-3)''. leads to ''(#101b,#11b)'' on the stack, but taking the complex conjugate (''CONJ'') results in ''(5,-3)''.
  
-System flag -103 formally sets the calculator mode to complex: ''-103 SF''.+System flag -103 formally sets the calculator mode to complex: ''-103 SF'' This is important to ensure all input to functions return complex results.  For example, without setting flag -103, taking the square root of -1 results an an error (Argument outside domain).  Whereas in complex mode, the square root of -1 returns the correct result ''(0,1)''.
  
  
Line 25: Line 25:
 The following table summarizes commands applicable to complex numbers, $z=x+iy=re^{i\theta}$. The following table summarizes commands applicable to complex numbers, $z=x+iy=re^{i\theta}$.
  
-| Command | Purpose | Example |+| Command | Purpose | Example ($\theta$ in degrees) |
 | ''C→R'' | Break down complex number to two reals | ''(5,3) C→R'' yields ''(5,3)'' ''5'' ''3''| | ''C→R'' | Break down complex number to two reals | ''(5,3) C→R'' yields ''(5,3)'' ''5'' ''3''|
 | ''R→C'' | Combine two numbers to a complex | ''5 3 R→C'' yields ''(5,3)''| | ''R→C'' | Combine two numbers to a complex | ''5 3 R→C'' yields ''(5,3)''|
  • manual/chapter3/complex.txt
  • Last modified: 2019/10/07 16:09
  • by jojo1973