The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime 'where' function
Message #1 Posted by bluesun08 on 29 Oct 2013, 6:19 a.m.

Is there a 'where' function key ( | ) in HP Prime, so that i can do for example:
f(x):=k*x^2
f(3) | k=4

      
Re: HP Prime 'where' function
Message #2 Posted by Walter B on 29 Oct 2013, 6:41 a.m.,
in response to message #1 by bluesun08

??

IMHO, 4*3^2 = 36.

d:-?

            
Re: HP Prime 'where' function
Message #3 Posted by bluesun08 on 29 Oct 2013, 6:47 a.m.,
in response to message #2 by Walter B

Thank you joker, but as i write this was only an EXAMPLE.

                  
Re: HP Prime 'where' function
Message #4 Posted by Walter B on 29 Oct 2013, 6:59 a.m.,
in response to message #3 by bluesun08

Without a Prime, I'd simply define that function being f(x, k) and calculate f(3, 4). What's wrong with that approach?

d:-?

      
Re: HP Prime 'where' function
Message #5 Posted by From Hong Kong on 29 Oct 2013, 6:47 a.m.,
in response to message #1 by bluesun08

Choose the 3rd template in the top row after pressing the template button.

Edited: 29 Oct 2013, 6:49 a.m.

            
Re: HP Prime 'where' function
Message #6 Posted by bluesun08 on 29 Oct 2013, 6:50 a.m.,
in response to message #5 by From Hong Kong

Is there also a solution without the template? (like in HP 50g RS TOOL)

                  
Re: HP Prime 'where' function
Message #7 Posted by From Hong Kong on 29 Oct 2013, 6:57 a.m.,
in response to message #6 by bluesun08

As far as I know, no!

                        
Re: HP Prime 'where' function
Message #8 Posted by bluesun08 on 29 Oct 2013, 6:59 a.m.,
in response to message #7 by From Hong Kong

What a pity!

                              
Re: HP Prime 'where' function
Message #9 Posted by Joe Horn on 29 Oct 2013, 7:17 a.m.,
in response to message #8 by bluesun08

Quote:
What a pity!

It's a pity that "|" requires TWO keystrokes (or, to be precise, one keystroke and one tap)? The only way to reduce that would be to put it on a primary key, losing whatever is on that key now.

      
Re: HP Prime 'where' function
Message #10 Posted by Steve Keeley on 29 Oct 2013, 11:24 a.m.,
in response to message #1 by bluesun08

Try the substitute command (on the CAS/Algebra menu):

subst(f(3), k=4)

            
Re: HP Prime 'where' function
Message #11 Posted by bluesun08 on 29 Oct 2013, 5:18 p.m.,
in response to message #10 by Steve Keeley

An ideal place for the "|"-sign would be SHIFT 6.

                  
Re: HP Prime 'where' function
Message #12 Posted by Joe Horn on 29 Oct 2013, 6:56 p.m.,
in response to message #11 by bluesun08

Quote:
An ideal place for the "|"-sign would be SHIFT 6.

That would require three strokes (shift, 6, |). Its current location only requires two (template, |).

Hey, I just noticed that both the 50g and Prime require exactly the same finger travel to press "|". On the 50g, the distance between the right-shift key and the TOOL key is 3 inches (7.5 cm), and on the Prime, the distance between the template key and the "|" on the screen is exactly the same. Same number of presses, and same finger travel. Hmmm.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall