(a) You have ten thousand square-shaped pieces of paper. The first one has area
ID: 2948363 • Letter: #
Question
(a) You have ten thousand square-shaped pieces of paper. The first one has area 1. The second one has area 2. The third one has area 3. ... The ten thousandth one has area 10,000. The side lengths s1, . . . , s10,000 of these squares range between 1 and 100. Make a histogram showing the distribution of s1, . . . , s10,000.Excel, or find something on the web that will draw a histogram.
(b) Now suppose ? A ? Uniform[0, 10000] is a continuous random variable. Let S = A. Using change of variables formula, find the distribution of S.
(c) Discuss similarities/differences between your answers to (a) and (b).
Explanation / Answer
(a)
area=1:10000
side=sqrt(x)
hist(side)
A=c()
for( i in 1:10000){
A[i]=runif(1,0,10000)
}
hist(A)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.