- #1
C268
- 26
- 0
My Thermodynamics teacher gave me a code for various calculators to put into the calculator for Interpolation. I am just wondering how you put this code that is in MS WORD onto my TI-89. I have the TI-Connect software. Here is what is looks like:
This code is for the TI-89:
interpol()
Prgm
getMode("Exact/Approx")->oldmode
setMode("Exact/Approx","APPROXIMATE")
ClrIO
DelVar e
Disp "Where knowns are a,b,c,d,f"
Disp "This solves for e:"
Disp " a d"," b e"," c f"
Disp "Press ENTER to continue"
Pause
Prompt a,b,c,d,f
f-(c-b)*(d-f)/(a-c)->e
Disp "e is: ",e
setMode("Exact/Approx",oldmode)
EndPrgm
This code is for the TI-89:
interpol()
Prgm
getMode("Exact/Approx")->oldmode
setMode("Exact/Approx","APPROXIMATE")
ClrIO
DelVar e
Disp "Where knowns are a,b,c,d,f"
Disp "This solves for e:"
Disp " a d"," b e"," c f"
Disp "Press ENTER to continue"
Pause
Prompt a,b,c,d,f
f-(c-b)*(d-f)/(a-c)->e
Disp "e is: ",e
setMode("Exact/Approx",oldmode)
EndPrgm