solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
05-23-2018, 04:29 PM (This post was last modified: 06-17-2018 02:39 AM by compsystems.)
Post: #1
 compsystems Senior Member Posts: 1,382 Joined: Dec 2013
solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
It is known that the logic of the HP-PRIME HOME mode inherit from HP38/39/40 calcs of pre-assigning variables to objects,

A, B… Z for reals,
Z0, … Z9 for complex,
L0, L1… L9 for lists,
M0, M1… M9 for vectors or matrices etc.,

affect the logic of the programs in CAS, many students do not know why their source code fails to execute it.

The solution is to use Ａ ... Ｚ ０...９ characters and numbers UNICODE and non-ASCII A ... Z, 0, ..., 9

０: FF10
..
９: FF19
Ａ: FF21
Ｚ: FF3A

Ａ≠A
Ｌ０≠L0
Ｍ０≠M0

This involves break free the characters A..Z 0...9 ASCII and their combinations as for example L0, M0 to store any object

This is done by the Classpad calculator, in the following image you can see that the variable in italics is different from the normal variable

ＡＢ=Ａ*Ｂ ≠ AB ≠ A*B

the unicodefont of the hp-prime
ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ０１２３４５６７８９
ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ０１２３４５６７８９are similar to the ASCII
ABCDEFGHIJKLMNOPWQRSTUVWXYZ0123456789, please hpp_team modify as it appears in this forum, making the characters visualized for example in italics and/or bold

ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ

Good Idea? +1
07-21-2018, 04:17 AM
Post: #2
 math7 Member Posts: 183 Joined: Feb 2017
RE: solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
It would be very good, great idea, it is necessary to change the typeface and even better so in bold, it would be much easier and intuitive to work the HP PRime.
07-21-2018, 05:40 AM
Post: #3
 Carsen Member Posts: 206 Joined: Jan 2017
RE: solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
I don't like the idea. I like the Vars Menu and all of the preassigned variables. It's quite a convenient method to access data via typing them into the stack. I can type [Alpha] [ M ] 1 [ENTER] to recall a stored matrix for example. That's only 4 keystrokes.
07-21-2018, 07:39 AM (This post was last modified: 07-21-2018 08:09 AM by ijabbott.)
Post: #4
 ijabbott Senior Member Posts: 1,305 Joined: Jul 2015
RE: solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
Those characters are "Fullwidth Forms" and are really intended for typesetting Chinese/Japanese/Korean (CJK) texts as they are the same width as Chinese characters.

The Classpad does not use UNICODE. It has a more limited character set and uses a custom multibyte encoding (not UTF-8).

— Ian Abbott
07-24-2018, 05:27 PM (This post was last modified: 07-24-2018 05:39 PM by compsystems.)
Post: #5
 compsystems Senior Member Posts: 1,382 Joined: Dec 2013
RE: solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
(07-21-2018 05:40 AM)Carsen Wrote:  I don't like the idea. I like the Vars Menu and all of the preassigned variables. It's quite a convenient method to access data via typing them into the stack. I can type [Alpha] [ M ] 1 [ENTER] to recall a stored matrix for example. That's only 4 keystrokes.

With [SHIFT] + [4 / MATRIX] displays the list of variables reserved for arrays.

With the idea that I propose solves the problems of defining reserved variables using Latin characters

CAS:
V1(X,Y):=X-2*Y=7; V2(X,Y):=5*X-3*Y=2; returns (X,Y)->false,(X,Y)->false ?

with Ｖ≠ V, Ｘ≠Y, Ｙ≠Y
CAS:
Ｖ1(Ｘ,Y):=Ｘ-2*Ｙ=7; Ｖ2(Ｘ,Ｙ):=5*Ｘ-3*Ｙ=2; // ok
07-24-2018, 09:50 PM
Post: #6
 Carsen Member Posts: 206 Joined: Jan 2017
RE: solution to the problem of pre-assigned variables Z1:=3+4*i in HOME mode
(07-24-2018 05:27 PM)compsystems Wrote:  With [SHIFT] + [4 / MATRIX] displays the list of variables reserved for arrays.

Correct, however recalling a matrix into the stack cannot be done with [Shift] 4 (as far as I know). Pressing [Alpha] M 1 [ENTER] in Home while in RPN mode recalls the matrix onto the stack, ready for a calculation. Typing [Alpha] M 1 in Home while in Textbook or Algebraic mode is all it takes to use a matrix in a calculation. This is what makes the preassigned variables so convenient in my eyes.

(07-24-2018 05:27 PM)compsystems Wrote:  CAS:
V1(X,Y):=X-2*Y=7; V2(X,Y):=5*X-3*Y=2; returns (X,Y)->false,(X,Y)->false ?

with Ｖ≠ V, Ｘ≠Y, Ｙ≠Y
CAS:
Ｖ1(Ｘ,Y):=Ｘ-2*Ｙ=7; Ｖ2(Ｘ,Ｙ):=5*Ｘ-3*Ｙ=2; // ok

I have a question. Why enter these equations into V1, V2, etc... on the Home and CAS view?
 « Next Oldest | Next Newest »

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