HP Prime Graphing NW280AAABA manual Expr Parses the string String into a number or expression

Models: Prime Graphing NW280AAABA

1 616
Download 616 pages 24.49 Kb
Page 397
Image 397

exponential_ Given a set of points, returns a vector containing the regression coefficients a and b of y=b*a^x, the exponential which best

fits the set of points. The points may be the elements in two lists or the rows of a matrix.

exponential_regression(Matrix) or exponential_regression(List1, List2)

Example:

1.0 2.0

exponential_regression returns 0.0 1.0

4.0 7.0

1.60092225473,1.10008339351

EXPR Parses the string String into a number or expression.

expr (String)

Examples:

expr("2+3") returns 5

expr("X+10") returns 100, if the variable X has the value 90

ezgcd Uses the EZ GCD algorithm to return the greatest common divisor of two polynomials with at least two variables.

ezgcd(Poly1,Poly2)

Example:

ezgcd(x^2-2*xy+y^2-1,x-y) returns 1

f2nd Returns a vector consisting of the numerator and denominator of an irreducible form of a rational fraction.

f2nd(RatFrac)

Example:

f2nd

 

x

 

returns

 

1 x

 

 

 

 

 

 

 

--------------

 

 

 

 

 

 

x

 

x

 

 

 

 

 

 

 

 

 

 

factorial Returns the factorial of an integer or the solution to the gamma function for a non-integer.

factorial(Integer) or factorial(Real)

Example:

factorial(4) gives 24

Functions and commands

391

Page 397
Image 397
HP Prime Graphing NW280AAABA manual Expr Parses the string String into a number or expression