If you already know that, and have read much of the manual coming with your calculator and have made quite a few programs, read below. The following has information about fixing small errors and fine-tuning programs. Because I am sick of doing it to a lot of the programs I find on the Internet
Below you will find new tricks in writing programs, and information on how to fine-tune your programs. The main ways to tune up your program, is make to it faster and smaller. In computers, memory is cheap, and comes in large amounts, thus computer programmers are allowed to be pretty sloppy. As you know computers are extremely fast, and picking up speed everyday. Thus math problems involving simple calculations, are not a problem. With the calculator, it is a different story. As you have probably already noticed, the calculator can sometimes be slow, and cramped for memory. The single trick to solving both problems is to not have things in your calculator program that are unnecessary. My advice is to make sure you research lots of possible ways of doing the problem . . . or experiment.
Commas (,) are extremely helpful in programming your TI-82 Calculator. They do not do amazing tricks, or give you great graphics. Instead, they can reduce the memory size of your program, and make it quicker to make programs. Here are some examples:Instead of writing
You can write:Disp "I EAT GARBAGE","ALL THE TIME","EXCEPT MONDAYS"
Even another way is the following:
WAY TO DO THIS IS
G THE SPACES.")
The first letter each line, as it would show up on the home screen, is bolded.
Notice that spaces are insterted between each line, because the TI-82 will actually wrap the text to the next line (given you use spaces to the edge of the screen).
*Courteousy of Matthew Cortez
You can also use commas with these operations:
If you think that is cool, another trick is when you need to have a function stored in one of the Y=. Did you know you can actually prompt the user for a function or have the program store a function every time the program is executed? The trick to this trick are quotes ("). Going like this does not work::X-3->Y1; !WRONG!
You have to put quotes around your function.:"X-3"->Y1;
You can also prompt the user for a function by::Prompt Y1
Then in the program the user must put quotes around the function he would like to input.
This is handy, but the user would have to reenter his function every time if the program requires the user to, which could be a pain in the butt.
If you want to input into the first LIST and into the second variable use this:
This will store five in the second value down in L1. Say you wanted to store a value each time the program executed. To do this you would say you would store a value to a LIST then store it to the value of a variable that is changing each time a loop is done or as the program continues. For instance you could store random outputs of functions each time::
This was written by ©Aaron Hawley
If there are any errors, things I forgot or suggestions please Email Me