Texas Instruments TITANIUM TI-89 User Manual
Page 272
![background image](/manuals/213780/272/background.png)
Symbolic Manipulation
272
In some cases, you may be able to create an equivalent single-statement function. For
example, consider a piecewise function with two pieces.
•
If you were to create a multi-statement user-defined function with the form:
Note:
To select
nInt
from the Calc toolbar menu, press
…
B:nInt
.
When:
Use expression:
x < 0
x
|
0
L
x
5 cos(x)
Func
If x<0 Then
Return ëx
Else
Return 5cos(x)
EndIf
EndFunc
Then numerically integrate
y1(x)
with
respect to x.
Define
y1(x)=Func:If x<0
Then: ... :EndFunc