866
Appendix A: Functions and Instructions
Use an
undef
falseResult
to define an expression
that graphs only on an interval.
ClrGraph
¸
Graph when(x
‚
ë
p
and
x<0,x+3,undef)
¸
Omit only the
unknownResult
to define a two-piece
expression.
Graph when(x<0,x+3,5
ì
x^2)
¸
Nest
when()
to define expressions that have more
than two pieces.
@
"
H
¥
"
ClrGraph
¸
Done
Graph when(x<0,when(x<
ë
p
,
4
ù
sin(x),2x+3),5
ì
x^2)
¸
when()
is helpful for defining recursive functions.
when(n>0,n
ù
factoral(n
ì
1),1)
!
factoral(n)
¸
Done
factoral(3)
¸
6
3
!
¸
6
While
CATALOG
While
condition
block
EndWhile
Executes the statements in
block
as long as
condition
is true.
block
can be either a single statement or a sequence
of statements separated with the “:” character.
Program segment:
©
:1
!
i
:0
!
temp
:While i<=20
: temp+1/i
!
temp
: i+1
!
i
:EndWhile
:Disp "sum of reciprocals up to
20",temp
©
“With”
See
|
, page 885.
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...