subject
Mathematics, 17.09.2019 21:10 angela6844

Onsider a square defined by −1 ≤ x, y ≤ 1 with a circle inside it with radius r = 1. the area of the circle is (obviously) πr2; however, let’s assume that you don’t know that, and that you don’t know the formula for the area of a circle (but you do know the area of a square). instead, try to approximately calculate that area using a large number of random points (x, y). give your answer with 5 significant digits, and give your answer when using both 100 and 1 random points. hints: • generate random points (x, y) that are uniformly distributed over the square (i. e., that are equally likely to fall anywhere within that square). and then count how many of those points fall within the circle.-in matlab, you can generate uniformly distributed random points using the functionrand(n,1), which creates an array of n random numbers between 0 and 1. we need x and y between -1 and 1, so we need to dox=2*(rand(n,1)-0.5); y=2*(rand(n,1)-0.5); code this with matlab.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 16:30
Which choice represents the sample space ,s for this event
Answers: 3
question
Mathematics, 21.06.2019 21:00
Suppose that in 2008 , 840,800 citizens died of a certain disease assuming the population of teh country is 399 miliion, what is the mortality rate in units of deaths per 100,000 people?
Answers: 1
question
Mathematics, 21.06.2019 22:30
Awindow washer cleans 42 windows in 2 hours. at this rate, how many windows did he clean in 180 minutes.
Answers: 2
question
Mathematics, 22.06.2019 00:00
Urgent! 20 points! here is a you are the new manager at trusty goods wholesale produce. you need to figure out how to adjust the amount of produce in your notes after the events of the day: you got 5 more crates of bananas someone returned 2 crates of apples a worker dropped a crate of grapes (oh no! , you had to throw them out) you sold a crate of bananas you sold 5 crates of apples can you write an expression to describe your day using: "a" for crates of apples "b" for crates of bananas and "g" for crates of grapes? make sure the expression is in simplest form question 2 (3 points) explain your steps using sentences.
Answers: 1
You know the right answer?
Onsider a square defined by −1 ≤ x, y ≤ 1 with a circle inside it with radius r = 1. the area of the...
Questions
question
Arts, 18.02.2021 01:00
question
Mathematics, 18.02.2021 01:00
question
Mathematics, 18.02.2021 01:00
Questions on the website: 13722361