Complex number capability in non-HP machines - 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 capability in non-HP machines (/thread-138627.html) |
Complex number capability in non-HP machines - Palmer O. Hanson, Jr. - 07-05-2008 In a May 17 thread "HP 35s successor?" Rodger Rosenbaum asked: Quote:Since no one else has responded to Roger's question with respect to non-HP calculators I decided to try. My answer is limited to machines to which I have access. I wrote separately to Rodger noting that several machines in the TI product line had what I thought were substantial complex number capabilities. He responded Quote: My Casio fx-115D offers the four arithmetic functions and 1/x. My Casio fx-115ES (currently available) offers the four arithmetic functions, 1/x, x^2, x^3, argument and conjugate. My Sharp EL-515S has a complex mode which offers only the four arithmetic functions. My Sharp PC-1261 Pocket Computer does not offer a built-in complex capability. The PC-1260/1261 Instruction Manual includes fifteen sample programs none of which provide complex number capabilities. Sharp's Application Software for PC-1250/CE-125 includes twenty BASIC programs. Again, none of them provide complex number capabilities. The book Mathematics Library - Application Software for the Sharp EL-5500 and PC-1403 Scientific Computers by Maurice E. T. Swinnen and David Thomas (Systems Publications, 1987) offers five BASIC programs for complex number calculations: Program 1. Sine, cosine and tangent and the inverses. Program 2. The four arithmetic functions plus polar to rectangular and rectangular to polar conversions. Program 3. Square, square root, reciprocal, natural log, e^x, plus polar to rectangular and rectangular conversions. Program 4. y^x, y^(1/x), log to the base y of x, plus polar to rectangular and rectangular to polar conversions. Program 5. Complex Roots These programs should be compatible with the PC-1261. I have successfully run parts of the first three on my PC-1261. I have successfully run the Simultaneous Equation program from the book on my PC-1261 and converted it for use with my Radio Shack Model 100 and with my Texas Instruments CC-40. The book provides example calculations which can be used to verify that the programs have been entered correctly. For the first program the sine of 3 - 5i is calculated as 3.883848618 -74.10151768i which does NOT agree with the result obtained with my TI-85 and HP-28S. The first line of the program sets degree mode. If I set radian mode instead I get results which agree with my TI-85 and HP-28S. Degree mode is also set at the beginning of programs 3 and 4. As a result the example calculation for any function which uses real trigonometric functions as a part of its solution will not agree with results from machines which use radian mode. Setting radian mode will result in agreement. I leave any discussion over the merits of the use of degree or radian mode to others more skilled in the use of complex functions than I am. To demonstrate the arcsine fnction the book asks the user to enter 3.8838 - 74.1i (a truncated version of the sine of 3 - 5i when using degree mode) and see 3.000023834 - 4.99997943i as the answer. There is a better way to demonstrate the arcsine after having calculated the sine. The input routine stores the real part in R and the imaginary part in M. Each complex trigonometric function stops with the real part in O and the imaginary part in P. Since the PC-1261 accepts variables as the response to INPUT statements the user can enter the complete answer from a previous trigonometric function by responding with O and P for the real and imaginary inputs. A user who does that to calculate the arcsine after having calculated the sine of 3 - 5i in degree mode will see the result 3.000000101 - 4.999999881 . The arithmetic functions in the second program stop with the result in the locations where the first complex number is entered for an arithmetic function. The INPUT statement of the PC-1261 does not display those values; however, if ENTER is pressed the INPUT statement essentailly acts as a non-operation and the existing values in the input locations are preserved. The INPUT statement on my Radio Shack Model 100 reacts in the same way. To preserve the previously stored values on the CC-40 the user must use the response Shift ENTER. I have not worked with the fifth program. The TI Machines:
Rodger noted that the TI-86 has a comprehensive capability. Several other TI machines also offer comprehensive capability.
The CC-40, the TI-74 and the TI-95 all offer an extended capability as part of their Mathematics Library modules including x^2, SQRT, 1/x, LN, EXP, SIN, COS, TAN, ASIN, ACOS, ATAN, y^x and x root of y. The CC-40 and the TI-95 also offer LOGyX. The TI-74 does not. A curious addendum to the TI-74 manual states: Quote:The addendum then goes on to offer a program to calculate LOGyX. Somehow, I believe that a user of the complex capability will be able to keep track of which function to use. The TI-95 also offers the hyperbolics and their inverses. The CC-40 and the TI-74 offer a Complex Systems program (COMPS) which solve a system of nxn simultaneous equations with complex coefficients. The baseline 6K versions of the machines will handle up to 12x12 complex systems. The program is easy to use with excellent prompting. The first page of the section on complex numbers in the TI-68 Guidebook states: "A major innovation of the TI-68 is its extensive complex number capability. You have the freedom to enter complex numbers wherever they are applicable without 'mode' limitations. Few other calculators evn approach the versatility of complex numbers provided by the TI-68." How much salesmanship and how much actual capability? I haven't done any substantial amount of work with the TI-68. I do know that the method of entering and displaying is similar to the HP-48. I can't compare with the HP-15 or the HP-42 since I don't have either of those. Many of the TI graphic machines offer complex number capabilities. The TI-83 offers a relatively wide range of functions but it does not offer the trigonometric functions. I have not tested my TI-84. The TI-85 offers all the capabilites of the TI-83 and adds the trigonometric and hyperbolic functions and their inverses, polynomial solutions, simultaneous equation solutions, sorting based on modulus, and the sum or product of the elements of a list. A Question on HP Capabilities
I haven't been able to use memory register arithmetic with complex functions in Algebraic mode on the HP-35S. I haven't found a reference in the manual which indicates that should be so. I may be doing something incorrectly. If anyone knows how to do that please let me know.
Re: Complex number capability in non-HP machines - Karl Schneider - 07-06-2008 Hi, Palmer -- You've done a commenable amount of investigation, and confirmed Rodger's suspicions: Complex-number capability in the Sharp and Casio models you described is either rudimentary or not built-in. In this post of mine from 2004, I questioned whether any TI model had a definitive complex-number capability, because none of the HP models had all of what I believed to be useful. I did subsequently experiment with a TI-89, but was not fully pleased with the way the complex-number functionality worked. http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/archv014.cgi?read=63415#63415
-- KS Edited: 6 July 2008, 10:53 p.m. after one or more responses were posted
Re: Complex number capability in non-HP machines - Dusan Zivkovic - 07-06-2008 Hi everyone, Re: Complex number capability in non-HP machines - Palmer O. Hanson, Jr. - 07-07-2008 Quote: I did all of that because Rodger's original statement which appeared in the Forum had not included TI machines with HP machines as having substantial complex number capability. And, of course, eveyone knows that deep, down inside I am a TI guy.
In introspective communities such as this forum such statements as Rodger's original one tend to generate a life of their own. I will offer a non complex number example. If you go to the beginning of the section on Casio graphing calculators at Viktor Toth's site you will find the following statement: Quote:I have surprised a number HP aficianodos with that information, and surprised them even more when I told them that Casio had offered several graphing calculator models before HP released the 28C.
You also wrote: Quote:I have a TI-89 but hardly ever use it. The menus seem to go on forever and ever, and the reduced size letters are really difficult for these old eyes to read. I much prefer to use the TI-85 or TI-86 if those machines can do what I want to do.
The thing I really like about the TI-85 and TI-86, or the HP-28S for that matter, is that, for example, a user calculates the function of a quantity in the same way whether the quantity is real or complex. I don't know when that started. Was it the HP-15? It didn't appear in the Math Pac for the HP-41 or in the Master Library for the TI-59, although Fujimoto's progam was a big step in the right direction for the TI community.
Re: Complex number capability in non-HP machines - Walter B - 07-08-2008
Quote:I think you're right: the 15c was the first HP with this feature. Re: Complex number capability in non-HP machines - Walter B - 07-08-2008
Quote:Isn't this a contradiction in itself? Well, I guess what you want is a calc where the input of
So far, I don't know any HP calc doing exactly this - only virtual ones like this or this ;) Won't help in the short run, though.
Re: Complex number capability in non-HP machines - Dusan Zivkovic - 07-08-2008 That'd definitely be both simple and transparent. No contradiction then :)
Re: Complex number capability in non-HP machines - Vladan Dugaric - 07-08-2008 On HP-42S you would type
1 ENTER 2 COMPLEX (to enter 1 i 2) and it gives 0.3901 -i0.8311. To me it looks exactly what was asked for (transparent).
48/49/50 series and 71b with Math rom do the same - they all support complex data type seamlessly integrated into the basic operating system, so all operations normally work with complex arguments (or return complex results when required, for example 2 ACOS on 42s gives 0.0000 i1.3170). This is unlike 35s which unfortunately only returns complex results for some functions (such as -2 ENTER 0.5 y^x) while others return an error (such as -2 SQRT).
Re: Complex number capability in non-HP machines - John Keith - 07-08-2008 On the hp49/50, it would be ( 1 SPC 2 ENTER SQRT COS which is about as simple as you can get.
John
Re: Complex number capability in non-HP machines - Walter B - 07-09-2008 ... and so we have - on 48/49/50: L_shift ( 1 SPC 2 ENTER SQRT COS
I admit the first 2 lines are Quote:(emphasis added) d;-) Re: Complex number capability in non-HP machines - Egan Ford - 07-09-2008 Quote:Can be: - on 48/49/50: L_shift ( 1 SPC 2 SQRT COS Re: Complex number capability in non-HP machines - Dusan Zivkovic - 07-09-2008 Just to make one thing clear here, about this functionality on RPN (not RPL) machines. |