HP Prime or HP 50g
|
04-07-2018, 02:55 AM
(This post was last modified: 04-07-2018 02:37 PM by Michael de Estrada.)
Post: #91
|
|||
|
|||
RE: HP Prime or HP 50g
I think the Prime has the advantage in programming clarity with CAS PPL instead of RPL on the 50g in situations where you are generating symbolic structures like matrix elements. For example, below are portions of programs in RPL and PPL on my 50g and Prime:
RPL “row1” << IF K1 0 >= THEN L3 NEG PUTI K1 PUTI L3 PUTI K1 PUTI ELSE 0 PUTI 1 PUTI 0 PUTI 1 PUTI END >> PPL IF A >= 0 THEN CAS(“row1:=[x^3,-A,-x^3,-A]”); ELSE CAS(“row1:=[0,-1,0,-1]”); END; It is immediately apparent what is going on in the PPL code, whereas the RPL code is a bit obtuse. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 31 Guest(s)