request "y
1
",ya
request "y2",yb
request "f(x
1
,y
1
)",zaa
request "f(x
1
,y2)",zab
request "f(x2,y
1
)",zba
request "f(x2,y2)",zbb
enddlog
expr(xa)
→
xa
expr(xb)
→
xb
expr(ya)
→
ya
expr(yb)
→
yb
expr(zaa)
→
zaa
expr(zab)
→
zab
expr(zba)
→
zba
expr(zbb)
→
zbb
if ok=0:return
string(x)
→
x
string(y)
→
y
dialog
title "bilinui"
request "x",x
request "y",y
enddlog
expr(x)
→
x
expr(y)
→
y
if ok=0:return
bilinint(xa,xb,ya,yb,zaa,zab,zba,zbb,x,y)
→
z
dialog
title "bilinui result"
text "z= "&string(z)
enddlog
if ok=0:return
goto l
1
EndPrgm
This program accepts the user input in dialog boxes, and displays the result in a dialog box. The
previous inputs are saved in global variables, so they can be used as defaults the next time you run the
program. These global variables are
xa, xb, ya, yb, zaa, zab, zba, zbb, x, y
You can press [ESC] at any dialog box to exit the program. Otherwise, the program continues to run,
so that you can do more than one interpolation at once.
Note that the input must be done in two dialog boxes, since there are ten input elements, and a single
dialog box can hold only eight. The program calls bilinint() to perform the actual interpolation. bilinui()
and bilinint() must be in the same folder, and that folder must be the current folder.
6 - 47
Содержание TI-92+
Страница 52: ...Component side of PCB GraphLink I O connector detail 1 41...
Страница 53: ...LCD connector detail PCB switch side 1 42...
Страница 54: ...Key pad sheet contact side Key pad sheet key side 1 43...
Страница 55: ...Key cap detail 1 44...
Страница 57: ...Component side of PCB with shield removed A detail view of the intergrated circuits 1 46...
Страница 59: ...Keypad rubber sheet key cap side Inside front cover showing keycaps in place Detail of a key cap 1 48...
Страница 410: ...void extensionroutine2 void Credit to Bhuvanesh Bhatt 10 4...