I was bored and found a HP-27S
|
06-26-2014, 01:44 PM
Post: #41
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 01:35 PM)Don Shepherd Wrote: Don't forget Thomas Klemm, a true genius. See his article on the eight queens problem for an example of some brilliant solver code. Thanks for the suggestion, Don! I have it already on my HP-27S disk folder, along with a lot of your Solver programs as well I'm doing a extensive research in the net on this calculator and download as much documents as I can find. Jose Mesquita RadioMuseum.org member |
|||
06-26-2014, 02:14 PM
Post: #42
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 01:23 PM)rprosperi Wrote: Then search the Forum (OLD & NEW) for great articles from Don Shepherd and then, when you think you have it mastered, search for an article w/title something like "Long Equation for HP17B Solver" from Gerson IIRC.Link for the lazy: A very long HP-17BII equation. Quote:Astounding stuff, implementing the Trig functions and much more.You probably don't need these with the HP-27S. Cheers Thomas |
|||
06-26-2014, 03:57 PM
Post: #43
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 02:14 PM)Thomas Klemm Wrote:(06-26-2014 01:23 PM)rprosperi Wrote: Then search the Forum (OLD & NEW) for great articles from Don Shepherd and then, when you think you have it mastered, search for an article w/title something like "Long Equation for HP17B Solver" from Gerson IIRC.Link for the lazy: A very long HP-17BII equation. Thanks, Thomas! Jose Mesquita RadioMuseum.org member |
|||
06-26-2014, 10:34 PM
Post: #44
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 01:40 PM)jebem Wrote: I don't have the MoHPC DVD yet, that will be one of my next acquisitions. The Museum DVD set is the most bang for your buck, period. Can't say enough good things about having this set. In fact, it's used so often, I had to move it from DVD -> SSD. About 5 clicks to almost any manual I want. Now I just live in fear that Dave will update the DVD set... whatever will we do??? --Bob Prosperi |
|||
06-26-2014, 10:41 PM
Post: #45
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 01:35 PM)Don Shepherd Wrote: Don't forget Thomas Klemm, a true genius. See his article on the eight queens problem for an example of some brilliant solver code.I could not forget Thomas. I was going to wait to hear the solver had been mastered, and then point him to some of Thomas' gems like that. But I can tell you from experience that looking at those pieces of Solver art before you've used it a lot is really confusing. Sometimes even after. (06-26-2014 02:14 PM)Thomas Klemm Wrote: Link for the lazy: A very long HP-17BII equation. Guilty! Thanks for posting Thomas; I was close in topic, but not too useful as a search hint... --Bob Prosperi |
|||
06-27-2014, 09:45 AM
Post: #46
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-26-2014 10:41 PM)rprosperi Wrote: But I can tell you from experience that looking at those pieces of Solver art before you've used it a lot is really confusing. Sometimes even after. This is an equivalent program written for Python: Code: for I in range(1, 9): The index parameters I-O are local variables and therefore can't be used directly to display the result. Thus the variables A-H are used to propagate the result. They must be used or they won't show up in the menu. But we're not really interested in the sum of them. It's only for this side-effect that they are used here: Code: Q=A+B+C+D+E+F+G+H+ Instead of a for-loop the \(\Sigma\) function is used. We don't have ABS but we can use SQ (square) instead: Code: Σ(M:1:8:1: Code: for M in range(1, 9): As we can't display all 92 solutions an error (division by zero) is used to stop the program: Code: L(A:I)xL(B:J)xL(C:K)xL(D:L)xL(E:M)xL(F:N)xL(G:O)xL(H:P)/0 While the Python program prints all solutions the solver stops with the 1st one. A counter could be used to stop with the n-th solution. HTH Thomas |
|||
06-27-2014, 12:43 PM
Post: #47
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 09:45 AM)Thomas Klemm Wrote:(06-26-2014 10:41 PM)rprosperi Wrote: But I can tell you from experience that looking at those pieces of Solver art before you've used it a lot is really confusing. Sometimes even after. I imagine this was to highlight my point above: Sometimes even after!! To quote Joe Horn, just looking at the above code makes my eyes bleed. This stuff is truly amazing Thomas, clearly well beyond what the Solver designers ever imagined, and I would guess well beyond what it was tested for, but it seems solid. I really enjoy these kinds of creative abuses of tools like the Solver as they really dramatically show how creative, smart folks like yourself can bend tools to their own will, and teach us all new ways to use the tools. Entering some of these long equations on a 17B or 27S, I don't enjoy so much (e.g. I cannot claim to have entered Gerson's long equation succesfully. 2 hours was my limit, or perhaps it was my eyesight). Thanks for continuing to shine a light into dark corners, its interesting and entertaining, even if I don't follow all the math involved. Jebem - You've got some catching up to do with your newest toy --Bob Prosperi |
|||
06-27-2014, 01:15 PM
Post: #48
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 12:43 PM)rprosperi Wrote: Jebem - You've got some catching up to do with your newest toy Sure, I got the idea... the way Thomas and others took advantage of the Solver feature and managed to twist it into a kind of a programming environment was the reason why I did chase for a HP-27S... I just had to have it! Actually I was chasing a HP-42S since long time ago (I got it As-New-in-the-Box just yesterday evening!), and I found the HP-27S by accident by reading the related intriguing publications from Thomas, Don, Bob, Luiz and many others here in the MoHPC archives... Thank you all for that! But even using the Solver in the formal documented way, it is amazing on how easy and fast is to type in a formula with basic logic conditions to solve common problems, without the need to spend time creating programs (as in the other calculator paradigms of the time), and this was available from HP in the 80's! Jose Mesquita RadioMuseum.org member |
|||
06-27-2014, 01:32 PM
Post: #49
|
|||
|
|||
RE: I was bored and found a HP-27S | |||
06-27-2014, 02:20 PM
Post: #50
|
|||
|
|||
RE: I was bored and found a HP-27S | |||
06-27-2014, 02:21 PM
Post: #51
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 01:15 PM)jebem Wrote:(06-27-2014 12:43 PM)rprosperi Wrote: Jebem - You've got some catching up to do with your newest toy I read in an old HP Journal somewhere a few years ago that Paul McClellan was the principal designer at HP responsible for the solver in the 17b/27s series. I had always wondered if the designers of the solver had put in a hidden command to write to a sum list. You can read from a sum list via the ITEM command, but you can't write to a sum list from an equation. If you could, it would open up the solver to all kinds of additional applications. I wrote to Mr. McClellan and he responded. I don't think he would mind if I showed his response here, because I think many of us would find this very interesting. My letter to him: Quote:Paul, while reading an old HP Journal, I came across your name as the principal developer of the HP Solve application which is used in the HP-18c, 28s, 17b, 19b, and 27s I believe. I'm a big fan of that app, and my hobby is to see how solve can be used as a programming language in those calculators. Paul's response: Quote:Hi Don, These guys were brilliant to have built a solver with so many advanced capabilities. My hat is off to them. |
|||
06-27-2014, 02:56 PM
(This post was last modified: 06-27-2014 02:57 PM by HP67.)
Post: #52
|
|||
|
|||
RE: I was bored and found a HP-27S
Don, I was just asking about this in another thread- vis a vis the 30b and after seeing this discussion and having my mind blown off by Thomas Klemm's mathematical genius- and not for the first time either btw!
You seem to have collected a lot of info on the solve application and history. Would you mind posting a bibliography and/or any links to info on this? I'm trying to find reading material on the subject and I'm sure many people would find it useful. I do have the Museum DVD so I am putting the HP-27S/19B Technical Applications doc you referenced on my reading list. Thank you. It ain't OVER 'till it's 2 PICK |
|||
06-27-2014, 03:10 PM
(This post was last modified: 06-27-2014 03:22 PM by Don Shepherd.)
Post: #53
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 02:56 PM)HP67 Wrote: Don, I was just asking about this in another thread- vis a vis the 30b and after seeing this discussion and having my mind blown off by Thomas Klemm's mathematical genius- and not for the first time either btw! The Solve function on the vanilla 30b (and many other HP calcs) is not the same as the Solver on the 17b/17bii/19b/19bii/27s/and others. As I think the other thread mentioned, the solve function that started out on the 34c (I believe) requires you to write a little RPN program and then "solve" the program. I know very little about that solver, my interest has always been in the 17b-type solver that includes programming things like loops, decisions, variables, and so on. I don't really have a bibliography or a list of references, but the HPMuseum forum (and its original forum) have plenty of discussions about the 17b-type solver. |
|||
06-27-2014, 03:28 PM
Post: #54
|
|||
|
|||
RE: I was bored and found a HP-27S
Thanks. Looking over the link Massimo posted I realized it's not what I had thought. Similar, but totally different. Sorry for the interruption.
It ain't OVER 'till it's 2 PICK |
|||
06-27-2014, 08:50 PM
Post: #55
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 02:21 PM)Don Shepherd Wrote: I read in an old HP Journal somewhere a few years ago that Paul McClellan was the principal designer at HP responsible for the solver in the 17b/27s series. I had always wondered if the designers of the solver had put in a hidden command to write to a sum list. You can read from a sum list via the ITEM command, but you can't write to a sum list from an equation. If you could, it would open up the solver to all kinds of additional applications. Thanks for sharing that interesting information, Don. Jose Mesquita RadioMuseum.org member |
|||
06-27-2014, 10:28 PM
Post: #57
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 10:18 PM)jebem Wrote: Because I felt the need to do it, I have put together this small listing with links to HP-27S references here in the MoHPC: Wow! Lot's of interesting stuff, all the way back to 2000. Thank you for this collection. -katie |
|||
06-27-2014, 10:40 PM
Post: #58
|
|||
|
|||
RE: I was bored and found a HP-27S
Hi Jose,
I was recently offered a 27S in trade, but I declined. Now I'm kind of interested. Do you have a ROM dump for use with the 42S emulator? Dave |
|||
06-27-2014, 10:46 PM
Post: #59
|
|||
|
|||
RE: I was bored and found a HP-27S
(06-27-2014 10:40 PM)Dave Frederickson Wrote: Hi Jose, Hi Dave! I can't find the 27S ROM image anywhere... it was nice to run it in the emulator as well, but from my research in the Net, apparently no one could dump it... Jose Mesquita RadioMuseum.org member |
|||
06-27-2014, 10:52 PM
(This post was last modified: 06-27-2014 10:52 PM by Dave Frederickson.)
Post: #60
|
|||
|
|||
RE: I was bored and found a HP-27S
If no one could dump the ROM then how does go27S run? Have you tried?
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)