Texas Instruments TI-89 Calculator Logo
Posted on Apr 01, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

Error in running program

Hi, i wrote a program with 4 variables. they all prompt and enter correctly but i get an error that reads "variable or flash application is locked, protected or archived" the "goto" option takes me to the first line of my equation in my program. I my program looks kind of like this:
:km()
:prgm
:prompt db
:prompt e
:........
:.577*e*db*pi......store k
:disp k
:end program

any ideas?
Im new to programming so i dont understand what the issue is. Im following a you tube tutorial on programming an 83... so maybe there are some differences in the two languages....

Thanks

2 Answers

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

  • Expert 360 Answers
  • Posted on Sep 14, 2009
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Joined: Dec 05, 2008
Answers
360
Questions
1
Helped
196536
Points
908

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.

k24674

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Texas Instru... Master 8,093 Answers
  • Posted on Sep 12, 2009
k24674
Texas Instru... Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Aug 17, 2009
Answers
8093
Questions
0
Helped
4673164
Points
21595

Hello,
Languages are different. But I suspect that the name you have given to your program has already been assigned to a previous one. Give another name and retry.
Hope it helps.

  • k24674 Sep 12, 2009

    When you prompt for db, and for e, should'nt you tell the program to READ what you enter. If you do not read the values, each one will have the default value 0.

×

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

0helpful
1answer

A program that will convert the given centimeter to its value in inches

It is just a Hello World program.
Define a real variable to store the input (call it x if you want)
Prompt for input.
Read input and store in variable.
Print to standard output x/2.54 inches
0helpful
1answer

Error memory when loading calculus made easy on ti-89 titanium

You may get Memory Error when you try to access an archived variables. From the other hand Memory Error message is displayed if there is not enough free RAM to access the archived variables. For correcting Memory Error message use the 2ND then MEM to check RAM free size and 2ND then VAR-LINK to determine the size of the archived variables that you want to access. As the third step for correcting this problem deleting unnecessary variable from RAM and archiving large variables or programs. By the definition, the RAM free size must be larger than the archived variables

0helpful
1answer

When i am graphing and I enter- Y1=Sin(theta) it does not graph it and says syntax error

When drawing function graphs of type Y1=, the name of the independent variable should be X
For polar graphs r=.., the independent variable is theta, while for parametric graphs it is T
To enter the default independent variable, press the key marked [X,Theta, T] . It will type in the correct name.
0helpful
2answers

I am trying to graph any possible equation and I get undefiend varialbe for any kind of equation as simple as x=7. It will always show as undefiend varialbe for any equation. I don't know why it does this.

Undefined variable error message displays when you evaluate a user-defined
function or run a user-defined program that references a local variable that is not
initialized (assigned a value). You have to type LineVert 7 and then graph function x=7. See captured image


3_11_2012_5_58_05_pm.jpg
0helpful
1answer

Why do we need to declare variables?

Hi,
I'm assuming you are referring to declaring variables in Procedural programming languages such as Java. Variables need to be declared for several different reasons, some of which include helping the computer reserve space in memory for variables to be stored and it also plays a part in the various stages of converting the source code, i.e. the code that you type in VB or Java, into machine code which is a series of binary digits that the computer can actually understand. It helps the computer in debugging the code for errors. In the first stage of code conversion, lexical analysis, information about the variable names is stored. In the next stage, Syntax analysis, the code is checked to be grammatically correct according to the rules of Backus Naur Form, i.e. if a key word such as PRINT is typed in as PLINT the computer will treat this as a variable name and since no information about this variable name has been entered in the lexical analysis stage it knows that an error has been made.
Hope this helps!
0helpful
1answer

Write a program to find addition of two nos

algorthm help to add two numbers in any lang.
->declare 3 variables
->o/p prompt to enter two numbers
->i/p prompt for entering the numbers
->add two numbers and assign it to third such as in c lang "c=a+b"
->then print the third variable
7helpful
1answer

How do i program formulas into my ti-83

