Calculators Write a Function in Ti 89 titanium

  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Function Titanium
AI Thread Summary
To create a user-defined function on a TI-89 calculator that takes three arguments and returns a single output, the correct syntax is essential. A simple function, such as f(x,y,z) = x + y + z, can be defined directly using the return statement. The function must be structured as follows: f(x,y,z)FuncReturn x + y + zEndFuncThe use of the "store" key is not permitted within the function definition, which complicates the creation of more complex functions that require intermediate storage of results. Additionally, there is a query regarding the ability to capitalize variables, specifically if a "shift key" exists to convert lowercase letters to uppercase. Overall, while defining functions is straightforward for simple expressions, it becomes challenging for more complex calculations due to the limitations of the calculator's syntax and functionality.
Saladsamurai
Messages
3,009
Reaction score
7
Hello,

I wish to write a function that takes in 3 arguments and outputs 1. I want it to be a saved function so that I can call it at will like cos() or ln()

How do i go about doing this? I am unsure of the syntax.

Let's say it is really simple like:

f(x,y,z)=x+y+z

So from the home screen I would like to type f(1,2,3) and have it return 6

Any thoughts?

EDIT: okay so maybe that is easier than I thought. The problem I am running into is that you cannot use the "store" key when writing a function.

For example if I wanted to write the above like this:

f(x,y,z)
Func
(x+y)->A
Return A+z
EndFunc

I cannot. I have to write:

f(x,y,z)
Func
Return x+y+z
EndFuncAlso, is there a "shift key" that will make my variables Capital if I need E instead of e ?
 
Last edited:
Computer science news on Phys.org
MATLABdude said:
From a Google search for ti-89 function:
http://www.batesville.k12.in.us/physics/CalcNet/Calculator/ti_89/user-defined_functions.htm

You can probably do this as long as the function is not overly complicated

Yeah. That is a "user-defined" as in, you need to redefine it every time you need it.

I edited my OP. What I posted shows how to do it from program editor-->functions

Unfortunately, if it is a complicated expression, it is a bi##h to write as you cannot break it down into simpler components using the store button.
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...

Similar threads

Replies
5
Views
2K
Replies
2
Views
7K
Replies
1
Views
5K
Replies
5
Views
5K
Replies
1
Views
16K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
1
Views
3K
Back
Top