HP Forums
Public Beta Availiable (v3) - Win/Mac/Firmware - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Public Beta Availiable (v3) - Win/Mac/Firmware (/thread-9678.html)

Pages: 1 2 3


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - salvomic - 12-16-2017 07:57 PM

(12-16-2017 07:23 PM)Nigel (UK) Wrote:  ...
This is what I do.
  • Go into CAS mode.
  • Type an expression involving x - for example, x^2+4 - and press ENTER.
  • Then press Ans (by pressing Shift+); [Template key]; ["with" operator]; x; =; 2; ENTER; (semicolon separates key presses).
  • I'm left with x^2+4.

Nigel (UK)

(12-16-2017 07:54 PM)DrD Wrote:  I tried it your way, step by step, and worked just fine on hw and emu ...

-Dale-

Dale, I get also the values that Nigel gets, doing as he did. I get 8 only with Ans(2)
Could they be different settings?

Salvo


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Nigel (UK) - 12-16-2017 08:24 PM

(12-16-2017 07:54 PM)DrD Wrote:  I tried it your way, step by step, and worked just fine on hw and emu ...

-Dale-

By the time you get to your second line, Ans is "8", not "x^2+4". Try entering just "x^2+4" as your first line, without the "with" operator; then enter your second line. Do you still get "8"?

Nigel (UK)


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - salvomic - 12-16-2017 08:26 PM

(12-16-2017 08:24 PM)Nigel (UK) Wrote:  By the time you get to your second line, Ans is "8", not "x^2+4". Try entering just "x^2+4" as your first line, without the "with" operator; then enter your second line. Do you still get "8"?

Nigel (UK)

yes, it's strange, but the second time I get 8 also with "with operator"...


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Arno K - 12-16-2017 08:45 PM

(12-16-2017 02:52 PM)DrD Wrote:  Did you try using Ans, instead of ANS? Then capitalization is important.

-Dale-

I think it looks like working, but your last, produced by x^2+4|x=2, Ans was 8, so Ans|x=2 has no chance to give a wrong answer.
Arno


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-16-2017 11:06 PM

Help
Code:
Syntax:
Ans

In Home view, Ans returns the result of the last calculation made in Home view to its full 
precision. The variable Ans is different from the numbers in Home's history. A value in Ans is 
stored internally with the full precision of the calculated result, whereas the displayed 
numbers match the display mode. Ans(n) returns the nth entry in the Home view history.

In CAS view, Ans returns the last result in the CAS history and Ans(n) does not recall the nth 
item in history. Here, Ans(n) will attempt to substitute n for x (or the default variable) in the last 
item in history and return the result. In CAS view, if Ans is a matrix, Ans(m,n)returns the 
element in row m and column n.

Home
[Image: 38215169155_fa0033b73b_o.png]

CAS
[Image: 38215169295_cd3dde72f0_o.png]

If you want to replace an equation in Ans, replace it directly.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-16-2017 11:47 PM

.
Home "|"

X:=20, Y:=10
X+Y+5|X=30 → (30)+Y+5 → (10)+35 → 45
X+Y+5|Y=8 → X+(8)+5 → (20)+13 → 33

FX:='X+Y+5'
FX|X=30 → FX → 'X+Y+5'
FX|Y=8 → FX → 'X+Y+5'

X+FX|X=30 → (30)+FX → 30+'X+Y+5' → '30+X+Y+5'
Y+FX|Y=8 → (8)+FX → 8+'X+Y+5' → '8+X+Y+5'

Ans='X+Y+5'
Ans|X=30 → Ans → 'X+Y+5'
Ans|Y=8 → Ans → 'X+Y+5'
...

.
CAS "|"

x+y|x=5 → (5)+y → y+5
x+y|y=3 → x+(3) → x+3

r:=10
s:=20
Ans:=x^2+4
x+r|r=8 → x+(8) → x+8
x+r|x=5 → (5)+r → 5+(10) → 15
x+r+s+Ans|x=5 → (5)+r+s+Ans → 5+(10)+(20)+(x^2+4) → x^2+39
Ans(2)|x=10 → Ans(2) → (2)^2+4 → 8

fx:=x+y+5
fx|x=10 → x+y+5|x=10 → (10)+y+5 → y+15
fx|y=20 → x+y+5|y=20 → x+(20)+5 → x+25
fx|r=10 → x+y+5|r=10 → x+y+5

gx:=x+7
fx+x|x=10 → fx+(10) → (x+y+5)+10 → x+y+15
fx+gx|x=10 → fx+gx → (x+y+5)+(x+7) → 2*x+y+12


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Anders - 12-17-2017 01:39 AM

(12-15-2017 05:47 PM)Carlos295pz Wrote:  
(12-15-2017 04:19 PM)Anders Wrote:  Any chance we will get an updated "user guide" .pdf with the final version?

When they publish it, it will be possible for you to download it: http://ftp.ftp.hp.com/pub/calculators/Prime/Documentation/Calculator/

