Re: TI-86 Random Seed.
[Prev][Next][Index][Thread]
Re: TI-86 Random Seed.
Something fun to do with the rand command is to borrow a friends
calculator, and seed it (it doesn't matter what, I know the 82,83,85,
and 86 all use the some generator, at least), and seed it. Then seed
yours the same. Punch up rand on the screen, hit enter, and show your
friend the two calculators with the same exact random number to your
friend. My friend didn't know about seeding the calculators - totally
blew the socks off of him!
Todd
Ray Kremer wrote:
>
> I suspect it's zero or maybe one. You can test this by resetting you
> calculator, record the first couple of numbers rand gives you, then set the
> seed and see if it then gives the same numbers.
>
> >Does any one know what the TI-86 uses as a seed for the rand( function?
> >I know that you can specify a seed by saving it to the rand variable or
> >something to that effect, but when one isn't specified it seems to
> >supply one. The obvious would be the time, but from what I can tell the
> >TI-86 has no clock or time functions in it.
>
> ******************************************************************
> * To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
> * with a message (not the subject) that reads SIGNOFF CALC-TI
> *
> * Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
> ******************************************************************
--
Spam filters in place. If you are accidently blocked, remove nospam.
******************************************************************
* To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
* with a message (not the subject) that reads SIGNOFF CALC-TI
*
* Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
******************************************************************
References: