Post Reply 
Programming with HP50g
08-31-2015, 12:57 AM (This post was last modified: 08-31-2015 01:14 AM by Allen.)
Post: #29
RE: Programming with HP50g
(08-30-2015 03:43 PM)Gerson W. Barbosa Wrote:  P.S.: Here's an 11-byte 5-step HP-42S solution:

Code:

00 { 11-Byte Prgm }
01>LBL C
02 CLΣ
03 Σ+
04 RCL 14
05 RCL- 12
06 RCL× 15
07 .END.

This is a beautiful HP42S implementation,Thank you! I enjoy when a unique perspective and serendipity provide a way to program things smaller because of math tricks- I do not need special credit for that.

You asked about checksums? There are several variations on the programs checksums possible based on how the stack is collapsed at the end with the IM, 4 / or 2 / steps ( or multiply by 0.5):

\begin{equation} \frac{\operatorname{Im}(z^2) \operatorname{Re}(z^2)}{2} = \operatorname{Im}(z^2) \frac{\operatorname{Re}(z^2)}{2}= \frac{\operatorname{Im}(z^4)}{4} = \operatorname{Im}\left(\frac{z^4}{4}\right) = A^3B-AB^3 \end{equation}

I know how the authors arrived at some of the 7-step solutions- mostly through the use of LASTARG and a different factorization of the original polynomial:
hints:
#79C6h- "asp" (from rjn)
#72B5h- "psa" (from jkh)
#E090h- "pas"
#E8BAh- "sap"

17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Programming with HP50g - tigger - 08-07-2015, 09:53 AM
RE: Programming with HP50g - Gerald H - 08-07-2015, 10:05 AM
RE: Programming with HP50g - rprosperi - 08-07-2015, 03:19 PM
RE: Programming with HP50g - Allen - 08-29-2015, 08:11 PM
RE: Programming with HP50g - Allen - 08-30-2015, 02:02 PM
RE: Programming with HP50g - Allen - 08-31-2015 12:57 AM
RE: Programming with HP50g - BartDB - 08-07-2015, 01:27 PM
RE: Programming with HP50g - tigger - 08-28-2015, 05:38 PM
RE: Programming with HP50g - BartDB - 08-28-2015, 05:48 PM
RE: Programming with HP50g - tigger - 08-31-2015, 09:26 AM
RE: Programming with HP50g - Valfisio - 08-09-2015, 08:56 AM
RE: Programming with HP50g - Jlouis - 08-09-2015, 01:06 PM
RE: Programming with HP50g - Brad Barton - 08-10-2015, 03:43 AM
RE: Programming with HP50g - Tugdual - 08-10-2015, 05:53 AM
RE: Programming with HP50g - Maro - 08-10-2015, 06:03 AM
RE: Programming with HP50g - DavidM - 08-10-2015, 11:21 PM
RE: Programming with HP50g - Gilles - 08-09-2015, 08:17 PM
RE: Programming with HP50g - Gerald H - 08-10-2015, 06:40 AM
RE: Programming with HP50g - Tugdual - 08-10-2015, 07:23 AM
RE: Programming with HP50g - Tugdual - 08-29-2015, 05:31 PM
RE: Programming with HP50g - Brad Barton - 08-11-2015, 02:31 PM
RE: Programming with HP50g - Brad Barton - 08-16-2015, 01:43 AM
RE: Programming with HP50g - tigger - 08-29-2015, 09:33 AM
RE: Programming with HP50g - BartDB - 08-29-2015, 03:56 PM
RE: Programming with HP50g - Gerald H - 08-30-2015, 05:10 AM



User(s) browsing this thread: 7 Guest(s)