HP Forums
HP Prime 'where' function - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: HP Prime 'where' function (/thread-254171.html)



HP Prime 'where' function - bluesun08 - 10-29-2013

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 - Walter B - 10-29-2013

??

IMHO, 4*3^2 = 36.

d:-?


Re: HP Prime 'where' function - bluesun08 - 10-29-2013

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


Re: HP Prime 'where' function - From Hong Kong - 10-29-2013

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 - bluesun08 - 10-29-2013

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


Re: HP Prime 'where' function - From Hong Kong - 10-29-2013

As far as I know, no!


Re: HP Prime 'where' function - Walter B - 10-29-2013

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 - bluesun08 - 10-29-2013

What a pity!


Re: HP Prime 'where' function - Joe Horn - 10-29-2013

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 - Steve Keeley - 10-29-2013

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

subst(f(3), k=4)


Re: HP Prime 'where' function - bluesun08 - 10-29-2013

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


Re: HP Prime 'where' function - Joe Horn - 10-29-2013

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.