Post Reply 
Does Prime support multistatement.......
10-30-2015, 08:25 PM (This post was last modified: 10-30-2015 08:30 PM by Han.)
Post: #6
RE: Does Prime support multistatement.......
The Prime equivalent of ":" is the semicolon ";" (assuming default settings). You can place an entire program on the command line on the HP Prime using ; to separate commands if you were so inclined.

For example:

X:=0; Y:=0; ENTER (this initializes X and Y to 0)

X:=X+1; Y:=2*X+Y+1; ENTER

Now repeatedly press ENTER to continue iterating both X and Y. Another way to store values is to use the ▶ which uses a "reversed" syntax and is similar to the Casio syntax.


In your case:

x = (x^4 - 19x^3 + 145x^2 + 252)/378

So you can do:

2▶X ENTER (would be the same as X:=2 ENTER)

(X^4-19*X^3+145*X^2+252)/378▶X ENTER

(Now keep pressing ENTER to see more iterations)

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Does Prime support multistatement....... - Han - 10-30-2015 08:25 PM



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