3. (45 pts) Given the points {(2,4), (7,7), (12,5), (9,2)}, use Monte Carlo simulation to estimate the area of polygon e
Posted: Thu May 05, 2022 1:39 pm
3. (45 pts) Given the points {(2,4), (7,7), (12,5), (9,2)}, use Monte Carlo simulation to estimate the area of polygon enclosed by the points with a sample size of 10,000. Actual area of the polygon for comparison can easily be calculated using the method of determinants (see the lecture notes). Submit: (a) Script file named nine one.m. (b) A plot of the random points that fall within the enclosed area and outside. (c) Your output indicating Number of points, Actual area, area estimated by the MC Method.