Question: please do in python and provide me source code . please see the figure also. Marks ] See the figure below. We will estimate the
please do in python and provide me source code please see the figure also. Marks See the figure below. We will estimate the value of using this figure.We will estimate the value of usina this fiaure.
a Simulate sampling data points RANDOM DATA and the equation taught in the class to estimate the area of the circle.
We define the system, its necessary conditions
Take random data points
Process
Observe the outcome and Calculate the result
So the Probability of Hit
no of darts inside the circle no of total darts thrownArea of Circle Area of Rectangle
pi rr rfor fig left high prob
pi
So Pi no of hits no total darts
Area:
Again lets consider the Prob. of hit where we dont know the Area of the Circle.
the Probability of Hit
no of darts inside the circle no of total darts thrownArea of Circle Area of Rectangle
Area of Circle L W
Area of Circle L W
So Area of Circle L Wno of hits no total darts
b Make a scatter plot with your sampled data points. Mark points inside the circle red and outside the circle green.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