To begin a program, press the "PRGM" button and create a new program, naming it however you like. Now, the best way to have it evaluate your numbers as a formula is to begin with a prompt. Press "PRGM", then toggle to the "I/O" menu from the selections at the top, then select option 2, "Prompt". On the same line, list the variables you wish the formula to evaluate, separated by commas. Press "ENTER" to begin a new line, then type out the formula, placing the corresponding letters in their proper places. Instead of an equal sign, use the "STO>" key and then another letter variable using the "ALPHA" key and any letter. Finally, press "ENTER" to begin a new line, press "PRGM", browse "I/O", and find option number 3, "Disp", followed by the letter variable you specified as the answer to your eqution.

This is an example illustrating the equation, 'F=ma'

prgmFORCE
:Prompt M,A
:MA->F
:Disp F

To start the program from the home screen, press "PRGM", select "prgmFORCE", and enter it on the home screen. You will be faced with a query, as illustrated below:

M=?

Simply enter the value you desire for each variable as it appears, and the calculator will evaluate and display your solution.
1helpful
1answer

Hi so i have to use the cos, sin , and tan functions on my ti-89 but when i press enter it says "Error: protected memory violation"... i need to use those keys for a precalc test tomorrow and i dont know...

Hello,
My guess is that you entered as variable of the the functions, the name of a variable that is reserved (system variable, app variable ). In Home screen press [F6: Clean up][ Clear a-z] [ENTER] and stick with x as function argument.
Hope it helps.
6helpful
2answers

Email Remittances - Report Designer Problem

Sage Line 50 Addpurch Utility
In Sage Line 50 V5, you could only produce remittances for the
supplier accounts you had set up in your Sage Line 50 program.
The information that appeared on your remittances was taken
from the supplier ledger.
In newer versions of Sage Line 50 you can produce remittances for suppliers
who do not have a corresponding supplier record. This allows
you to produce free-format cheques for one-off payments. To
enable you to produce free-format cheques, Sage Line 50 no
longer takes the information for remittances from the supplier
ledger. This means that you can produce remittances whether
there is a corresponding supplier record or not.
If you want to include additional information from your
supplier records on your remittances, for example bank sort
codes and account numbers, you should convert the layouts
you require using this utility.
Note: This utility is installed automatically into your
Sage Line 50 program directory when you install Sage
Line 50.
>> To use the Addpurch utility
1. Open a Command Prompt by clicking on to your Windows Start Button
selecting Run, then type the word COMMAND and click on to OK.
From the command prompt (for example, c:\windows\desktop>) type cd\ and
then press ENTER.
2. At the c:\> prompt type cd "Program Files\Sage Accounts\layouts"
and then press ENTER.
The prompt should now read c:\Program Files\Sage\Accounts\layouts
Note: If your Sage Line 50 program is installed in a different
directory replace the above instruction with your own directory
name. The directory path can be found within your program by
clicking on to Help and then About and choosing the System
Information Tab. Your layouts will be held on the same path
as your data directory.
3. Before you can convert your remittance layout you will
need to save this with a new filename. (maximum of 8 characters).
For example, to rename one of your existing layouts from
the c:\Program Files\Sage\Accounts\layouts prompt type:
copy remita4.sly newrema4.sly
and then press ENTER.
1helpful
1answer

Installing java

Do you set the envirorment variables(Java_home), if it is ,check the path is correct or not.
Delete the ClassPath from environment variables, and set class path in command prompt by typing class PATH=%PATH%;path to java(eg:class PATH=%PATH%;C:\Programfiles\jdk1.6\bin) .
Not finding what you are looking for?

593 views

Ask a Question

Usually answered in minutes!

Top Texas Instruments Office Equipment & Supplies Experts

k24674

Level 3 Expert

8093 Answers

Jerry Naidoo

Level 2 Expert

152 Answers

Paul Bade

Level 3 Expert

1818 Answers

Are you a Texas Instruments Office Equipment and Supply Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...