I often wonder why HP (and many other brands) choosed many times to make x^2 a shifted function? In most formulas I see you´ll find a lot more squared variables than square roots. As example only one simple formula used a million times each day around the globe c = SQRT(a^2+b^2). I love the 33s for having a dedicated x^2 key. Is there some deeper going logic behind having x^2 shifted?
Why is x^2 shifted?


« Next Oldest  Next Newest »

▼
09242009, 06:29 AM
▼
09242009, 06:48 AM
Interestingly, the 300s has X^2, x^3, x^n and SQRT as direct keytop functions.
09242009, 06:51 AM
It's designed to send us nuts!, just like in one of my recent blogs Shifted 1/X, X^2, Log10, EXP and ENG keys are my pet hates. And don't get my started on the useless dedicated HYP key!
Dave. Edited: 24 Sept 2009, 7:03 a.m. ▼
10062009, 07:39 AM
actually I'd like to know your issues with the dedicated HYP key  being curious about pros/cons of such implementation. I can see cases where accessing the hyperbolics would be convenient. It's just one key to launch 6 functions (or more). I just implemented it on the 41Z. Point in case is the user keyboard is full with "regular" functions (nonuser is the realnumbers 41, user is the COMPLEX 41). HYP saves six key assignments and also presnts a more logical arrangment.
Best, ▼
10062009, 05:57 PM
Quote: And both people who use hyperbolic functions regularly will appreciate the saving ;)  Pauli ▼
10062009, 06:13 PM
Quote:
*grin* My guess is it wouldn't even reach a single percent. Infinitely more sensible to make HYP a shifted function. Dave.
09242009, 09:00 AM
Don't forget the venerable HP45, which was the first HP pocket calculator to feature the x^2 function. It has a dedicated x^2 key and the sqrt(x) function is shifted. I always have an HP45 handy for routine calculating.
09242009, 10:29 AM
Quote: I agree that x^{2} is very commonly used, and that an unshifted key is convenient. However, lack of available keyboard space is a constraint. Since square root and x^{2} are inverse functions of each other, square root is normally unshifted, with x^{2} being the second function. x^{2} can also be performed in RPN by [ENTER][*], which  along with a limited keyboard  may explain why the HP35 didn't have it.
Quote: This, of course, can be performed by a rectangular > polar conversion, as well.
 KS Edited: 24 Sept 2009, 10:30 a.m. ▼
09242009, 11:23 AM
Yes, keyboard layout is a tough discussion. Considerations: 1) Can the function be done another way? x^2 is also ENTER X, so making it a shifted function costs the same keystrokes as ENTER X. Perhaps better to save a key press and make x^2 primary then and save a keypress for the user. 2) How often is the function used? Is SQRT used more often that x^2? If so, perhaps it deserves a primary key. #2 applies to the LOG/10^x and LN/e^x discussion. Seems as if the natural log functions occur most often and if so, these "ought" to be given a primary key position over the common functions. ▼
09242009, 12:00 PM
Quote: Again, the Hp45 did exactly this with ln and e^x as separate primary keys with log and 10^x as shifted keys. It should be pointed out that the much maligned HP33s also has dedicated primary ln and e^x keys. And while we're on the subject of primary keys, I've always liked having separate STO and RCL keys on my basic nonmenu calcs. Again, both the HP45 and HP33s have these. Unfortunately, I have an early HP33s with the invisible decimal point, so I don't use it very much.
09242009, 12:55 PM
Quote:Oh yes! E.g. assume a small RPN calculator featuring the following primary keys: 0 ... 9 . E ± +  * / ENTER DeleteEnough space shall be left for secondary (i.e. shifted) functions. Three (3) primary keys are to be filled yet. What would you put on them? ▼
09242009, 08:31 PM
Quote: Wouldn't a "small RPN calculator" have none of that programming stuff? Like the RPN Scientifc 4Banger dream calc some time back?
The difference really comes down to a calculator key layout optimised for programming, and one optimised for manual calculations. But if I only had three keys left I'd put 1/x, X^2 and SQRT And of course an ON/OFF key is the most useless thing ever invented for a low power calculator. Dave. ▼
09252009, 05:30 AM
Quote:Well, I didn't tell you SST, BST, and ON/OFF are multipurpose keys like on the 42S. SST and BST browse catalogues as well, and ON/OFF serves also as EXIT. So there are only XEQ and R/S left being primary program keys. My ideas for the three free keys were 1/x, y^x and PI so far, so we agree on one key already. Maybe e^x and LN are a better choice than y^x and PI ? Edited: 25 Sept 2009, 4:12 p.m. ▼
09252009, 04:45 PM
I would definately leave PI for a shifted key. For primary keys, 1/X gets my vote as well, but it's a hard choice between Y^X, SQRT and X^2. I guess I'd go for Y^X and SQRT, leaving X^2 for a shifted function. It almost pushes me to use the 3 keys for SIN, COS, TAN so their inverses are on the proper shifted key. It's always a matter of tradeoffs in the limited resources world. ▼
09262009, 06:49 AM
Quote:
I like the Casio method of putting PI on the EXP key. Dave.
▼
09262009, 09:12 AM
Quote:HP's traditional way was using the EEX key to enter 1*10^ directly if no input was pending. E.g. 225 SQRT E 4 * will result in 150,000. Sadly, this way was abandoned recently with the 35s.
09262009, 02:27 PM
Quote: Hi, Dave  I have a 1981 Casio fx3600P with that feature. (Note: pi is always accessible using the shift key.) I thought it was a clever means of dualpurposing a key. On the newer fx115MS, EXP and pi are also on the same key, but pi always requires the shift key. A leading "1" is not necessary; EXP 6 will give "E6" representing 1,000,000  more HPlike in that sense. I agree with Walter regarding the application of the old Casio method to HP's. Not only does it preclude quicker entry of powerof10 numbers, it is inconsistent with RPN principles and could cause ambiguity in programs.  KS
Edited: 27 Sept 2009, 12:40 a.m.
09252009, 06:10 PM
Quote: I find it interesting that the 32s has e^x and ln as primary functions (with 10^x and log10 shifted), but the 42s has log and ln (with 10^x and e^x shifted). Which came first, and why the change? ▼
09262009, 12:10 AM
They were both introduced in 1988. I suspect the design differences are evidence that the HP42S was not related to the HP32S in any way except use of Saturn and external appearance. Other than that, these two machines seem to come from two rather different design philosophies with little in common between them. With respect to the problems they were designed to solve, there is much more in common between the HP15C and the HP42S than there is between the HP15C and the HP32S, or between the HP32S and the HP42S. ▼
09262009, 06:41 AM
Q: Quote:
A: Quote: "not related ... in any way"? That's a rather sweeping  and wrong  conclusion based on just one difference in key layout. Use of the Saturn microprocessor is a significant similarity because that means identical mathematical algorithms (for functions that are common to both). The virtuallyidentical appearance resulted from the use of identical packaging and basic layout, as well as a design based on one shift key and menubased access to many functions. Of course, the function set, display, programming paradigm, and price were quite different. As for the minor difference in toprow keys: The HP42S has an unshifted uparrow key (convenient for menu and program scrolling), bumping XEQ to the top row and leaving one fewer key for transcedental math functions. This also explains why y^{x} was shifted. (Walter B. correctly pointed out that the layout of these keys are identical to those of the HP41.)
Back to the original poster's question: The squareroot symbol (x inside a radical) can be difficult to discern in small font. That may explain why square root, instead of x^{2}, is typically unshifted. I suspect that aesthetics and consistency of structure played a large role in some of the layouts:
HP15C:
The following should be noted:
 KS
