hp prime - command syntax



Post: #7

i'm interested in the "slope" command. After pressing the help-key the calculator show the following syntax:

slope(Line| |Pnt| |Cplx,[Pnt| |Cplx])

How can i read the symbols | [ ? What means that? How can i use the command? The example in the Help-menu is not very instructive for me.


Post: #8

The square brackets [] just mean that entry is optional. The Where symbol | is available in the Catlg list in the Toolbox.


Post: #9

Quote:
The square brackets [] just mean that entry is optional. The Where symbol | is available in the Catlg list in the Toolbox.

"||" in a syntax is not the Where function (nor absolute value); it means "OR". Example:

row(Mtrx(A),Intg(n)||Interval(n1..n2))

means there are two options:

(1) row(Matrix, Integer)

(2) row(Matrix, Interval)


Post: #10

Thanks for the correction.


Post: #11

O.k. but now i have the next problem: When i imput "slope(line(y=2*x-3))" the calculator shows an error message. why?


Post: #12

Have you tried it in CAS mode? it works for me.

Tom L


Post: #13

o.k. thank you. it works also for me in cas. But for heaven's sake (or what the hell) do i know if i can use an app function only in home-view or only in cas-view or in both views?


Forum Jump: