what is the truly random event and pseudo random number?
1970-01-01 00:00:00 UTC
what is the truly random event and pseudo random number?
Five answers:
2016-12-12 19:42:07 UTC
maximum persons of the names i exploit have no importance; I in basic terms p.c.. them at random from names i think of the mothers and dads could have named them. the only cases characters have significant names are whilst the characters call themselves via names of their own figuring out on.
?
2012-03-01 13:39:40 UTC
pseudo random is like rand() in your computer it just looks random but is actually calculating a sequence of numbers (starting based on the value given to srand() )
here is one way some geeks made a truly random number generator:
http://en.wikipedia.org/wiki/Lavarand
Dahaar
2012-03-01 12:30:59 UTC
A truly random event would be flipping a coin, for example. You can't possibly know on which side it will fall.
With computers, random numbers are somewhat more difficult, because your computer can't flip a coin. Therefore, when asked for a random number, it will try to calculate a number that can't be calculated by the user, too. In reality, the programm takes the actual time in milli- or microseconds and calculates the modulus of this number, depending on the range you want. Since the distribution of the modulus is as near to random as possible for a computer, and the user can't stop the time in milliseconds, this is as random as you can ever get. But it isn't REALLY random, its just pseudo random.
How would I Know
2012-03-01 12:41:31 UTC
There is no such thing as a truly random event.
The previously mentioned example of a coin flip as a truly random event doesn't work. In fact a coin flip applies the same premise of randomness that a computer generated random number does, AKA the factors involved in it's outcome are too complex and variable for the human mind to be able to track.
If we actually put enough effort into it, we could determine the outcome of a coin flip every time. You'd just have to precisely know the amount of force, where that force was being applied on the coin and how that would impact rotation, the height and weight of the coin, the direction and speed of the wind, the humidity, etc. But the coin flip operates within the physical laws and thus could be calculated.
In short..
Pseudo random = possible
true random = impossible
2012-03-01 13:29:23 UTC
The old C programming rand() function is pseudo random. It use a formula for generating a number that seems random. But in fact, the numbers generated will be the same every time your program runs, unless you use the srand() function which "seeds" the rand() function. Flipping a coin energetically and letting it bounce on the floor will yield a random outcome, actually one side of the coin is heavier than the other (I don't remember which) so it won't be 50/50, but it is still random. I believe quantum mechanics suggest that outcomes are random, but they may be heavily weighted toward certain outcomes. That is closed minded to suggest that every outcome could be determined given enough information. Why should the universe work that way?
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.