HP (Hewlett-Packard) NW280AAABA Calculator User Manual


 
392 Functions and commands
fMax Given an expression in x, returns the value of x for which the
expression has its maximum value. Given an expression and
a variable, returns the value of that variable for which the
expression has its maximum value.
fMax(Expr,[Var])
Example:
fMax(-x^2+2*x+1,x) gives 1
fMin Given an expression in x, returns the value of x for which the
expression has its minimum value. Given an expression and a
variable, returns the value of that variable for which the
expression has its minimum value.
fMin(Expr,[Var])
Example:
fMin(x^2-2*x+1,x) gives 1
format Returns a real number as a string with the indicated format
(f=float, s=scientific, e=engineering).
format(Real, String)
Example:
format(9.3456,"s3") returns 9.35
fracmod For a given integer n (representing a fraction) and an integer
p (the modulus), returns the fraction a/b such that n=a/b(mod
p).
fracmod(Integern, Integerp)
Example:
fracmod(41,121) gives 2/3
froot Returns a vector containing the roots and poles of a rational
polynomial. Each root or pole is followed by its multiplicity.
froot(RatPoly)
Example:
froot returns [0,3,1,2,3,-1]
x
5
2 x
4
x
3
+
x 3
---------------------------------------


