beautypg.com

HP Prime Graphing Calculator User Manual

Page 396

background image

392

Functions and commands

hyp2exp

Returns an expression with hyperbolic terms rewritten as

exponentials.

hyp2exp(ExprHyperb)

Example:

hyp2exp(cosh(x))

gives

(exp(x)+1/exp(x))/2

hyperbola

With three points (F1, F2, and M) as arguments, draws an

hyperbola with foci at F1 and F2 that passes though M. With

two points and a real (F1, F2, and a) as arguments, draws an

hyperbola with foci at F1 and F2 that passes through point M

such that |MF1–MF2|=2a. With one second degree

polynomial p(x,y) as argument, draws the hyperbola defined

when the polynomial is set to equal 0.

hyperbola(Focus(F1),Focus(F2),(Pnt(M) or
Real(a)))

Example:

hyperbola(GA,GB,GC)

draws the hyperbola whose foci

are points A and B and which passes through point C

iabcuv

Returns [u,v] such as au+bv=c for three integers a,b, and c.

Note that c must be a multiple of the greatest common divisor

of a and b for there to be a solution.

iabcuv(Intg(a),Intg(b),Intg(c))

Example:

iabcuv(21,28,7)

gives

[-1,1]

ibasis

Returns the basis of the intersection of two vector spaces.

ibasis(Lst(Vect,..,Vect),Lst(Vect,..,Vect))

Example:

ibasis([[1,0,0],[0,1,0]],[[1,1,1],[0,0,1]])

gives

[[-1,-1,0]]

icontent

Returns the greatest common divisor of the integer coefficients

of a polynomial.

icontent(Poly,[Var])

Example:

icontent(24x^3+6x^2-12x+18)

gives

6