HP Prime Graphing Calculator User Manual

Page 419

Advertising
background image

Functions and commands

415

revlist

Returns a list with the elements in reverse order.

revlist(Lst)

Example:

revlist([1,2,3])

gives

[3,2,1]

rhombus

With two points (A and B) and an angle (a) as arguments,

draws the rhombus ABCD such that the angle AB-AD=a. With

three points as arguments (A, B and P), draws the rhombus

ABCD in the plane ABP such that angle AB-AD=angle AB-AP.

rhombus(Pnt(A)||Cplx,Pnt(B)||Cplx,Angle(a)||P
nt(P)||Lst(P,a)),[Var(C)],[Var(D)])

Example:

rhombus(GA,GB,angle(GC,GD,GE))

draws a rhombus

on segment AB such that the angle at vertex A has the

same measure as angle DCE

right_triangle

With two points (A and B) and a real (k) as arguments, draws

right-angled triangle such ABC such that AC=k*AB. With

three points (A, B and P) as arguments, draws the right-angled

triangle ABC in the plane ABP and such that AC=AP.

right_triangle((Pnt(A) or Cplx),(Pnt(B) or
Cplx),(Real(k) or Pnt(P) or
Lst(P,k)),[Var(C)])

romberg

Uses Romberg’s method to return the approximate value of the

integral of the expression over the interval a to b.

romberg(Expr(f(x)),Var(x),Real(a),Real(b))

Example:

romberg(exp(x^2),x,0,1)

gives

1.46265174591

rotation

With a point (B), an angle (a1) and another point (A) as

arguments, returns the result of rotating the second point by

the angle about the center of rotation given by the first point.

With a line (Dr3), an angle (a1) and a curve as arguments,

returns the result of rotating the curve by the angle about the

axis of rotation given by the line.

rotation((Pnt(B) or Cplx or
Dr3),Angle(a1),(Pnt(A) or Curve))

Example:

rotation(GA,angle(GB,GC,GD),GK)

rotates the

geometric object labeled K, about point A, through an

angle equal to angle CBD.

Advertising