Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

# Simple TI-89 Program

Registered User regular
edited September 2010
It's been a few years since I had to write a TI-89 program. While I used to be a wiz, I have completely forgotten how to enter even basic commands. Online guides are extremely complicated for what I need to do, and I don't have the time / energy to digest one.

I need to write a simple program to compute a compound annual growth rate.

There are three variables: Start Value, End Value, # of Years. All 3 are user defined.

The formula is

CAGR = [(End Value / Start Value) ^ (1 / # of Years)] - 1

Any help or input would be appreciated.

·

## Posts

• Registered User regular
edited September 2010
Prompt var1, var2, var3
Disp <equation using vars>

edit: actually that's for the TI-83, sorry. Might still help though!

·
• Registered User regular
edited September 2010
I've kinda kludged it together, except that instead of outputting the answer it outputs the entire equation.

format is basically [(y/x)^(1/z)]-1 -> t
disp t

Frustrating.

·
• Registered User regular
edited September 2010
try

disp ((y/x)^(1/z))-1