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 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Does Prime support multistatement....... - toshk - 10-29-2015, 10:21 PM
RE: Does Prime support multistatement....... - cyrille de brébisson - 10-30-2015, 06:26 AM
RE: Does Prime support multistatement....... - Didier Lachieze - 10-30-2015, 04:11 PM
RE: Does Prime support multistatement....... - Han - 10-30-2015, 05:03 PM
RE: Does Prime support multistatement....... - toshk - 10-30-2015, 07:45 PM
RE: Does Prime support multistatement....... - Han - 10-30-2015 08:25 PM
RE: Does Prime support multistatement....... - toshk - 10-30-2015, 11:31 PM
RE: Does Prime support multistatement....... - retoa - 11-01-2015, 10:03 PM
|
User(s) browsing this thread: 1 Guest(s)