Post Reply 
New to HP prime
03-09-2016, 02:23 AM
Post: #1
New to HP prime
Hello people,
I recently bought my HP-prime and I think it is a great calculator.
Before I ask a few questions I would like to mention that the keys are harder to press, compared to other keyboards and the orange colour for the letters makes it a little difficult to focus my eyes on. Maybe a dark red colour would be more appropriate.
Anyway, I have some questions
1) According to the latest manual, on page 514, "An attempt to store an element to a row or column beyond the size of the matrix results in resizing the matrix to allow the storage. Any intermediate cells will be filled with zeroes." but it only works on Home view, not in CAS mode. Why is that?
2) How to clear all the variables at once? I mean real, matrices from HOME tab and all the user variables?
3) In CAS settings, the number format setting doesn't seem to make any difference. Am I missing something? I also cannot find out what does the number next to it mean.
4) Is it possible to make multiple statements, like L1:=L2:=1 ?
Find all posts by this user
Quote this message in a reply
03-09-2016, 02:47 AM (This post was last modified: 03-09-2016 02:56 AM by Steve Simpkin.)
Post: #2
RE: New to HP prime
You are not alone in your remarks about the label colors.
http://www.hpmuseum.org/forum/thread-211.html

The first thing to keep in mind is that the Prime is really two different calculators in one housing. Home mode for more or less normal calculations and CAS mode for algebra. I am greatly oversimplifying this, of course, but it does help in understanding how it works.
Also remember not all functions work the same (or sometimes, at all) in both modes!
Visit this user's website Find all posts by this user
Quote this message in a reply
03-09-2016, 05:33 AM
Post: #3
RE: New to HP prime
Thanks for your answer.
I mostly use CAS. I want it for structural dynamics exams where a lot matrix calculations have to be carried out. For now I get the job done, but it takes a lot of effort for some not-so-advanced calculations, either because some functions are missing or because of the keyboard layout. I may end up programming a little a bit to do my life easier.
I think that TI Nspire CX CAS would be better suited for my needs, due to the separate character-numeric keyboards, but I was sold for the touch screen of the HP Prime.
I didn't have a chance to hold them in my hand. If I did I may have bought the TI Nspire, who knows ?
However I really like the context help menu.
There are also two things that would make it great, an undo key and an autocomplete feature for the name of the functions.
Find all posts by this user
Quote this message in a reply
03-09-2016, 05:53 AM
Post: #4
RE: New to HP prime
Hello,

Thanks for your comments.

As stated by Steve, the CAS and the Home view are different beasts.

HP did put on a lot of work to partially integrate them, but this is not 100% possible, and differences will stay.

The CAS is based on xcas, created by Dr Bernard Parrise which you can download and install on your PC. I believe that Most non-complex xcas programs will be compatible between the calculator and the PC version of the cas (assuming that you respect some rules) Bernard, can you chime in here? This is a cool thing as it means that you can create and develop a program on the PC and then move it on the calculator with minimum work.

Now, CAS and home do have different ways of doing things (for good reasons). For example, Home has a programming language that is somewhat consistent with languages like C or Pascal while the CAS language is more of a scripting language (for example, there is no locality of local variables).
Since most of the documentation on Prime relates to Home, this can sometimes be deceiving when doing anything non-trivial.

Anyway, with this in mind, I hope that you have a good time with your Prime and that you enjoy it.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
03-09-2016, 12:42 PM
Post: #5
RE: New to HP prime
Thank you *very* much, Steve and Cyrille, for your concise descriptions of the Prime and how it operates.

I've been watching the questions and answers go by since my arrival here last July, and (for me) this is the first time that I've seen this very nice short description of the Prime as really two different machines in one package, loosely linked.

This is by far the best way for me to think about it, and have an understanding of what is going on.

smp
Find all posts by this user
Quote this message in a reply
03-10-2016, 07:14 PM
Post: #6
RE: New to HP prime
Hello again friends.
It's really nice to see that there is an active community with friendly people helping each other. It may sound like a stereotype, but it's not the case in every forum.
I am back again with a question. When creating a new program, when should I check the CAS checkbox in the starting dialog? I am going to write a program using CAS variables and functions, if that helps.
A youtube tutorial that I watched, where CAS was not checked, although it works with expressions containing X variable.
https://youtu.be/A7PQ366FF-g?t=9m

The documentation is so outdated and not of much help. I read somewhere that an up-to-date version is coming, but who knows when...
Find all posts by this user
Quote this message in a reply
03-10-2016, 08:23 PM
Post: #7
RE: New to HP prime
You'll find a very good introduction to CAS programming in this article: HP Prime CAS programming.

More generally jebem is maintaining a great list of documentation materials about the HP Prime here.
Find all posts by this user
Quote this message in a reply
03-11-2016, 07:09 AM
Post: #8
RE: New to HP prime
Hello,

One aim to strife for is to minimize CAS/Home transitions...
So, it your program is mostly symbolic stuff, stay in CAS as much as you can.
If it is mostly numerical, stay in home as much as you can...

In your program, you can always use the #cas and #end to switch to cas mode (which is what checking the CAS checkbox does).

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 




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