LRAM and RRAM Program

Mscscr 30 May 2012 21:15

So I have this program…

:ClrHome

:Input "1st Endpoint:",A

:Input "2nd Endpoint:",B

:Input "Num of Rec:",H

:sum(seq(((B-A)/

N)Y1(A+K((B-A)/N

)),K,0,N-1))→C

:sum(seq(((B-A)/

N)Y1(A+K((B-A0/N

)),K,1,N))→D

:(C+D)/2→E

:Disp "LRAM",C,"RRAM,D,"AVERAGE",E

Y1 is one character

But whenever I input data into it it just keeps giving me back the same numbers for C,D, and E even if I change the data. I don't know whats wrong. All help is appreciated.