answersLogoWhite

0

What does it mean to generate random numbers in Java?

Updated: 8/20/2019
User Avatar

Wiki User

10y ago

Best Answer

Generating random numbers in Java is somewhat of a misnomer because the numbers are actually semi-random.It means to use the program to obtain random integers to use in hypothetical situations such as statistics.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does it mean to generate random numbers in Java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does generate random numbers mean?

It means to get a number, randomly, from a certain range of numbers.It means to get a number, randomly, from a certain range of numbers.It means to get a number, randomly, from a certain range of numbers.It means to get a number, randomly, from a certain range of numbers.


How good is java random number generator?

I don't what you mean by good, but I have tested it and it creates a normal distribution also known as Gaussian.


How do you generate random variables for normal distribution?

Random numbers (or deviates) can be generated for many distributions, including the Normal distribution. Programs like Excel include a function which will generate normal random variables. In Excel, you enter +norminv(+rand(),mean,stand dev). The formula can be copied down to generate many deviates. Hitting F9 will produce a new series. Be sure to enter a positive number for the standard deviation. Theory: Let X be a uniformly distributed random variable from 0 to 1. We want to generate deviates of distribution with a pdf of f(x) and a cumulative distribution of F(x) with F-1(x), the inverse CDF known. Generate a uniform deviate, a, and then calculate b = F-1(a) which will be distributed according to f(x). The related links are unfortunately quite mathematical. The problem with the normal distibution is that the inverse cumulative is not a simple equation, so table lookup is usually the fastest solution.


What is subroutine in java?

Subroutine mean what (in java)?


What does Systemout mean in java?

System.out refers to the Java console.


What does four digits numbers mean?

1234, 2637, 7777, 2727 are examples of a four digit number. So any random four numbers are four digits.


What is PLAYWIN Lotto what does lotto mean?

A game, typically with an accumulating jackpot, in which participants play numbers of their choice in a random drawing.


What does every number and letter mean in a motorcycle VIN number mean?

They have no specific meaning. The order of letters and numbers are used to generate the largest number of possible combinations.


What is the formula of a mean?

Obtain the arithmetic mean of a batch of numbers by adding them up and dividing by their count. For example, the arithmetic mean of 3, 5, and 10 equals (3 + 5 + 10)/ 3 = 6. There are other kinds of means, such as geometric and harmonic, but usually when the type of mean is not specified the arithmetic mean is intended. For completeness I will also provide an answer from probability theory. The mean of a random variable is its expectation, which is defined to be its integral. If the random variable has a distribution f(x)dx, its mean equals the integral of x*f(x)dx over all real numbers. This is related to the first definition of arithmetic mean. A batch of numbers gives rise to a random variable supported at those numbers, where the probability of each number is proportional to the number of times it occurs in the batch. (This is the empirical distribution function of the batch.) The arithmetic mean of the batch equals the expectation of that random variable.


What do you mean by multithread program in java?

A Program in Java that spawns multiple threads is called a multithreaded program in Java.


How do you Find the mean with a random variable and a probability?

say you have 3,45,5 you do 3+45+5 then divide it by 3 because there is 3 numbers


What does the word java mean?

Java is an island in Indonesia, but in slang it means coffee.