Complex Number Entry on Prime - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Complex Number Entry on Prime (/thread-255538.html) |
Complex Number Entry on Prime - Jeff O. - 11-11-2013 I appreciate that it is possible to directly enter complex numbers in either polar or rectangular form directly from the keyboard with no need to use parentheses, and that they may be displayed as x+y*i. (I wish that the i key was primary, but accept that I'll have to wait for the 43s to get that wish fulfilled.) However, there are a couple of problems (in my view) with entry of rectangular-form complex numbers using the i key, as follows:
It is possible that the above have already been reported. I searched the archive for “Prime” and “complex”, but found no mention. If they have indeed been reported, please accept my apologies for reporting them again.
Re: Complex Number Entry on Prime - Michael de Estrada - 11-11-2013 1. Enter it as 3 + 4 +/- i
Re: Complex Number Entry on Prime - Mark Hardman - 11-11-2013 That will work in algebraic mode but not RPN.
Re: Complex Number Entry on Prime - Michael de Estrada - 11-11-2013 Yeah, there are a lot of problems with RPN entry on this calculator. I've given up on it completely, and use only algebraic or textbook entry on the Prime. I use my 50g if I want to do anything in RPN.
Re: Complex Number Entry on Prime - Mark Hardman - 11-11-2013 In RPN mode you will need to use single quotes to enter a negative imaginary component.
'3-4*i'
Note that the multiplication sign is required.
Re: Complex Number Entry on Prime - Jeff O. - 11-11-2013 Thanks for the suggestion. That method does take a few more keystrokes than just using parentheses. Also, if I enter a value this way, the calculator treats it differently: (3,-4) ENTER ----> 3 - 4*i
My real hope is that Tim W might incorporate my suggestions into a future upgrade.
Re: Complex Number Entry on Prime - Jeff O. - 11-11-2013 I understand. I continue to use RPN mode and hope it can improved if possible.
Re: Complex Number Entry on Prime - Tim Wessman - 11-11-2013 Couple of things jump out immediately. 1) I suspect the issue with typing 3i4 NEG comes from the desire for 1+5i[NEG] to put in a negative before the 5i rather then adding it in place such as on the 50g where '1+5i[NEG]' would actually insert '1+5i-' like so. I can see how making the i behave like that would be helpful, but tick everyone else off. Will investigate here. 2) The reason the sqrt('') behaves like you are showing is precisely why it does the same thing on the 50g. You have an algebraic and take the sqrt of it. Use the EVAL on the shifted comma and it will evaluate appropriately. Now that being said, this does seem to show a problem with the display of a complex in RPN. It prints out the complex as 3+4i for example, but it really is not a algebraic object. Rather, it is just printed in the 'standard' form.
Would it hugely offend anyone if the options you have for a complex number printing while in RPN mode were (X,Y) or XiY forms rather then the current (X,Y) and X+Yi? Note that wouldn't impact any algebraic, but rather be the purely "numerical" complex number. Edited: 11 Nov 2013, 3:01 p.m.
Re: Complex Number Entry on Prime - Michael de Estrada - 11-11-2013 It makes no difference to me, since I've always used the (X,Y) form going all the way back to my HP 28S.
Re: Complex Number Entry on Prime - Jeff O. - 11-11-2013 Tim, I can't really comment on 3i4 NEG messing up how the 50g works. I just seems like* if it can parse a "naked" (i.e., no tick marks, no parentheses) 3i4 into 3+4*i and 3/4 +/- into 3/-4 , then it should parse 3i4 +/- into 3-4*i. As for the behavior when entering as '3-4*i' (with the tick marks), I assumed it was due to my ignorance regarding algebraics. It just looked exactly the same upon entry in the display.
As for displaying purely "numerical" complex numbers as XiY, would that be 3+i4 or 3i4? More importantly, for negative imaginary, 3-i4 or 3i-4? I would very much like the 3+i4, 3-i4 option.
edited to add clarification
Edited: 12 Nov 2013, 12:11 p.m.
Re: Complex Number Entry on Prime - Eddie W. Shore - 11-13-2013 I would vote for X+Yi over XiY. The latter would confuse people who are not users of the 35S. Edited: 13 Nov 2013, 9:04 p.m.
Re: Complex Number Entry on Prime - Tim Wessman - 11-14-2013 The problem is how do you distinguish between 1+5*i and 1+5*i. One is an algebraic object, and the other is a complex number. Take a look a the example where he did a sqrt and it did not evaluate the result down.
TW
Re: Complex Number Entry on Prime - Mark Hardman - 11-14-2013 The Prime could rigorously distinguish between lowercase i as a variable and italicized i (shift-2) as being the sqrt(-1).
Re: Complex Number Entry on Prime - Michael de Estrada - 11-14-2013 Which is why I prefer the form (X,Y). ;>)
Re: Complex Number Entry on Prime - Tim Wessman - 11-14-2013 I beleive that is the end goal, but requires quite a bit of extensive work in the CAS interactions first.
Re: Complex Number Entry on Prime - Jeff O. - 11-15-2013 I basically detest the (X,Y) form. Really hoping for X+iY and X-iY, depending on the sign of the imaginary part.
Re: Complex Number Entry on Prime - Michael de Estrada - 11-15-2013 Different strokes for different folks.
Re: Complex Number Entry on Prime - Jeff O. - 11-15-2013 Certainly!
Re: Complex Number Entry on Prime - Joe Horn - 11-15-2013 Quote:Many students like it because it looks like the coordinates of a point on the complex plane, which of course it is. They are already very accustomed to using (a,b) for points, so they are comfortable with this notation. Re: Complex Number Entry on Prime - Jeff O. - 11-16-2013 I guess I don't like it because it looks like the coordinates on an X-Y plane, i.e., it is not unequivocally complex to me. But mostly because 4 years of EE schooling and a _few_ years of practice drilled R + j X into my head. I can live with i vs. j, but prefer that form. Edited: 16 Nov 2013, 4:50 p.m.
|