Help with my TI-82

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator:Moderators

Post Reply
northpad
Posts:2
Joined:Wed Aug 18, 2010 2:34 pm
Help with my TI-82

Post by northpad » Wed Aug 18, 2010 2:50 pm

So I wrote a small program on my TI-82 for work. It works great but I want to improve it. I want to have a running total for an input that is
stored in the program. I can write out the code if need be, but I'm stoned and don't want to... HAHA
Thanks

User avatar
timmeh87
Senior Member
Posts:3047
Joined:Mon Nov 14, 2005 10:19 pm
Location:Ontario, Canada

Re: Help with my TI-82

Post by timmeh87 » Thu Aug 19, 2010 12:14 pm

Welcome to the forums... I think you are going to have to clarify your question a little... You want to store a variable into the calculators memory?
Image

"Linux is only free if your time is worthless"

northpad
Posts:2
Joined:Wed Aug 18, 2010 2:34 pm

Re: Help with my TI-82

Post by northpad » Thu Aug 19, 2010 10:20 pm

Ok I'll write out the code

Clrhome
Disp "Total Crates"
Input M
Disp " Total Footage"
Input L
Disp "Target Weight"
Input T
Disp "Board weight"
Input B
Lbl A
Disp "Crate Weight"
Input A
A-B->N
T*L->P
N/P->O
O*100-100->W
M*B->Z
L*M->Y
If A=0
GoTo B
ClrHome
Disp "Net Weight"
Disp N
Fix1
Disp "Over Weight"
Disp W
GoTo A
Lbl B
ClrHome
Float
Disp "Daily Footage"
Disp Y
Disp "Total Board Weight"
Disp Z
Float

So when:
Total Crates = 7----Input M
Total footage = 1400 ---Input L
Target Weight = .71 ---Input T
Board Weight = 35 --- Input B
Crate Weight = 1074 --- Input A


The output looks like this:
Net Weight = 1036
Over Wight = 4.2
Crate Weight???

The program is still not done. Sense M=7, I have 6 more "Crate Weights" to input. Lets say those are:
1069
1068
1074
1072
1073
1065

When you have entered all the "Crate Weight" enter = 0. This will then display:
Daily Footage = 9800
Total Board Weight = 245


What I want the program to do is add all the M inputs, then minus the "total Board Weight" and display it with the "daily footage" and "Total board weight" page. So with the above number it would Look like this:


Daily Footage = 9800
Total Board Weight = 245
Gross Weight = 7495
Net weight = 7250


Well that is what I am trying to accomplish. Hope you understand what I am talking about.

Thanks

Post Reply