OT: RANT - Sharp EL-9900 variables accept complex numbers, but not the program "Input" command!



#4

I was quite pleased to find the EL-9900 does complex LN and EXP, and that variables store complex numbers. So when I decided to write some programs using complex numbers, I was annoyed to discover that the "Input" command does NOT accept complex numbers! What a limitation! Of course there is a way around it, by using two variables to input the real and imaginary values of the number (note, no i allowed) and combine it into a complex number in the program - but this is a calculator that has only 26 global variables to start with. It is things like this that have always made me prefer HP's.


#5

It seems like that would only ever require one additional variable per program, no matter how many variables you originally intended to use.

"Enter real part variable a", Input a
"Enter imag part variable a", input m

a = a + i * m

"Enter real part variable b", Input b
"Enter imag part variable b", input m

b = b + i * m



Edited: 28 Feb 2012, 7:27 a.m.


#6

I agree, but depending on the program - one may just be one to many. Actually i made a mis-representation in my previous post, the EL-9900 has 27 (not 26) variables, A-Z and theta (I don't know if theta is capable of storing a complex number (I do not have the calculator close at hand at the moment), but could be used instead if your 'm').


Possibly Related Threads…
Thread Author Replies Views Last Post
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 2,252 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime: complex numbers in CAS. Alberto Candel 1 1,958 12-06-2013, 02:36 PM
Last Post: parisse
  [HP Prime] Plots containing complex numbers bug? Chris Pem10 7 3,722 12-05-2013, 07:40 AM
Last Post: cyrille de Brébisson
  HP: Dump the predefined variables! bluesun08 12 3,956 11-19-2013, 02:18 PM
Last Post: bluesun08
  INPUT for HP Prime Eddie W. Shore 3 1,703 11-17-2013, 04:46 PM
Last Post: Michael de Estrada
  Complex Number Entry on Prime Jeff O. 19 5,332 11-16-2013, 12:34 PM
Last Post: Jeff O.
  HP Prime Tutorial #4 is up (CASE/CHOOSE/INPUT) Eddie W. Shore 1 1,350 11-15-2013, 07:32 AM
Last Post: Davi Ribeiro de Oliveira
  HP Prime - most favorite command bluesun08 2 1,534 11-12-2013, 11:29 AM
Last Post: bluesun08
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 2,790 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  HP Prime - local variables retain their initial type BruceH 4 1,962 11-10-2013, 12:42 PM
Last Post: Michael de Estrada

Forum Jump: