I have a program made on my voyage 200 that solves for average rate of change using integrals
Code:
I know this could be optimised, but i just need it to be easily read.
on the Ti85, you can use expressions like the "aroc" var in the voyage 200 program.
like this:
Code:
I want to use this functionality to port this to the Ti85 but have failed,
Here's my Ti85 code :
Code:
I keep on getting an undefined error. I do know that the 85 is non-cas but expressions shouldn't need defined variables, right?
Thanks for you's help ahead of time.
Cheers!
~izder456
Code:
rate()
Prgm
Local aroc,e,equ,v,var,a,b
InputStr "EQU:",e
expr(e)->equ
InputStr "VAR:",v
expr(v)->var
Input "A:",a
Input "B:",b
1/(b-a)*∫(equ,var,a,b)->aroc
Disp "AROC:"&string(aroc)
EndPrgm
I know this could be optimised, but i just need it to be easily read.
on the Ti85, you can use expressions like the "aroc" var in the voyage 200 program.
like this:
Code:
EXPR=f(x)
I want to use this functionality to port this to the Ti85 but have failed,
Here's my Ti85 code :
Code:
ClLCD
InpSt "EQU:",E
St>Eq(E,EQU
InpSt "VAR:",V
St>Eq(V,VAR
Input "A:",A
Input "B:",B
AROC=1/(B-A)*fnInt(EQU,VAR,A,B
Disp "AROC:",AROC
I keep on getting an undefined error. I do know that the 85 is non-cas but expressions shouldn't need defined variables, right?
Thanks for you's help ahead of time.
Cheers!
~izder456