Appendix A: Functions and Instructions
895
zeros()
MATH/Algebra menu
zeros(
expression
,
var
)
⇒
⇒
⇒
⇒
list
Returns a list of candidate real values of
var
that
make
expression
=0.
zeros()
does this by
computing
exp
8
8
8
8
list(solve(
expression
=0,
var
)
,var
)
.
zeros(a
ù
x^2+b
ù
x+c,x)
¸
{
ë
( b
ñ
-
4
ø
a
ø
c
-
+b)
2
ø
a
b
ñ
-
4
ø
a
ø
c
-
b
2
ø
a
}
a
ù
x^2+b
ù
x+c|x=ans(1)[2]
¸
0
For some purposes, the result form for
zeros()
is
more convenient than that of
solve()
. However,
the result form of
zeros()
cannot express implicit
solutions, solutions that require inequalities, or
solutions that do not involve
var
.
Note:
See also
cSolve()
,
cZeros()
, and
solve()
.
exact(zeros(a
ù
(
e
^(x)+x)
(sign (x)
ì
1),x))
¸
{}
exact(solve(a
ù
(
e
^(x)+x)
(sign (x)
ì
1)=0,x))
¸
e
x
+
x
=
0 or x>0 or a
=
0
zeros({
expression1
,
expression2
}, {
varOrGuess1
,
varOrGuess2 [
,
… ]
})
⇒
⇒
⇒
⇒
matrix
Returns candidate real zeros of the simultaneous
algebraic
expressions
, where each
varOrGuess
specifies an unknown whose value you seek.
Optionally, you can specify an initial guess for a
variable. Each
varOrGuess
must have the form:
variable
– or –
variable
=
real
or
non
-
real
number
For example,
x
is valid and so is
x=3
.
If all of the expressions are polynomials and if
you do NOT specify any initial guesses,
zeros()
uses the lexical Gröbner/Buchberger elimination
method to attempt to determine
all
real zeros.
For example, suppose you have a circle of radius r
at the origin and another circle of radius r
centered where the first circle crosses the positive
x-axis. Use
zeros()
to find the intersections.
As illustrated by r in the example to the right,
simultaneous
polynomial
expressions can have
extra variables that have no values, but represent
given numeric values that could be substituted
later.
Each row of the resulting matrix represents an
alternate zero, with the components ordered the
same as the
varOrGuess
list. To extract a row,
index the matrix by [
row
].
zeros({x^2+y^2
ì
r^2,
(x
ì
r)^2+y^2
ì
r^2},{x,y})
¸
r
2
3
ø
r
2
r
2
ë
3
ø
r
2
Extract row 2:
ans(1)[2]
¸
r
2
ë
3
ø
r
2
Summary of Contents for Voyage 200
Page 36: ...Getting Started 36 D B D B Press Result ...
Page 45: ...Getting Started 45 3 0 D B D D B D Press Result ...
Page 46: ...Getting Started 46 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 60: ...Getting Started 60 B D Press Result ...
Page 139: ...Previews 139 8 Complete the operation Press 2 d Steps and keystrokes Display 5 f 2 ...
Page 453: ...Differential Equation Graphing 453 ...
Page 468: ...Tables 468 ...
Page 777: ...Activities 777 ...