hp prime - command syntax



#8

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.


#9

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


#10

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)


#11

Thanks for the correction.


#12

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?


#13

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

Tom L


#14

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?


Possibly Related Threads…
Thread Author Replies Views Last Post
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 2,248 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime - most favorite command bluesun08 2 1,534 11-12-2013, 11:29 AM
Last Post: bluesun08
  HP PRIME: command to read the SERIAL ? Joseph Ec 9 5,935 11-01-2013, 12:43 AM
Last Post: Joe Horn
  Connectivty Kit for HP Prime needs an "Import Program" Command Eddie W. Shore 3 1,991 10-23-2013, 03:37 PM
Last Post: Eddie W. Shore
  HP Prime MOUSE command SanS 3 1,771 10-15-2013, 12:15 PM
Last Post: Han
  [HP-Prime] randPoly command CompSystems 0 1,061 09-26-2013, 08:49 AM
Last Post: CompSystems
  [HP-Prime xCAS] BUG: string command =( CompSystems 6 2,254 09-10-2013, 06:38 PM
Last Post: CompSystems
  [HP_Prime] definition of functions, APPLY command and BUGs CompSystems 1 1,368 09-05-2013, 03:59 PM
Last Post: CompSystems
  [HP-Prime] Request: New command for CAS (EvalStep) CompSystems 4 1,834 09-04-2013, 09:33 AM
Last Post: Eddie W. Shore
  Input syntax on the Prime Gilles Carpentier 6 2,285 08-23-2013, 04:31 AM
Last Post: Gilles Carpentier

Forum Jump: