A small challenge



#9

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


#10

here's one:

[3][5][ENTER][%]

another:

[.][0][8][1/x]


Edited: 17 Dec 2008, 11:30 p.m.


#11

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


#12

Quote:
Not quite, this is 12.50 which isn't quite right :-)

What can I say, I work in government :-)


#13

In that case you should have found the two key solution:

    [1][2]

:-)

Still a good effort finding the % solution.


- Pauli

#14

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.


#15

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


#16

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).


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 546 11-17-2013, 10:18 AM
Last Post: Erwin Ried
  [HP PRIME] small font bug display Damien 34 2,055 11-06-2013, 04:31 AM
Last Post: Nacho
  A small but colourful bouquet ... Walter B 5 359 05-12-2013, 06:31 PM
Last Post: Bill Carter
  My small tribute to the HP-15C LE Juergen Keller 7 418 09-25-2011, 12:46 PM
Last Post: JamesT
  Re: WP34s: a small request Paul Dale 0 144 08-15-2011, 01:44 AM
Last Post: Paul Dale
  WP34s: a small request fhub 45 2,058 08-14-2011, 07:18 PM
Last Post: Paul Dale
  Small Sunday Afternoon Mini-Challenge Gerson W. Barbosa 20 991 05-05-2010, 05:00 PM
Last Post: C.Ret
  Proposed Small Calculator Ron Kok 36 1,502 10-04-2009, 10:38 AM
Last Post: Palmer O. Hanson, Jr.
  Voyager - opening up - small questions please Mark Edmonds 12 601 06-22-2009, 07:49 AM
Last Post: Mike Morrow
  Small bug in MLDL2000 software found Meindert Kuipers 0 146 07-02-2008, 03:49 PM
Last Post: Meindert Kuipers

Forum Jump: