Recognitions:
Gold Member

## Write a Function in Ti 89 titanium

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
EndFunc

Also, is there a "shift key" that will make my variables Capital if I need E instead of e ?
 PhysOrg.com science news on PhysOrg.com >> Galaxies fed by funnels of fuel>> The better to see you with: Scientists build record-setting metamaterial flat lens>> Google eyes emerging markets networks
 Blog Entries: 1 Recognitions: Science Advisor From a Google search for ti-89 function: http://www.batesville.k12.in.us/phys..._functions.htm You can probably do this as long as the function is not overly complicated

Recognitions:
Gold Member
 Quote by MATLABdude From a Google search for ti-89 function: http://www.batesville.k12.in.us/phys..._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 Tools

 Similar Threads for: Write a Function in Ti 89 titanium Thread Forum Replies Engineering, Comp Sci, & Technology Homework 10 Programming & Comp Sci 1 Materials & Chemical Engineering 0 Calculators 2 Calculus & Beyond Homework 1