Edited: 26 Sept 2009, 10:10 p.m.
09262009, 05:18 AM
Quote:The 42S inherited the top key sequence of the 41 (and added XEQ to this row). The 32S had the standard top key row of the scientific Pioneers (20S, 21S, 22S). So it's obvious which came first.
09252009, 09:47 PM
Gene: Quote:I sort of remember that some earlier machines did x^2 using logarithms as a special case of y^x with the result that 1. x^2 was less accurate than x X x, and 2. x^2 was slower than x X x Do you remember anything like that? Palmer
10062009, 07:44 AM
Using ENTER^, X will lose the contents of the T register... which may be an important consideration for some (programs, of course).
09242009, 11:47 AM
That's a good point, Frank. I think you're suggesting that they put x^2 and sqrt(x) on the same key, make sqrt(x) shifted and x^2 unshifted, rather than the other way around. I wrote a long note on HP's support site shortly after getting my 50g giving some thoughts on the keyboard. I recognize the difficulty in changing such things, but it's still helpful to speculate I think. More specifically, I noticed that several unshifted keys (TOOL, VAR, NXT, and SYMB) and more than a dozen shifted keys do nothing more than change the softmenu context. Many others (like APPS, MODE and shifted functions CHARS, EQW and CAT) just start applications. I'd put nearly all of these functions behind a single "Menu" key. Some functions like EQW are really key from a marketting perspective so they might still be on the keyboard. I'd also change it so that pressing a shift key would change the softkey labels to indicate the new function (shifted soft keys already PERFORM different functions, but the labels don't change to indicate what the new function is). Finally, I'd do two rows of 5 soft keys instead of 1 row of 6 (and two rows of labels on the screen to match). Note that this would allow an extra character in the softkey label that appears on the screen By adding this emphasis on soft keys, you could now remove a ton of clutter. You'd probably need just one shift key, which would make room for a large ENTER key. With 20 functions available in each menu (10 unshifted and 10 shifted) you wouldn't need the NXT key at all. In the unlikely event that a menu set required more than 20 functions, you could add NXT and PREV soft functions. Dave
09252009, 11:44 AM
The 27s gives "equal time" to everybody: SQRTx,x^2,e^x,LNx,10^x,LOGx,y^x,1/x are ALL shifted. Only the trig functions are arranged in unshifted/shifted groupings. 
Possibly Related Threads...  
Thread  Author  Replies  Views  Last Post  
HP65 without yellow labels for shifted functions  Geir Isene  5  1,212 
02142007, 10:51 AM Last Post: Les Wright 