Fun with a 17bii Dave Britten Member Posts: 247 Threads: 26 Joined: Oct 2007 03-30-2009, 10:07 PM I recently acquired a nice second-hand 17bii (the real deal, not the + model). My wife and I have been house shopping, so I've got an excuse to grab a financial model to complement my stack of scientifics. So with that out of the way, let's (ab)use the solver a bit. Here's about 10 minutes of tinkering and familiarizing myself with the cooler features: the Fibonacci sequence. `FIB:IF(S(NEXT):NEXT:INIT+L(A:0)+L(B:0)+-L(NEXT:1))=L(B:G(A))+L(A:G(NEXT))` Solve for INIT to get the first term of the sequence, and solve for NEXT to fetch subsequent terms. Anybody else have some interesting - and not necessarily useful - solver routines? I'm sure a chess-playing program is out of the question, but has anybody tried tic-tac-toe? Oh, and it does a damn nice job of financial calculation too. :) Marcus von Cube, Germany Posting Freak Posts: 3,283 Threads: 104 Joined: Jul 2005 04-01-2009, 10:14 AM Dave, it works equally well with a 27S. (The unit has just arrived. Customs must have made some dents in it but it still works.) Can you explain it a little. I do understand what happens if you solve for NEXT: ```NEXT=L(B:G(A))+L(A:G(NEXT)) ``` This returns the sum of A and B and replaces B by A and A by NEXT. So far, so good. But the other case... ```INIT+L(A:0)+L(B:0)+-L(NEXT:1)=L(B:G(A))+L(A:G(NEXT)) ``` What I can see is that you set A=B=0 and NEXT=1 on the left side of the equation and then B=0 and A=1 on the right side. This results in... ```INIT+-1=1 ``` It looks to me that the "-" before L(NEXT:1) is superfluous. Did I get it right? Dave Britten Member Posts: 247 Threads: 26 Joined: Oct 2007 04-01-2009, 05:51 PM Yeah, that should have just been something like "...L(B:0)-L(NEXT:1)...". That's what I get for figuring this stuff out so late at night. :) I'm sure it could be cleaned up a lot in other areas, too. That's pretty much how it works. Solving for INIT resets A, B, and NEXT, and returns 1 (the first term of the sequence). Solving for NEXT gives you all the subsequent terms. It doesn't really matter what INIT gets set to, so I just fiddled with the equation so it gives you the first term (one). « Next Oldest | Next Newest »

 Possibly Related Threads... Thread Author Replies Views Last Post 17BII & 17BII+ Discounted Payback Period Revisited Tom Neudorfl 8 1,234 11-25-2013, 10:28 AM Last Post: Don Shepherd Fun graphs on HP Prime Mic 9 1,041 09-15-2013, 08:30 AM Last Post: Eddie W. Shore Fun things found by running strings on the 39gII emulator bhtooefr 11 1,472 05-16-2013, 12:40 AM Last Post: Mic Fun with the HP-35 Gerson W. Barbosa 11 1,292 08-02-2012, 10:58 AM Last Post: Gerson W. Barbosa First post here: something fun... Jeff Dinkins 4 648 04-22-2012, 02:42 PM Last Post: Jeroen Van Nieuwenhove devolution of the wp34s label---or fun with colors troy 19 2,199 02-09-2012, 02:52 PM Last Post: Egan Ford HP 15c searchable Adv Fun Handbook (link) - done by Joe Horn Gene Wright 19 1,742 11-24-2011, 04:59 AM Last Post: Joel Setton (France) 15C LE -- fun with the PSE Katie Wasserman 6 718 09-14-2011, 04:04 PM Last Post: Katie Wasserman TI people have more fun Don Shepherd 7 808 06-14-2011, 10:45 PM Last Post: Gerson W. Barbosa having fun with the HP-17b Don Shepherd 12 1,191 06-08-2011, 10:08 PM Last Post: Don Shepherd

Forum Jump: