coolcat50
Nov 19 2007, 09:38 PM
In this tutorial I will show you how to create a program that will solve a equation with variables for you. There are some requirements though. Requirements- A Ti-83 or better calculator
- Knowledge of how to use the calculator
- Knowledge of where to find the functions
- A little Ti-BASIC knowledge will be helpful
Well lets get into it. Creating the ProgramFirst, we need to create the program. Open up your program screen and create a new program. Name it something like EQSOLV. Ok let's get started with the coding. WARNING:This program will use the following variables. Ok, first open up the edit screen. It should like like this. CODE PROGRAM:EQSOLV If it looks like then you did the creation of the program correctly. Ok, we need to add a ClrHome command. Your screen should like this. CODE PROGRAM:EQSOLV :ClrHome Great! Time to start having user input screens. We will use the Input command and the Str0 and Str9 variables here. -> = STO CODE PROGRAM:EQSOLV :ClrHome :Input "EQUATION:",Str0 :Input "ANSWER:",Str9 Now when the program is executed, it will ask for the equation. Then it will ask for the answer. Ok, we now need to create one big string for the equation. We will also add some other parts to the string for evaluating. The reason for this is that we will use the solve() function. The synatx for solve() is:solve(equation-(answer),X,guess) CODE PROGRAM:EQSOLV :ClrHome :Input "EQUATION:",Str0 :Input "ANSWER:",Str9 :Str0+"-("+Str9+")"->Str0 We now have our equation ready for solving. First, we need to turn the equation into a function. We will use a function called String-to-Equ(). It is pictured with an arrow as "to". I will call it String-to-Equ though. CODE PROGRAM:EQSOLV :ClrHome :Input "EQUATION:",Str0 :Input "ANSWER:",Str9 :Str0+"-("+Str9+")"->Str0 :String-to-Equ(Str0,Y1) We now have our equation saved as a function for solving. Now let's solve the equation and display our answer. CODE PROGRAM:EQSOLV :ClrHome :Input "EQUATION:",Str0 :Input "ANSWER:",Str9 :Str0+"-("+Str9+")"->Str0 :String-to-Equ(Str0,Y1) :solve(Y1,X,0)->X :Output(3,1,"X= :Output(3,3,X That will solve the equation, store it in X and display it. Keep off the end quotation marks for memory management. You may think we are done. Well we are not quite finished. Now we need to clean up the program by erasing the variables we used. It will help memory management. Our final code should look like this. CODE PROGRAM:EQSOLV :ClrHome :Input "EQUATION:",Str0 :Input "ANSWER:",Str9 :Str0+"-("+Str9+")"->Str0 :String-to-Equ(Str0,Y1) :solve(Y1,X,0)->X :Output(3,1,"X= :Output(3,3,X :DelVar X :DelVar Str0 :DelVar Str9 :DelVar Y1 :Stop There you go. A simple equation solver made in Ti-BASIC. Instructions on UseTo use the equation solver simply enter in the equation to be solved in the equation input. Enter in the answer to the equation in the answer input. When typing in the variable use the [X,T,(theta)] button. Example of use: CODE EQUATION:2+X ANSWER:4 X=2 Done That would be the results when you enter in that equation. Well thank you for reading. This is my third tutorial and I hope you like it.
Reply
Recent Queries:--
ti inspire functions with variables - 454.89 hr back. (1)
-
ti-basic arrow - 569.12 hr back. (1)
-
str0 ti - 1123.09 hr back. (1)
Similar Topics
Keywords : ti, basic, solving, equations, variables, algebra
- Archive.org The Public Domain And Basic Copyright
Archive.org is a great place to download old movies and things. (1)
Making A Simple Signature With Adobe Photoshop
A tutorial to basic signature designing: By Accure (3) Specs Hardness: 4 / 10 Time: about 10 minutes Result: My .PSD File: Download it now!
Needings: -Basic Photoshop knowlegend. -Adobe Photoshop CS2 (Or CS3/CS4) -Brushes set ( available
here ) -A render ( available here ) Basic knowlegend: Steps: 01. Open Adobe Photoshop,
and go File > New. 02. select the sizes Width: 350 pixels . Height: 150 pixels . Press OK .
03. Press the button to maximize the window of your new project. 04. Fill your background with
black (by using the "fill" function). 05. Press F5, click on the small arrow a....
Basic Of Website Creation
Get basic knowledge on website creation here (9) By basic, i mean reaaaal "BASIC". I know that its probably redundant info for so many of us, but I
still would like you to add your bit into this post , so that newbies benefit from it.....
Buliding A Basic Community Site
Building Community With Joomla (2) Hi I am currently running a Joomla CMS webpage, and Google Adsense on my page has generated a
reasonable sum. I have used Joomla to build this webpage at the grounding and now with all the
extension, it has become a money making webpage. I encourage all to try out this great CMS system.
Here are some extentions I would reccomend. CB Bulider. Expose 4, Jambook, Ako Comment. Cheers.....
A Twist On Basic Authentification
html help (1) Alright, i am working on a website where a number of different users from different companies will
be looking hooking into one website. What i want is to know how i can differentiate between the
users based on the information passed by the webserver. I've been told to that information
will be passed along html_user(and if i have a distinct user then i can just query the database with
that info and get what i want) But how does this work? I am sorry i know this is cryptic i'm
kind of searching to see if this strikes a bell with anyone. So to sum, many user....
Ti Basic: Pick A Number
(1) Description Learn how to create a neat-o Game in TI Basic. Its basic premise is that someone
picks a number, then they pass the calculator to their friend, and they try to guess the number.
Once the successfully guess the number a message appears and says that they have won. I have also
included a line that keeps users from choosing numbers greater than one-hundred. Please Enjoy.
Try I Out Alright.... just input what you see below and I'll explain it a little below.
CODE :ClrHome :Lbl 2 :Prompt A :A->X :If X>100 :Goto 2 ....
Aob Blood Grouping
Few Basic Idea for all (4) AOB blood grouping is the most common blood grouping in present world. In this grouping blood
grouped depending on presence and absence of antigen A and antigen B in blood. Blood groups in AOB
system are A, B, AB and O. I am trying to explain this blood grouping system as easy as possible so
that the member of this site who has no science background can also understand the system. If any
blood contain antigen A but no antigen B, the blood group will be A blood group. If any blood
contains antigen B but no antigen A, the blood group will be B blood group. If any blood co....
Ti-basic --- Slot Machine
(9) Description Ok, so this is my first TI-BASIC tutorial. In this tutorial you will learn how to
create a very simple slot machine, so you can entertain yourself in math class /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> You will need at least a TI
83 Calculator. Try it out Ok, first create a new program called 'SLOT MACHINE'. Hit the
enter key. Now input the following code. CODE :ClrHome :Lbl 1
:Output(1,1,"--Slot Machine--") :Output(2,1,randInt(0,9,1))
:Output....
Some Basic But Important Info About Cancer
(3) Symptoms of Cancer 1. Lumps, especially those that are growing larger gradually, appearing on parts
of your body such as the breasts, neck abdomen. 2. Signs of injury not externally inflicted which
do not go away after a long time, such as bruises and scratches on the skin or ulcers on the tongue
3. Body weight keeps fluctuating or nutrition level decreases dramatically (e.g. falling sick more
frequently or feel tired easily) despite the absence of sicknesses that also cause such symptoms
such as Diabetes. 4. Dry cough that does not heal in a long while, blood in phl....
Photoshop Tut: Basic Text (video)
(0) Same thing as my sig tut, but for text. http://youtube.com/watch?v=SDFfVDSBhrY ....
Photoshop Tut: Basic Sig (video)
(0) This tutorial is for BEGINNERS who want to make a basic signature. And yeah I know, I have a weird
squeaky voice :3 http://youtube.com/watch?v=9HE0C15uP80 ....
Ftp In Visual Basic 6.0
Start making your FTP client using VB6 (1) Recently, I had a need to make a FTP client, since our webhosting FTP server was kind of exotic, and
very restrictive, and most of uploads, even though they reach 100% would crash... File would be
uploaded to a server, but FTP clients just froze upon completion, waiting for the 226 (OK) from FTP
server... So, I had to make my own, one who would not wait for 226, but instead, watch the file
pload progress... This tutorial is not fuly complete, in the sense that it does not offer COMPLETE
FTP client functionality (for example, I ddn't write the code for FTP download, ....
Two Really Good 2d Mmo Engines
One is pretty basic, the other one is for top notch programmers. (1) AlterEngine MMO engine that lets you edit and create a new world. Just run the server and
distribute the game client, it's simple to use and effective for non commercial MMOs. It's
mother language is spanish, so unless you know spanish, I wouldn't recommend this. This Engine
doesn't require much Programming Experience. vbGORE Great MMO Engine, very powerful. Runs
with VB6, fully editable. It's free and open source. It can achieve great things if you have the
time and potential to script neat VB6 functions with Packet related coding and knowledg....
Counting Variables?
(4) Write a php script that will accept a positive integer, if it is even, divide it by 2 and if it is
odd, multiply it by 3 and add 1. Repeat the process until the value is 1, printing out each value.
Finally print out how many of these operations you performed. If the input value is less than 1,
print error and perform an exit(); For example: Initial value: 9 Next value: 28 Next value: 14
Next value: 7 Next value: 22 Next value: 11 Next value: 34 Next value: 17 Next value: 52 Next
value: 26 Next value: 13 Next value: 40 Next value: 20 Next value: 10 Next value: 5 Nex....
Make Money By Solving Riddles!
Put your mind to work and make some cash (6) Best Riddle Contest is holding its first season, from December 10-January 31. To earn money, you
must complete the five rounds of riddles. Registration is free, and there is no catch. Good luck,
and I'll see you there! http://www.bestriddlecontest.com ....
Help! Php Or Just Html?
i want to start buliding my website. which is better, php or basic htm (13) i try to start this topic in webhost category but it seems like i cant. i dont have the permission
so i just post my topic here. im sorry mod.. i want to build a website which contains: - Links to
videos - Informations - photos - flash i don't know if i should use php or just HTML. guys,
what are your opinions..??....
Mysql In Visual Basic
Mysql in visual basic (5) I'm am trying to create a script so that visual basic 6 can interact with mysql Any ideas?....
Learn Russian
Basic Stuff You Need To Know (7) Learning Russia Lesson 1 - Basic Words ~~~~~~ Hello - privyet (informal hello) Hello - zdrastye
(formal hello) Bye - poka How are you - kak dila Good/Wll - horosho Ok/Normal - normalno Poor/Bad -
Ploka ---More Words Yet To Come--- ---Study Makes Perfect--- I am going to make a quiz over this
so you all better be ready =). I hope I inspire you to learn russian. Its a great language plus I am
russian as a russian respects mother russia we respect all so I am sharing top language (not really
top) to you. L = Lesson Quiz - Over L1 http://www.quizyourfriends.com/quizp....
Creating A Timer Program
Using Visual Basic 2005 (8) This tutorial will explain how to create a basic timer using Visual Basic Express 2005. If you
don't have it, it's free and you can dowload it from Microsoft's website. All you need
is a few minutes to sit down and read this and a version of Visual Basic. OK, so what will this
timer actually do? Well, you are able to enter a number of minutes and a message, and then click a
button. Once the timer is up, your message pops up and you are reminded! So, basically it's
a little reminder system. I use it to remind me when TV programmes start, when I have to....
Simple C File Handling In Action
Small code snipet which covers most of basic file handling and navigat (4) Yesterday I suddenly got a lot of work. The same work we try to push off, yes you are right all
formalities to get the code review incorporated and update all source code files with code review
headers. Imagine if you need to open 300 files one by one and append code review headers at the
end. Since most files are reviewed in groups of 20 to 30 files. We require one header to be placed
in say 20 to 30 files. To simplify I went back to my class assignment days and wrote this small c
utility to open all files passed on command line and open attach code review headers an....
My First C++ Program
very basic (6) Okay, well today I've started learning C++ and after about 30 minutes I've managed to
compile my first program /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" /> All it does is prompt you to type a number in between 1 and 10. If it's not
in that range, it adds/subtracts until it is. The best part is you get to see it add/subtract the
numbers up one-by-one! Code: #include using namespace std; int main() {
// Define variables int anumber; cout cin>> anumber; cin.ignore....
Basic Ways To Speed Up Your Web Site
(25) Speed is certainly one of the most important factors when it comes to making a successful web site.
These days’ people have high expectations, they expect a web site to load as fast as an application
on their operating system, and therefore even a few seconds of waiting can frustrate them or leave
altogether. A good website should take about 8-12 seconds (for a 56K) to load. The website owner is
going to have to decide how fast its pages are going to be, for example for a multimedia or a flash
site they can afford to be a bit slower than others provided that the users k....
How To Make A Web Browser
Visual Basic 6 (49) This is a simple and specific tutorial on how to make a basic web browser in Visual Basic 6. Steps
1-3 Create a new project, and then go to "Project" on the menu. Click components as shown in the
following image. Find the component "Microsoft Internet Controls," check it, and click "Apply" and
then "Close." Click the icon that was just added in the tools window, and draw a large sized
window with it. This is going to be where you view webpages through your browser, so don't make
it small, but leave room for buttons and other accessories. Steps 4-6 Make a t....
Installing Apache, Mysql, Phpmyadmin Locally
Solving the "php_mbstring.dll missing" (5) Since Trap17's CP provide the individual site's owner with goodies like MySql and
PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
expected that most people considering to make use of a database on their site will want to do most
of the tedious job of developing and testing on their own local system before sending the wrapped-up
result on their domain/subdomain. This involves four basic steps (sorry for the compuwi....
Visual Basic 6.0 Help Needed
Adding lines to a textbox without delete (15) I need help with Visual Basic 6.0 and adding lines to a textbox without deleting any previous
lines.. I've gotten as far as finding a way to add the lines, but it deletes the prevous entree.
Help is appreciated!....
Java Basic Program Guidance
(6) aving some problems taking in the Java at Uni, Was wondering if anyone could shine some light on it
for me. My task is to write a program that will ask you to enter 2 words. the program will then
print out both words on one line. However the words will be seperated by dots that will make the
total length of the line 40. so if your first word was turtle and the second was abc, the output
would be turtle...............................abc The program should check for certain conditions:
1. a word can not be longer than 37 characters; 2. there must always be atlest 2 do....
Simple Login In Visual Basic 6
user interaction example trough login programm (6) First of all, I am NOT a programmer, this is something my friend taught me. It describes basic
interaction with the user, while showing basic functionality of this simple programm. So, without
further ado, we're off to the tutorial: First of all, start your visual basic, when prompted
for new project, select Standard Exe . Next, we need to open code window, so we can start typing
the program. This can be done in two ways, one is double clicking on the form, or selecting Code
from View menu. If you double clicked on the form, you will see following text: CODE ....
[tutorial] Visual Basic 6 Minimize To Tray
Minimize to Tray (7) This example will "minimize" your program to the system tray when you click on a button, and restore
it when you click the system tray icon. For this example you'll need: 1 Form - Form1 1 button -
Command1 Add a Module to your project, and ad this code: CODE ' Create an Icon in System
Tray Needs Public Type NOTIFYICONDATA cbSize As Long hwnd As Long uId As Long uFlags As Long
uCallBackMessage As Long hIcon As Long szTip As String * 64 End Type Public Const NIM_ADD = &H0
Public Const NIM_MODIFY = &H1 Public Const NIM_DELETE = &H2 Public Const WM_MOUSEMOVE ....
[tutorial] Visual Basic 6
Closing Programs Right, Why END is bad (4) This tutorial applies to all those people who insist upon using "End" to close their programs: End
stops the program immediately without any thought as to what's going on - it's like a high
speed train hitting a brick wall. It can cause unwanted errors and is bad programming practice in
general. END gets rids of the form, but NOT its leftovers. This leaves a bunch of memory that will
still be in use even after your program has supposedly closed. An object or variable won't be
terminated properly - it's just not a graceful exit. The only time that it'....
Need Help With My Python Programs
just extremely basic stuff (11) ok, i am learning python, and i realy dont know much. my guide im using said to make a program
where it asks your name, and if the name is yours your make it so there is a compliment, if it is
another name you make it that its an insult, and anything else makes it say Nice name. here is what
i wrote name = raw_input("What is your name?") if name == John: print "Your name is freaking
sweet, you must be a god or something." elif name == Bob: print "You have a freakin' weird
name, dude." else: print "Nice name,",name i donot understand what i am doing w....
Looking for ti, basic, solving, equations, variables, algebra
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for ti, basic, solving, equations, variables, algebra
*MORE FROM TRAP17.COM*
|
advertisement
|
|