CodeWalrus

General => General Help & Troubleshooting => Topic started by: DeLoxter on February 05, 2016, 08:17:44 AM

Title: Issue with programs in TI84 calculator
Post by: DeLoxter on February 05, 2016, 08:17:44 AM
So I've just been writing up a program that will do compound interest for me, and show me the value after each step. My issue is that after the program finishes when I try to scroll up to the first values they all vanish and simply display a 'Done' option. Is there any way to avoid this?
Title: Re: Issue with programs in TI84 calculator
Post by: Dream of Omnimaga on February 05, 2016, 08:29:56 AM
Hi DeLoxter and welcome to the forums. Do you think you could show us the code of the program so we could help with the problem?
Title: Re: Issue with programs in TI84 calculator
Post by: DeLoxter on February 05, 2016, 08:37:59 AM
Okay, it goes something like this

:Prompt P,R,C,Y
:C*Y=A
:1=X
:While X=/=A
:(P*(1=(R/100)/C)^X)=B
:X+1=X
:Disp B
:End

It's pretty messy but it does what it needs to do
Title: Re: Issue with programs in TI84 calculator
Post by: Dream of Omnimaga on February 05, 2016, 09:04:50 AM
Oh, I see what you mean now. The complicated way to do it would be storing all values in a list then showing the list once the program ends. But the easy way would be to change Disp B to Pause B, so you can have enough time to see and write down the values, but then you can't scroll back up. With Pause you must press Enter to continue displaying more values.

I hope this helps.
Title: Re: Issue with programs in TI84 calculator
Post by: alexgt on February 05, 2016, 07:39:21 PM
Or put the values from the loop into a list and then access it after the program is complete ;)