Yes I am aware about the ftp site for years.
The point is that I'd like to get an answer from Tim / HP what the plan is.
.pdf documentation has been an ongoing question for a while now...
For example: stuff like the z transform functions have been undocumented in the user guide .pdf since day 1... the list of undocumented "stuff" goes on and on and gets extended with every new function added with every new release.... And yes I know they (invztrans, ztrans etc) are "semi"-documented in the calculator help file but that is not what I am talking about.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Nigel (UK) - 12-17-2017 09:44 PM

(12-16-2017 11:47 PM)Carlos295pz Wrote:  CAS "|"


fx:=x+y+5

fx|x=10 → x+y+5|x=10 → (10)+y+5 → y+15

fx+x|x=10 → fx+(10) → (x+y+5)+10 → x+y+15

(I’ve deleted lots of this to pull out one essential point)

Thanks for all of this. The above shows that | doesn’t expand things consistently. It expands fx when it is the only term, but it doesn’t expand it when x is added to it. (x + fx expands to x + y + 15 as well, so it isn’t that | only acts on the rightmost argument.)

subst() seems to work as expected and it doesn’t have the Ans problem either.

Are | and subst() supposed to be equivalent?

Nigel (UK)


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-17-2017 10:05 PM

(12-17-2017 09:44 PM)Nigel (UK) Wrote:  Are | and subst() supposed to be equivalent?

I'm not sure, but I understand that | tries to send the expression not evaluated before trying to evaluate it, as in the case of Home, so I could say that it has that difference


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-19-2017 07:22 PM

Vars returns value instead of the variable name.
It had happened to me with a procedure that I can not cause again, but I have achieved it in a way that I am sure I did not do before.

Removing the value insertion in Units causes insertion by value in Vars, to cancel this change you can re-enter Units, or also enter once to the toolbox (which is where I believe I caused the same behavior before).
[Image: giphy.gif]

Is there any way for Vars to do this without being generated by a bug? I'm not sure if in previous versions this also happened.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Tim Wessman - 12-20-2017 01:47 AM

(12-19-2017 07:22 PM)Carlos295pz Wrote:  Vars returns value instead of the variable name.
It had happened to me with a procedure that I can not cause again, but I have achieved it in a way that I am sure I did not do before.

I beleive you've found a remaining case that needs disabling.

Previously, you had a toggle for "VAL" in the vars menu. That has been replaced by the "Catalog" key as returning the value of a variable really was an extreemly limited use case that doesn't really provide much value. We removed it to bring in the much more helpful Catalog key, but one of the cases is still checking and returning the value obviously still. I will remove that bug. Thank you!


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-20-2017 09:09 PM

Ctrl+C and Ctrl+V do not work


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Tim Wessman - 12-20-2017 10:42 PM

(12-20-2017 09:09 PM)Carlos295pz Wrote:  Ctrl+C and Ctrl+V do not work

In what way? They are tied with the system COPY/PASTE, not the calculator copy/paste menu. Can you explain more?


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-20-2017 10:56 PM

(12-20-2017 10:42 PM)Tim Wessman Wrote:  In what way? They are tied with the system COPY/PASTE, not the calculator copy/paste menu. Can you explain more?

It only fails with the key combinations, the copy/paste menus do work
I just noticed that it only happens when the title bar is hidden.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-20-2017 10:58 PM

I have another question, how do I eliminate a Poll sent to the calculator? So far I can not get it out of the Menu view.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Carlos295pz - 12-21-2017 01:56 PM

Some time ago, when the team goes into suspension, the work session in the Connectivity kit is lost, can this be corrected?
Windows 10


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - Tim Wessman - 12-22-2017 12:21 AM

(12-20-2017 10:58 PM)Carlos295pz Wrote:  I have another question, how do I eliminate a Poll sent to the calculator? So far I can not get it out of the Menu view.

Rebooting will get it out of there. They are very tiny on the calculator so it shouldn't use much memory for you.


RE: Public Beta Availiable (v3) - Win/Mac/Firmware - lschroeder1947 - 12-22-2017 11:22 AM

(12-20-2017 10:56 PM)Carlos295pz Wrote:  
(12-20-2017 10:42 PM)Tim Wessman Wrote:  In what way? They are tied with the system COPY/PASTE, not the calculator copy/paste menu. Can you explain more?

It only fails with the key combinations, the copy/paste menus do work
I just noticed that it only happens when the title bar is hidden.

Another thing I noticed when Android title bar is hidden, pressing Enter on a Bluetooth keyboard or Chromebook keyboard executes the command line (good). When Android title bar is shown (default mode), Enter from keyboard displays the application menu instead of executing the command line (annoying). On a Windows 10 machine the Window's Store Pro or Free app, Enter from the keyboard seems to always work until I use icon to make full screen. Then how Enter on keyboard works depends on whether it is show or hide title. Although sometimes it seems to always execute the command line even when in full screen mode.