Question about Texas Instruments TI-89 Calculator

1 Answer

I can not escape the following program

Lbl ad0
input"distance",a
input"time",b
Disp"speed=",a/b
Goto ad0
EndPrgm

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    One Above All:

    The expert with highest point at the last day of the past 12 weeks.

    Top Expert:

    An expert who has finished #1 on the weekly Top 10 Fixya Experts Leaderboard.

    Superstar:

    An expert that got 20 achievements.

  • Texas Instru... Master
  • 96,738 Answers

This program has an infinite loop in it. Remove the "Goto ad0" statement. With this in, the program computes the speed and then goes to the beginning and asks for the distance and time again. And again, and again...

With the "Goto" statement out of the program, you can also remove the "Lbl" statement as well.

Posted on Jan 17, 2010

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Programming Issue : "Error : Variable or Flash application is locked, protected or archived"


Apparently the variable "a" is archived or locked. Press 2ND VAR-LINK (the subtract key). Find the line containing "a". If there's a little x-like thing to the left then its archived. Press F1 9 to unarchive it. If there's a little padlock to the left then its locked. Press F1 7 to unlock it.

Sep 15, 2012 | Texas Instruments TI-89 Calculator

1 Answer

I receive the error "Missing


Put an EndFor command 2 lines down from the For j,1.n/2 line. Right above y1(p) store p. You'll have to have a 0 store p inserted into the program or, you'll get a circular error. I put mine right under input n. Also where you store 0 in s and v.

Jan 19, 2011 | Texas Instruments TI-89 Calculator

1 Answer

How do I get newtons method into my calculator?


Hello,
Press [PGRM] [|=>][NEW][1:Create New][ENTER]
At the prompt NAME=, Type the name of the program.
Use the catalog [2nd][CATALOG] to enter the commands Input, Lbl, nDeriv(, Disp, Pause, If, abs(, Stop, and Goto.
In the catalog, the entry mode is ALPHA

94e4275.jpgcaf0d60.jpg
  1. The fisrt two lines of the second screen are not to be entered. (It is an overlap). I had to scroll down to get to the bottom of the program editor screen.
  2. Before you can use it to solve for the zeros of a function, you must define it in the [Y=] editor.
  3. The symbol Y1 in the program listing can be entered by pressing [Vars][|=>Y-VARS][1:Function][1:Y1].
  4. When finished entering the program press [2nd][QUIT] to exit the editor.
To run it, press [PGRM]. Under the menu [EXEC] you see a list of the available programs. Select the one you want and press [ENTER]
During the run, the program finds an iterate and waits (Pause) for you to press [ENTER]. You must keep pressing [ENTER] after each iteration, until it returns Done.

Hope it helps.
Thank you for using FixYa.
Do not forget to rate the solution.

.

Nov 24, 2009 | Texas Instruments TI-84 Plus Calculator

2 Answers

I NEED PROGRAM "TIME VALUE OF MONEY" FROM HP 32S RPN


Hello,
Here is the program taken from the manual for the calculator. Key it in and use.

7848626.jpg
6f5d0fa.jpg The program requires 94 bytes.
Hope it helps.

Aug 18, 2009 | HP 32sII Calculator

1 Answer

Programing using if then statements


HP's RPN calculators have always followed the "do if true" rule. If the test is true, the next step is executed. If false, the next step is skipped. So, in your case, you would simply follow the x>y instruction with the goto instruction. If the test is true, execution will brance to the specified label. If false, execution will continue with the step following the goto.

Apr 02, 2009 | HP 35s Scientific Calculator

2 Answers

Error in running program


I agree with the previous solution and would like to add if you declare your variables using the local command then they will only reside in that program.
:prgm
:local db, e, plus other variable used in your program with a comma to separate them.
:prompt

And I think what the above solution is saying is to :Disp "k",k would work better.
I hope you used the Ti commands and not the ones you spell out on your listing, if so you might want to check them too. The store command I can understand why you typed it out.

I like the fact you want to program so remember fixYa to help you develop your programming.

Apr 01, 2009 | Texas Instruments TI-89 Calculator

1 Answer

TI 84 Change brightness command


Couldnt you just do 2nd up or down multiple times

Oct 24, 2008 | Texas Instruments TI-84 Plus Calculator

1 Answer

The following program can not quit normally


the program is in a loop always...
when is displayed "speed" the next line order to go the begging and ask again the distance...

you have to include an instruction to quit
Lbl ad0
Input "distance",a
Input "time",b
Disp"speed=",a/b
Dialog
Title "Again"
DropDown "Repeat?",{"Yes", "No"},a
EndDlog
if a=1
Goto ad0
DispHome
EndPrgm

Jun 17, 2008 | Texas Instruments TI-89 Calculator

1 Answer

Locate % button


There is no % button on the calculator, but depending on what you need it for, there are some simple basic programs that could work for this. If you just want to find percent from a fraction or decimal, use this one.
Hit the program button and press right two times the enter to get a new program.
Name your program "PERCENT"
hit enter
hit program, right, enter, to paste "Input" onto your screen
In quotes, put "Number?", then a comma, then N (not in quotes)
Press enter to get to a new line.
Enter "100N-->N" (once again, not in quotes)
The arrow is found directly above the on button
Press ENter again, putting you on the third line.
Hit program, right, 3 to paste Disp on your screen.
Put N after, not in quotes

Your screen should look like this:

PROGRAM:PERCENT
:Input "NUMBER",N
:100N-->N
:Disp N

Press 2nd Mode to quit, then hit the program key and select program Percent to run (making sure you are in the "Exec" menu)
Hit enter to run your program: it should turn decimals or fractions to percents.
Don't feel that your intelligence is being insulted by me giving explicit instructions that may be below your level in programming: I did not know whether or not you were proficient.

Apr 24, 2008 | Texas Instruments TI-84 Plus Calculator

2 Answers

Programming problem with ti89


Yes, what you call code aka.basic programming isn't written right or there is a conflict with inside the program. I'd have to see the program to fix it.
raklein62@yahoo.com

Feb 25, 2008 | Texas Instruments TI-89 Calculator

Not finding what you are looking for?
Texas Instruments TI-89 Calculator Logo

Related Topics:

76 people viewed this question

Ask a Question

Usually answered in minutes!

Top Texas Instruments Calculators Experts

kakima

Level 3 Expert

96683 Answers

k24674

Level 3 Expert

7987 Answers

Stevan Milanovic

Level 2 Expert

243 Answers

Are you a Texas Instruments Calculator Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...