Monday, January 29, 2007

For Those of Us in a Mathematical Science Class

Chances are that if you were/are in an AP science class at payton that you have used a lot of different constants to solve equations. Therefore I find it handy to store these constants as different variables on my TI-89, and recall them for later use simply by pressing "x" or "y." Now let's say that you're in some crazy Payton math class where you have to use fancy calculators, where you may overwrite the variables you stored. So, let's create a program to restore these variables to what they originally were.


To create a program you have to go under the "Apps" menu and choose "Program Editor." From here choose "New," and you'll be prompted with the familiar dialogue box where you must give the program a name. Let's call our progam "set."









Now when you press enter, you should be presented with a screen that looks like the one below.








set() refers to the name of the program, and it is what you put between Prgm and EndPrgm. You can pretty much enter any normal function like you can on the home screen, so to store variables we just use the "STO" key. Let's set avagadros's number to variable "a," which we all know to be 6.022e23. So in between Prgm and EndPrgm, you would enter "a->6.022e23." If you wanted to set more variables just place them somewhere between Prgm and EndPrgm. To make a new line, press enter.








Since everything on the TI-89 is nice and saves for you, let's quit back to the Home screen. To run the program all you have to do is type "set()," and it will set the variable "a" to avagadro's number. Remember that you have basically an umlimited number of variables of things you can set, because you can use xy, xz, ab, etc.

0 Comments:

Post a Comment

<< Home