Missing function on HP 42S - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Missing function on HP 42S (/thread-17718.html) |
Missing function on HP 42S - lrdheat - 11-17-2021 06:51 PM I used to think that the lack of an Nroot key on the HP 42S was a bit of a shortcoming, especially if one wanted to integrate an equation that had fractional powers involved where negative numbers were involved. It would be a convenience to have such a key on the HP 42S, but it is not a hard work around…it is easy to break such an integral into 2 integrals. In the case of the negative part of the integral’s domain in an odd numbered root, to make that part of the integral produce a negative number, integrate it from the absolute value of the lower end of the domain as lower limit, and use 0 as the upper limit. Store the result. The domain from 0 on up can be integrated in normal fashion. This can then be added to the stored result for the answer to the full domain integral. Carry on… RE: Missing function on HP 42S - Allen - 11-21-2021 11:20 PM (11-17-2021 06:51 PM)lrdheat Wrote: ... it is not a hard work around…it is easy to break such an integral into 2 integrals. I think you have said very elegantly exactly why there is NOT an built-in function that does this, especially for something that does not come up very frequently. I would say the same about my own desires for a PMOD- Modular exponentiation function. It's fairly easy to write a program that does this, and probably most people wouldn't use it anyway, hence there is no need to include it. (Never mind that ternary operators are tricky with a 4-level RPN stack.) More functions == more opportunity for bugs, more development expense, more ROM, longer manual, longer time to market, etc. 99.999% of the time I like the 42s exactly how it is. Though, I do wish the CATalog function of the 42S was sticky and opened where you last exited. For example, having to enter MOD twice near each other in a program requires many keystrokes. RE: Missing function on HP 42S - Werner - 11-22-2021 08:01 AM (11-21-2021 11:20 PM)Allen Wrote: I would say the same about my own desires for a PMOD- Modular exponentiation function. Here's my 41-compatible, stack-only version: Z^YMOD. Quote:Though, I do wish the CATalog function of the 42S was sticky and opened where you last exited. For example, having to enter MOD twice near each other in a program requires many keystrokes. You can make any built-in menu 'sticky' selecting it twice. To enter MOD twice, do SHIFT-CONVERT SHIFT-CONVERT again V (down) MOD (the menu doesn't go away) MOD Cheers, Werner RE: Missing function on HP 42S - lrdheat - 11-22-2021 03:20 PM I also find that assigning a function of interest to the custom menu is a good option! RE: Missing function on HP 42S - Allen - 11-23-2021 03:27 AM (11-22-2021 08:01 AM)Werner Wrote:(11-21-2021 11:20 PM)Allen Wrote: I would say the same about my own desires for a PMOD- Modular exponentiation function.Here's my 41-compatible, stack-only version: Z^YMOD. Warner, Thank you for the menu tip! I did write my own 39 byte program (with 4 char label), but use storage registers: Code:
|