[Solved]Task 2 Using Random Number Generator1 Write Java Program Returns 100 000 Values Random Var Q37300752

Task 2 Using the random number generator1, write a Java program that returns 100,000 values of the random variable X, and computes E(X). In fact, when generating a random value for X, you need to generate a random value for X1 and another random value for X2. Thus, you also have 100,000 values of X1 and X2, respectively. Can you verify that E(X) = 3, E() = 4/3, and E(X) = E(X) + E(Xy) = 13/3? Show transcribed image text Task 2 Using the random number generator1, write a Java program that returns 100,000 values of the random variable X, and computes E(X). In fact, when generating a random value for X, you need to generate a random value for X1 and another random value for X2. Thus, you also have 100,000 values of X1 and X2, respectively. Can you verify that E(X) = 3, E() = 4/3, and E(X) = E(X) + E(Xy) = 13/3?
Expert Answer
Answer to Task 2 Using the random number generator1, write a Java program that returns 100,000 values of the random variable X, an… . . .
OR

