A small challenge Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 12-17-2008, 08:41 PM Since things seem to be very quiet I thought I pose a small challenge for the season. Given a memory cleared HP-12c what is the minimum number of keystrokes required to have 12.25 on the display. Clearly, this can be done in five keystrokes. Can anyone do it in four or fewer? If x2 was available without a shift key then here are two ways to do it: ``` 3 . 5 x2 7 x2 4 / ``` Unfortunately, x2 isn't even present on the 12c. Can anyone do this for other calculators? Assume the display mode is appropriately set (i.e. don't count any keystrokes for this). - Pauli Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 12-17-2008, 11:24 PM here's one: [3][5][ENTER][%] another: [.][0][8][1/x] Edited: 17 Dec 2008, 11:30 p.m. Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 12-17-2008, 11:41 PM Quote:[3][5][ENTER][%] This is what I had in mind. Quote:[.][0][8][1/x] Not quite, this is 12.50 which isn't quite right :-) - Pauli Katie Wasserman Posting Freak Posts: 1,477 Threads: 71 Joined: Jan 2005 12-17-2008, 11:46 PM Quote: Not quite, this is 12.50 which isn't quite right :-) What can I say, I work in government :-) Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 12-18-2008, 12:06 AM In that case you should have found the two key solution: ``` [1][2] ``` :-) Still a good effort finding the % solution. - Pauli Dave Shaffer (Arizona) Posting Freak Posts: 776 Threads: 25 Joined: Jun 2007 12-19-2008, 09:59 PM Quote:Can anyone do this for other calculators? Assume the display mode is appropriately set (i.e. don't count any keystrokes for this). If you've set FIX 2, then 1 5 0 SQRT will show 12.25 , again in 4 strokes. Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 12-21-2008, 03:53 PM The 12c has a square root function in an unshifted position? News to me :-) So this should really be: ```1 5 0 g SQRT ``` at five. Nice attempt nonetheless. - Pauli Dave Shaffer (Arizona) Posting Freak Posts: 776 Threads: 25 Joined: Jun 2007 12-21-2008, 05:44 PM Oops! I don't have a 12C and didn't realize that it doesn't have an instant access square root (and I even wondered whether it did a couple of days ago, when I first thought about my scheme - and tested it on a 33S). « Next Oldest | Next Newest »

 Possibly Related Threads... Thread Author Replies Views Last Post [Download] PrimeComm: Alternative small utility to upload/download programs to the HP Prime Erwin Ried 6 1,751 11-17-2013, 10:18 AM Last Post: Erwin Ried [HP PRIME] small font bug display Damien 34 7,068 11-06-2013, 04:31 AM Last Post: Nacho A small but colourful bouquet ... Walter B 5 1,273 05-12-2013, 06:31 PM Last Post: Bill Carter My small tribute to the HP-15C LE Juergen Keller 7 1,615 09-25-2011, 12:46 PM Last Post: JamesT Re: WP34s: a small request Paul Dale 0 551 08-15-2011, 01:44 AM Last Post: Paul Dale WP34s: a small request fhub 45 7,464 08-14-2011, 07:18 PM Last Post: Paul Dale Small Sunday Afternoon Mini-Challenge Gerson W. Barbosa 20 3,629 05-05-2010, 05:00 PM Last Post: C.Ret Proposed Small Calculator Ron Kok 36 5,656 10-04-2009, 10:38 AM Last Post: Palmer O. Hanson, Jr. Voyager - opening up - small questions please Mark Edmonds 12 2,426 06-22-2009, 07:49 AM Last Post: Mike Morrow Small bug in MLDL2000 software found Meindert Kuipers 0 566 07-02-2008, 03:49 PM Last Post: Meindert Kuipers

Forum Jump: