Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,678 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,205 people online right now. Registration is fast and FREE... Join Now!




algorithm for random number generation

 
Reply to this topicStart new topic

algorithm for random number generation

indigosky25
post 17 Jul, 2007 - 06:50 PM
Post #1


New D.I.C Head

*
Joined: 17 Jul, 2007
Posts: 2


My Contributions


I am in search of a TI-84 SE trivia question...Does anyone know the algorithm used by Texas Instrument to create random numbers? Know how long it would take to start repeating?
How do I know what my code is for posting?

Thanx,
newbie
User is offlineProfile CardPM

Go to the top of the page

enpey
post 18 Jul, 2007 - 01:46 AM
Post #2


D.I.C Head

**
Joined: 2 May, 2007
Posts: 59



Thanked 1 times
My Contributions


QUOTE(indigosky25 @ 18 Jul, 2007 - 12:50 PM) *

I am in search of a TI-84 SE trivia question...Does anyone know the algorithm used by Texas Instrument to create random numbers? Know how long it would take to start repeating?
How do I know what my code is for posting?

Thanx,
newbie


The code being referred to is your programming code. It is to prevent people coming on here to get there homework done for them-they must show evidence of the effort they have put in before getting help.

And Google might be a good place to start for info on your trivia question...

This post has been edited by enpey: 18 Jul, 2007 - 01:48 AM
User is offlineProfile CardPM

Go to the top of the page

Topher84
post 18 Jul, 2007 - 05:24 AM
Post #3


D.I.C Head

Group Icon
Joined: 4 Jun, 2007
Posts: 232



Dream Kudos: 25
My Contributions


http://www.google.com/search?hl=en&q=t...ation+algorithm
User is offlineProfile CardPM

Go to the top of the page

gogole
post 18 Jul, 2007 - 10:41 AM
Post #4


D.I.C Head

Group Icon
Joined: 17 Jul, 2007
Posts: 131



Dream Kudos: 25
My Contributions


c'mon guys.showsome love and help him out.
User is offlineProfile CardPM

Go to the top of the page

indigosky25
post 18 Jul, 2007 - 11:03 AM
Post #5


New D.I.C Head

*
Joined: 17 Jul, 2007
Posts: 2


My Contributions


I found alot of info prior to posting this. I'm not really a math person (I do well but I have to work really hard at it). So needless to say, you all are out of my league. In searching, this site came up a few times. The idea to find out came when my Stats prof said we couldn't really figure it out...I took that as a challenge. I was looking for the exact algorithm (which I couldn't find on line-may be a trade secret?) I found the basic algorithm and general workings, but really wanted to surprise him with the finite details. Thanks for the help.

Michelle
User is offlineProfile CardPM

Go to the top of the page

gogole
post 18 Jul, 2007 - 11:08 AM
Post #6


D.I.C Head

Group Icon
Joined: 17 Jul, 2007
Posts: 131



Dream Kudos: 25
My Contributions


oh i see, will see if i can find anything helpful.
User is offlineProfile CardPM

Go to the top of the page

jeaniebgd
post 5 Mar, 2008 - 09:09 PM
Post #7


New D.I.C Head

*
Joined: 5 Mar, 2008
Posts: 1

QUOTE(indigosky25 @ 17 Jul, 2007 - 07:50 PM) *

I am in search of a TI-84 SE trivia question...Does anyone know the algorithm used by Texas Instrument to create random numbers? Know how long it would take to start repeating?
How do I know what my code is for posting?

Thanx,
newbie

It is now March 5, 2008, so sry for the delay,but I just found this site. I know the answer to your question! Here is the exact code for Texas Instrument's Random Number Program:

2^31->D
prompt N
Disp "Enter seed between 100,000 and 999,999"
Input S
10-> dimL Ran
Fill (0,Ran)
For (I,1,N)
Mod (15625*S+22221,D)->S
impart (10*S/D)->A
Ran (A+1)+1-> Ran (A+1)
END
Ran

Good Luck to you!

Most sincerely,

Jeanie

User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/23/08 06:33AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month