HP Forums
Where to create variables: Home or CAS view? - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Where to create variables: Home or CAS view? (/thread-592.html)



Where to create variables: Home or CAS view? - Dominik Holenstein - 02-01-2014 10:06 PM

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


RE: Where to create variables: Home or CAS view? - CR Haeger - 02-08-2014 12:26 AM

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