# Estimating the value of ?. The following figure suggests ## Problem 6E Chapter 4.12

Statistics for Engineers and Scientists | 4th Edition

• 2901 Step-by-step solutions solved by professors and subject experts
• Get 24/7 help from StudySoup virtual teaching assistants Statistics for Engineers and Scientists | 4th Edition

4 5 0 277 Reviews
30
2
Problem 6E

Estimating the value of π. The following figure suggests how to estimate the value of π with a simulation.

In the figure, a circle with area equal to π /4 is inscribed in a square whose area is equal to 1. One hundred points have been randomly chosen from within the square. The probability that a point is inside the circle is equal to the fraction of the area of the square that is taken up by the circle, which is π /4. We can therefore estimate the value of π /4 by counting the number of points inside the circle, which is 79, and dividing by the total number of points, which is 100, to obtain the estimate π /4 ≈ 0.79. From this we conclude that π ≈ 4(0.79) = 3.16. This exercise presents a simulation experiment that is designed to estimate the value of π by generating 1000 points in the unit square. a. Generate 1000 x coordinates Use the uniform distribution with minimum value 0 and maximum value 1.

b. Generate 1000 y coordinates again using the uniform distribution with minimum value 0 and maximum value 1.

c. Each point is inside the circle if its distance from the center (0.5,0.5) is less than 0.5. For each pair determine whether its distance from the center is less than 0.5. This can be done by computing the value which is the squared distance, and determining whether it is less than 0.25.

d. How many of the points are inside the circle? What is your estimate of it π? (Note: With only 1000 points, it is not unlikely for your estimate to be off by as much as 0.05 or more. A simulation with 10,000 or 100,000 points is much more likely to provide an estimate that is very close to the true value.)

Step-by-Step Solution:

Step 1of 3:

In Order to estimate the  value of , here we consider a circle with area equal to , is inscribed in a square whose area is equal to 1. The probability that a point is inside the circle is equal to the fraction of the area of the square that is taken up by the circle, which is .So we can estimate the value of , by   .

Step 2 of 3:

We have to generate a 1000 x coordinates by using the uniform distribution with minimum value 0 and maximum value 1.

We can generate a sample of  size 1000 x coordinates by using minitab as

Calc- Random data- Distribution- parameters(min, max value with sample size)- ok

(Store the values in column 1).

Generated Samples may be different from ours. (b)  we have to generate a sample of size 1000 y coordinates by using uniform    distribution with minimum value 0 and maximum value 1.

We can generate the sample of size 1000 of y coordinates by using minitab as:

Calc- Random data- Distribution- parameters(min, max value with sample size)- ok

(Store the values in column 2). Step 3 of 3

##### ISBN: 9780073401331

×
Get Full Access to Statistics For Engineers And Scientists - 4th Edition - Chapter 4.12 - Problem 6e

Get Full Access to Statistics For Engineers And Scientists - 4th Edition - Chapter 4.12 - Problem 6e

I don't want to reset my password

Need help? Contact support

Need an Account? Is not associated with an account
We're here to help

Having trouble accessing your account? Let us help you, contact support at +1(510) 944-1054 or support@studysoup.com

Password Reset Request Sent An email has been sent to the email address associated to your account. Follow the link in the email to reset your password. If you're having trouble finding our email please check your spam folder
Already have an Account? Is already in use