Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use MATLAB. Problem 5. Imagine the sqaure dartboard shown below with the red circle inscribed?. The area of the circle is of course ara,

image text in transcribedPlease use MATLAB.

Problem 5. Imagine the sqaure dartboard shown below with the red circle inscribed?. The area of the circle is of course ara, and the area of the squre is 4r2 (since the length of a side is 2r). Now imaging throwing darts randomly at the square. 7 ~ 1 x 4 = 3.2 1. Develop a program which can calculate a using the fraction of darts within the circle. 2. Make a plot similar to the above which colors the dart points based on whether they are within the circle. 3. For 100 tests of your program, what is the mean and standard deviation of your a calculation if you throw 10 darts? 100 darts? 1000 darts? 1,000,000 darts? 4. Create histrograms of your a calculations for 1000 runs of your program for throws of 10 darts, 100 darts, and 1000 darts. 5. Would it be more accurate to calculate a by averaging 10 throws of 1000 darts, or 1000 throws of 10 darts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

Define Administration and Management

Answered: 1 week ago

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago