beautypg.com

HP Prime Graphing Calculator User Manual

Page 380

background image

376

Functions and commands

append

Appends an element to a list, sequence or set.

append((Lst||Seq||Set,Elem)

Example:

append([1,2,3],4)

gives

[1,2,3,4]

apply

Returns the result of applying a function to the elements in a

list.

apply(Fnc,Lst)

Example:

apply(x->x^3,[1,2,3])

gives

[1,8,27]

approx

With one argument, returns the numerical evaluation of it.

With a second argument, returns the numerical evaluation of

the first argument with the number of significant figures taken

from the second argument.

approx(Expr,[Int])

areaat

Displays the algebraic area at point z0 of a circle or a

polygon. A legend is provided.

areaat(Polygon,Pnt||Cplx(z0))

areaatraw

Displays the algebraic area at point z0 of a circle or a

polygon.

areaatraw(Polygone,Pnt||Cplx(z0))

ASIN

Arc sine: sine

–1

x.

ASIN(value)

assume

Used in programming to state an assumption about a

variable.

assume(Expr)

ATAN

Arc tan: tan

–1

x.

ATAN(value)

barycenter

Draws the barycenter of the system consisting of point 1 with

weight coefficient 1, point 2 with weight coefficient 2, point 3

with weight coefficient 3, etc.

barycenter([Pnt1,Coeff1],[Pnt2,Coeff2],[Pnt3,
Coeff3])

Example:

barycenter([–3,1],[3,1],[4,2])

gives

point(2,0)