NationStates Jolt Archive


Help with Graphing Calculator programing

New Sernpidel
13-05-2005, 00:20
Can anyone here enlighten me as to what the correct format for using the randInt( program on a TI-84 calculator?

I keep putting randing(1,10), and i get the error message ERR:OVERFLOW

Can anyone help me as to what the correct way to work this is?
New Sernpidel
13-05-2005, 01:08
can anyone help?
Spizzo
13-05-2005, 01:11
http://ee.tamu.edu/matlab-help/toolbox/comm/randint.html

http://www.tcc.cc.fl.us/dept/acsu/mc/docs/pdf/statprob/ti83_stats.pdf
Woldenstein
13-05-2005, 02:14
Try posting on a http://www.ticalc.org/ forum.
Ausmacht
13-05-2005, 02:21
HAHA, woldnestein i figured you might respond to that...
MACOnians
13-05-2005, 02:24
I'll save you the trouble. Type RandInt(BEGINNING#,END#,#ofresults you want)

example: RandInt(1,10,1) Gives me one number between 1 and 10

RandInt(1,10,4) Gives me four numbers between one and 10

OR Your memory's dying. Go to memory, memory management then delete some extra files, and archive whatever you can. On a TI(I have a TI 84 with 1156K 21,953 bytes free), just go second +, memmgmt/Del, All. There should be a list of everything.
Ausmacht
13-05-2005, 02:26
Oops, i forgot to nicely respond to the question...

Well, an overflow probably means that your calc is experiencing a memory problem (You used the correct syntax: randint(lowerbound,upperbound)). Now, this could be because you don't have enough free ram because all of your programs are unarcived or maybe your calculator is just too old to handle its own functions.


So... try looking at the amount of memory you have free and try to get more by archiving or deleting programs/games. If that doesn't work use Woldenstein's link.
Robot ninja pirates
13-05-2005, 02:32
Works fine for me, the problem must lie elsewhere. Try creating a new test program with only one line: "randInt(1,10)", and running it. It should work, at least it does on mine.