Congratulations to all the winners of April 2013, they have won INR 3400 cash and INR 20147 worth prizes !

 Online : 100 |  Welcome, Guest!   Register  Login
Home > Forums > Others > what is the seed of the number ...

# what is the seed of the number

Replies: 7 | Posted by: Yugandhar on 8/22/2012 | Category: Others Forums | Views: 229 | Status: [Member] | Points: 10

what is the seed of the number
plz give some exmples

 Responses below this ad Get hundreds of .NET Tips and Tricks videos

## Replies

 Megan00   Posted on: 8/22/2012 11:22:14 PM Level: Starter | Status: [Member] | Points: 25

Can you tell me in detail , what kind of number, random number or others?

Never give up! Smile to the world!
http://excelcsharp.blog.com/

 Yugandhar   Posted on: 8/23/2012 1:17:57 AM Level: Starter | Status: [Member] | Points: 25

for random numbers
and others also

 Muhsinathk   Posted on: 9/17/2012 6:00:16 AM Level: Bronze | Status: [Member] | Points: 50

Seed Numbers

1)Seed Numbers are used to find if a given number is divisible by a prime number. Although the concept is not used often, for some number, the divisibility rules cannot be applied and seed numbers come in handy there. This means that when you give the same seed, the function always gives the same outputs in the same order.

2)

Here's an example of a simple random-number formula

int rand() { random_seed = random_seed * 1103515245 +12345;
return (unsigned int)(random_seed / 65536) % 32768; }

 Muhsinathk   Posted on: 9/17/2012 6:01:39 AM Level: Bronze | Status: [Member] | Points: 25

 Hariinakoti   Posted on: 9/17/2012 6:05:12 AM Level: Starter | Status: [Member] | Points: 25

Good Job Muhsi

Thanks & Regards
Hari

 Vikash   Posted on: 9/17/2012 6:32:54 AM Level: Starter | Status: [Member] | Points: 25

The random function is more likely a pseudo random function generating outputs with a certain distribution (uniform, gaussian, ...).
This means that when you give the same seed, the function always gives the same outputs in the same order.

The seed is the thing which makes it "random". Time, ticks since startup, a sequence on the keyboard (with pauses between keystrokes), ... can generate a +- random seed. Another seed generates another random sequence.

Please mark as answer if it is helpful to you.. That helps others who sarch the same..

Regards,
Vikash Pathak

 Jayakumars   Posted on: 9/17/2012 11:28:34 AM  Download source file Level: Bronze | Status: [Member] | Points: 25

hi

i think if u need this see this image below