Post Reply 
Where to create variables: Home or CAS view?
02-01-2014, 10:06 PM (This post was last modified: 02-02-2014 08:46 AM by Dominik Holenstein.)
Post: #1
Where to create variables: Home or CAS view?
I would like to explore and better understand the variable system of the HP Prime and taking further the discussion started in the thread nSolve .

There, I describe how I create a user defined variable in the Home view:
Quote:1) Delete all variables x (either CAS Vars or User Variables)
2) Switch to Home view
3) Set the entry format to Algebraic
3) 8 [Sto>] x
4) Switch to CAS view
5) x [Enter]
6) 8.
7) Still in CAS view:
8) 10 [Sto>] x
9) x [Enter]
10) 10.
11) Switch to Home View
12) x [Enter]
13) 10

So I can change x either in CAS or in the Home view an it seems there is only one x variable in the System.

Check:
[Shift] [Suitcase] -> User Variables -> there is a user variable x with the value 10 and no variable x under CAS Vars.

If I perform these steps the other way round by creating the x variable in the CAS view first then I can find the x variable under CAS Vars.

My question: What is the better approach or best practice for creating variables?
  • Using CAS variables only?
  • Using the Home variables only?
  • Or using a mix of both?
  • What are use cases for User Variables and CAS variables?

My experience so far is to use the integrated user variables and create all my own variables in the CAS view.

I am open for any inputs and clarifications. Many thanks.

Dominik
Find all posts by this user
Quote this message in a reply
02-08-2014, 12:26 AM
Post: #2
RE: Where to create variables: Home or CAS view?
Hi Dominik,

I still have confusion on the best way/places to create variables:
- Vars > Cas or User
- Vars > Home
- Toolbox > User

I tend NOT to save anything into X or x as these are used often as independent variables.

Here is a thread I started as I was hoping to use formulas and/or expressions for multiple uses on the Prime:http://www.hpmuseum.org/forum/thread-417.html
Find all posts by this user
Quote this message in a reply
Post Reply 




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