Understanding Random Numbers in Physics

  • Thread starter zelldot
  • Start date
  • Tags
    Work
In summary, computers do not generate truly random numbers, but rather "pseudo random" numbers based on factors such as system time. This can be seen in programming languages like C/C++, where the random number is generated from the system time. This term is used to describe the apparent randomness of these numbers, while still acknowledging their deterministic nature.
  • #1
zelldot
25
0
In the world of physics everything is given a number and everything can be worked out...

...when I am programing and i give the computer the code rand(1,50) to generate a random number from 1 to 50, how does it pick, if the computer is so logical? how can something so logical be totally unlogical with that one bis of code? a random number is not logical is it? if that makes sense at all?
 
Physics news on Phys.org
  • #2
They are not random although appear to be. The technical term is "pseudo random number." See this http://acm.uva.es/p/v3/350.html .
 
Last edited by a moderator:
  • #3
yeah, there are no "random" numbers in computers. only "pseudo random" numbers. e.g., in C/C++, the "pseudo random" number is generated from the system time. so its not really "random". it depends on the system time.
 
  • #4
Link

Please see the link below.

http://web.utk.edu/~rpevey/NE582/lesson3.htm
 
Last edited by a moderator:

1. What are random numbers in physics?

Random numbers in physics are numbers that are generated without any predictable pattern or sequence. They are used to simulate natural phenomena or to represent uncertainty in a physical system.

2. How are random numbers used in physics?

Random numbers are used in physics to model and simulate complex systems, such as weather patterns or fluid dynamics. They are also used in statistical analysis and to represent uncertainty in experimental measurements.

3. How are random numbers generated in physics?

There are various methods for generating random numbers in physics, including physical processes such as radioactive decay or thermal noise, as well as computer algorithms that use mathematical equations to produce random numbers.

4. Why are random numbers important in physics?

Random numbers are important in physics because they allow scientists to model and simulate complex systems that are difficult or impossible to observe or measure directly. They also play a crucial role in statistical analysis and help to quantify uncertainty in experiments.

5. Are random numbers truly random in physics?

In physics, random numbers are considered to be truly random if they are generated without any bias or predictability. However, it is difficult to determine if a sequence of numbers is truly random, and there are various tests and criteria that can be used to evaluate the randomness of a set of numbers.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
503
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
340
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Programming and Computer Science
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
Back
Top