Texas Instruments TI-89 用户手册
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
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.
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
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
y1(x)=Func:If x<0
Then: ... :EndFunc