1 I'm trying to figure out what is a Robot.
2 I guess those 2's are squares.
3 E(X1)=6, the midpoint of a uniform distribution.
Here it follows..
X1, X2 are uniformly distributed over [0, 12]
Y1, Y2 are uniformly distributed over [0, 20]
We can define a new random variable D expressing the distance between both robots by D = sqrt(
(X2 - X1)2 + (Y2 - Y1)2 ).
What is the expected value of X1, i.e. E(X1)? How can the expected value of D be determined, either by an
equation or approximated on a computer perhaps?
The Monte-Carlo will even give a histogram of the sampling distribution (note: typo in the vertical axis legend; it's 10000 replications not 100000):