Programming with HP50g
|
08-29-2015, 08:11 PM
(This post was last modified: 08-29-2015 08:49 PM by Allen.)
Post: #24
|
|||
|
|||
RE: Programming with HP50g
(08-07-2015 03:19 PM)rprosperi Wrote:(08-07-2015 10:05 AM)Gerald H Wrote: Try this: I love this document! Thank you to the authors: Joe, Richard and Wlodek!! The bottom of the last page challenges the users to submit a program to calculate \(A^3B-AB^3 \) in 27.5 bytes (7 steps). There are provided three checksums to indicate three possible 27.5 byte approaches. For the interested reader, #D45Bh and #7FE7h (both on 48g) are checksums for two similar 25 byte solutions with only 6 steps each. (not sure if it's faster than the 27.5 byte solutions, but will at least tie one of them, I think). A more complex approach (still 25 bytes and 6 steps) #13CAh based on: \begin{equation} \operatorname{Im} \left( \frac{(A+iB)^4}{4}\right) =A^3B-AB^3 \end{equation} (colorful proof) 17bii | 32s | 32sii | 41c | 41cv | 41cx | 42s | 48g | 48g+ | 48gx | 50g | 30b |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)