Post Reply 
little math puzzle. Map 1 0 -1 to 1 0.5 0
05-21-2018, 08:12 PM
Post: #21
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 08:07 PM)J-F Garnier Wrote:  2 / INT

That's also my final solution.

Dieter
Find all posts by this user
Quote this message in a reply
05-21-2018, 08:15 PM
Post: #22
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
How about:
7
x<>y
MOD
Find all posts by this user
Quote this message in a reply
05-21-2018, 08:25 PM
Post: #23
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 07:46 PM)Dieter Wrote:  
(05-21-2018 07:33 PM)Joe Horn Wrote:  1 – SQRT

Works on all RPN/RPL models, I think.

Hey, that's a good one!
My solution is different, but takes the same three steps.
Anyone else with three steps? Or even less?

2 / INT

HP-42S:

2 BASE/

hp 33s:

2 INT/

Gerson.
Find all posts by this user
Quote this message in a reply
05-21-2018, 08:27 PM
Post: #24
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
Ok, after the fail above (always check twice) here a new attempt:
R->B
SR
B->R

so three steps
Arno
Find all posts by this user
Quote this message in a reply
05-21-2018, 08:28 PM
Post: #25
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 08:25 PM)Gerson W. Barbosa Wrote:  HP-42S:

2 BASE/

Nice! I started down that path but didn't remember the BASE/ function.
Find all posts by this user
Quote this message in a reply
05-21-2018, 08:50 PM
Post: #26
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
On the Prime there is BITSR(), 1 step.
Arno
Find all posts by this user
Quote this message in a reply
05-21-2018, 09:11 PM
Post: #27
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
DSE X
SQRT

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
05-21-2018, 11:09 PM
Post: #28
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 04:31 PM)Dieter Wrote:  For three points it can always be done with a parabolic fit. But maybe there also is another and shorter/faster way to do it. ;-)

What about

5 -> 2
2 -> 1
1 -> 0


A longer and slower way here. :-)

Gerson.
Find all posts by this user
Quote this message in a reply
05-21-2018, 11:15 PM
Post: #29
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 08:15 PM)Logan Wrote:  How about:
7
x<>y
MOD

An interesting solution, regardless the number of steps. This works on the 33s as well (Rmdr == MOD).

Gerson.
Find all posts by this user
Quote this message in a reply
05-22-2018, 12:15 AM
Post: #30
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 08:25 PM)Gerson W. Barbosa Wrote:  hp 33s:

2 INT/

The same idea in RPL is 2 IQUOT.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
05-22-2018, 05:59 AM
Post: #31
RE: little math puzzle. Map 1 0 -1 to 1 0.5 0
(05-21-2018 08:15 PM)Logan Wrote:  How about:
7
x<>y
MOD

(05-21-2018 09:11 PM)Werner Wrote:  DSE X
SQRT

Nice – two very cool solutions.
If you have calculators with the respective commands, that is. ;-)
2 / INT probably is the most universal one.

Other solutions with more special commands:

2 INT÷ (HP35s)
2 IDIV (WP34s)
LN ROUNDI (WP34s)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)