HP Prime Graphing Wireless Calculator User Manual
Page 204
200
Functions and commands
potential
Returns a function whose gradient is the vector field defined
by a vector and a vector of variables.
potential(Vector1, Vector2)
Example:
potential([2*x*y+3,x^2-4*z,-4*y],[x,y,z])
returns x
2
*y+3*x-4*y*z
power_regression
Given a set of points defined by two lists, returns a vector
containing the coefficients m and b of y=b*x^m, the
monomial which best approximates the given points.
power_regression(List1, List2)
Example:
power_regression({1, 2, 3, 4}, {1, 4, 9, 16})
returns [2 1]
powerpc
Given a circle and a point, returns the real number d
2
–r
2
,
where d is the distance between the point and the center of
the circle, and r is the radius of the circle.
powerpc(Circle, Point)
Example:
powerpc(circle(0,1+i),3+i)
gives
8
prepend
Adds an element to the beginning of a list or vector.
prepend(List, Element) or
prepend(Vector, Element)
Example:
prepend([1,2],3)
gives
[3,1,2]
primpart
Returns a polynomial divided by the greatest common divisor
of its coefficients.
primpart(Poly,[Var])
Example:
primpart(2x^2+10x+6)
gives
x^2+5*x+3
product
With an expression as the first argument, returns the product
of solutions when the variable in the expression goes from a
minimum value to a maximum value by a given step. If no step
is provided, it is taken as 1.
With a list as the first argument, returns the product of the
values in the list.