TI- 8. 3 Plus BASIC Programming Tutorial: A Beginners' Guide. TI- 8. 3 PLUS BASIC PROGRAMMING TUTORIAL: A BEGINNERS' GUIDEv. I suggest you get the following applications for your. PC before you start programming. TI Graph Link 8. 3+, 8. Viewer, TI Connect, and an Emulator. You must also get the black serial cable or a TI Connect cable. TI and computer. You are free to tinker with them as. You may put them on the internet or sell them as long as. You change them somehow. You give Boris Cherny credit. I'd also like to thank a few people, who really helped me out with this tutorial. The TI-84 Plus, and the TI-83 Plus as well, have several applications that are preloaded at purchase. You can also add software for other applications just like you add software to your computer. The TI-84 Plus Silver Edition comes pre-loaded with more than 20. How to use the Algebra Solver on the TI-84 Plus - Duration: 11:42. Andrew Borne 110,600 views 11:42 Factoring, How to Make a Calculator Program - Duration: 10:55. Statistical Analysis in a Program. 12-30 Statistical Plotting. 12-31 Statistical Plotting in a Program. 12-37 Getting Started: Mean Height of a Population. 13-2 Inferential Stat Editors. How can I solve simultaneous equations on a TI-83 family or TI-84 Plus family graphing calculator? For the TI-83, please check our program archive for this program. Product TI-83 TI-83 PLUS TI-83 PLUS SILVER TI-83 PLUS VSC TI-83 VSC TI-83+ SILVER. Intro: How to Create Programs on a Graphing Calculator (Specifically Intended for TI-83 or TI-84 Plus Users) Ever wish that you could have a program on your calculator to. Step 1: Familiarize Yourself With Specific Keys I have outlined several keys that you will be. Programming the TI-83 Plus/TI-84 Plus is an example-filled, hands-on tutorial that introduces students. Getting to know the program editor and homescreen 2.2. Output: displaying text 2.3. Input from users: the Prompt and Input commands 2.4 2.5. How to solve quadratic equations on the TI-83 or TI-84 using a program. Start with the discriminant B. To save typing later, you will compute it and store it in a new variable, D. For Beginners, I suggest reading this tutorial from the very beginning. Right now I will be covering the most basic of these methods, DISP. This command displays a phrase on the next available line (the line closest to the top of the screen with no text on it). This command is accessed through PRGM> I/O> 3. Remember to always start and end with quotes. Here is an example. Disp . The TI- 8. Plus screen is 8 characters tall by 1. While the DISP function is an important command, you will find yourself using OUTPUT much more often. Unlike DISP, output prompts you for a certain location, or coordinate, to output your text, plus it has automatic text wrapping. This command is accessed through PRGM> I/O> 6. Start and end with quotes. Here is an example. Output(3,2,! It is also perfectly fine to negate the closing quote and parenthesis. Output(3,2. It is usually initially used at the beginning of the program to clear the . Access it through PGRM> I/O> 8. I suggest you make it the first command at the beginning of most frames. Here is an example. Disp . This command leads to sloppy coding, so only use it when you have to; you WILL have to. The GOTO command is used to go to a pre- designated frame. They are accessed by going to PRGM> 9 and PRGM> 0. Here is an example. Output(4,2. Then the calculator is told to go back to frame 'A', clear the screen (CLRHOME), and output the same message again. This is all done at such a high speed that it just flickers 'HELLO WORLD'. This is quite useless, so we need some kind of command to stop this continuous loop, so it will actually be useful.. Well, the answer is simply to put something there to say that the loop has got to stop. The END command is used for ending loops or signifying that this is the end of the frame. END is used in such loops as FOR, WHILE, GETKEY, INPUT, and many others. The PAUSE command is used as a kind of dam, to wait for the user to press ENTER before continuing on to the next frame or step and the dam exploding and killing all the little villagers. They are accessed through PRGM> 7 and 8. Here is an example. Output(4,2. So how do you make one? The TI is already programmed with a neat little command called MENU. It is accessed through PRGM> C. Here is an example. Menu(. The first word in a menu is the title, and then the items, and what frame to go to if they are selected. They are both commands to ask the user for some kind of input, be it number, letter, or essay. INPUT needs more attention, and cannot just ask for a number and end; but PROMPT can simply collect a variable and end its loop. INPUT can collect STRINGS, but prompt cannot. Later I will teach you how to compare the answer to a pre- set variable. This will lead into VARIABLES, because they must be used here. The commands are accessed through PRGM> I/O> 1 or 2. Here are some examples and possible situations. The STOP command overrides and stops any active processes. For example, in the previous example, we used STOP to end the process of asking for a variable and then outputting it. STOP is also commonly used to end FOR loops (explained later). STOP is accessed through PRGM> F. Since programming is a mix of math and logic, variables are used extensively in it. They are used for defining a number or string and then storing it as a single letter. This makes it much easier on the programmer to call up a number (let. Variables are also used for numbers which change, and you do not know what its previous value was. For example, lets say a user. X'. During a game, you do not know if the user got the entire bonus, got any bonus at all, or got only partial score. In that case you would tell the calculator to save the user's score as the variable X, and no matter what it was before, the value would never be dependant on the previous value (e. X+1. 0, X+1. 00. 00. X- 4, etc.). It is also used to display something for a certain amount of time. How it would work is for(. The lower the number the less time (duh). An END command must be put where you want the loop to end. Sometimes STOP is also used to force the loop to end. This command is accessed through PRGM> 4. Here is a simple example. Output(3,1. However, once the whole program ends, there is a final END, and the calculator automatically restarts the program once the user presses ENTER. Since Basic is such a slow language, . THIS. However, unlike FOR, WHILE does not automatically add one to the value of a variable each time around; you must tell it to add or subtract a certain amount. This makes it more flexible of a loop. Here is an example of its use. Output(X,Y. While Y is less than or equal to 1. X equal to 1. While the value of X is less than 8, output at the coordinates (X,Y) a plus sign (+). Add 1 to the value of X and repeat until X hits 8, at which point continue the outer loop and set X back to 1. Therefore, this column of X's is displayed over and over again, with the Y becoming 1 larger each time a column is completed, until Y hits 1. If you code While 0, the code between this and End will not execute. This is because computers rely on bits, tiny jolts of electricity, to transfer information. A small voltage stands for 1, and no voltage stands for 0. Therefore, 1 stands for True, because there is a current present, and 0 stands for False, because there is no current. A good way to represent this is a light switch: when it's on, there is a current, and when it's off, there is no current. So when you code While 1, what you are actually saying is While True. Some of the other functions used here are explained later in this tutorial. I will compare 3 functions: FOR, WHILE, and LBL/GOTO. These programs are exactly the same visually, although what really goes on behind the scenes is drastically different. Please run all three of these programs on your TI, in order to see the differences (e. I will try my best to explain the behavior of these programs. Please first set your WINDOW to. Circle(0,0,X). : Text(0,0. A circle is drawn at the coordinates (0,0) (in the center of the screen). Its radius is set to 0. At the coordinates (0,0) the text . The command END tells the calculator to execute the code between FOR and END until the value of X is 5. While X is less than 5. A circle is drawn at the coordinates (0,0) with a radius of X. At (0,0) the text 'RADIUS: ' and the value X are displayed. X, and this whole process is repeated until the statement 'X is less than 5. X has to be more than 5. When this happens, 'DONE' is displayed. The following is assigned to frame 1: a circle is drawn at (0,0) with a radius of X. If X is equal to 5. If X is equal to 5. DONE' is displayed. ELSE means that if the variable is not a certain value, then whatever ELSE it may be, do something. IF compares the value to a predesignated variable, and THEN does something. The OR command compares the value to many variables. IF, THEN, and ELSE are accessed through PRGM> 1,2, or 3. OR is accessed through TEST> LOGIC> 2. Here is an example. Clr. Home: Input . However, these are usually inefficient commands. If you want to make this code more functional, try this. Clr. Home: Input . They are used in conjunction with input, but they collect lines of text, like 'Mary had a little lamb'. They are accessed through VARS> STRING.> 0- 9. Here is a simple example. Input . Did you know that every button on the TI- 8. GETKEY is like INPUT, but it waits for a key press, not a number input. This is sometimes used for moving a character or for menus. GETKEY is accessed through PRGM> I/O> 7. GETKEY is almost always, 9. Key(variable A- Z). While (variable A- Z)=0. Key(variable A- Z). There is also a program that tells you the key value upon pressing the key, if you don. Instead of using a variable, it is faster to use ANS; however, this cannot be done when the get. Key value must be used over and over again. The whole procedure may be shortened as well. Do something here. Not that you have to use 'A', you can use any other letter of the alphabet Here is a simple program which utilizes GETKEY. Disp . The calculator collects a key press, and if that key press is the MATH button, . If neither is pressed, nothing is done. The END command tells the FOR loop to repeat with 1 more than its previous, but since this loop is supposed to end when its value is 1, the program ends. Notice how much cleaner the program looks without those LBL/GOTOs, even though it would have taken a bit less* brainpower to code those than the FOR loop. You can multiply it by numbers or manipulate it to your needs, like. The above can display any number, integer or not, from 1 to 1. But what if you want only the integer part of it? But what if you want only the decimal part? However, if you use these for storing program and game information, they are very likely to get sabotaged by other programs which use the lists and when you graph scatter plots. Therefore, your calculator has the potential to hold hundreds of user made lists, which you may name with any four letters and numbers. However, a number cannot be the first digit. Create lists the following way. In the above example, 1. TTRL is the name of the list. There is always a little L, accessed through 2. ND> STAT> OPS> B, before the name of the list. To store the variable 'C' into the first slot of the list TTRL, use the following formula. To call upon the first slot of the list TTRL and store it as the variable 'B' (used for displaying high scores) use the following formula.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2016
Categories |