subject
Mathematics, 06.03.2020 19:32 jordynp2615

Compute the area of a polygon One of the most important mathematical problems through all times has been to find the area of a polygon. For example, real estate areas often had the shape of polygons, and the tax was proportional to the area. Suppose we have some polygon with vertices ("corners") specified by the coordinates (x1,y1), (x2,y2), ..., (xn, yn), numbered either in a clockwise or anticlockwise fashion around the polygon. The area A of the polygon can amazingly be computed by just knowing the boundary coordinates: A=12|(x1y2+x2y3+⋅⋅⋅+xn−1yn+xny1)−(y 1x2+y2x3+⋅⋅⋅+yn−1xn+ynx1)|. Write a function polygon_area( x, y ) that takes two coordinate lists with the vertices as arguments and returns the area.

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 19:40
Suppose that 3% of all athletes are using the endurance-enhancing hormone epo (you should be able to simply compute the percentage of all athletes that are not using epo). for our purposes, a “positive” test result is one that indicates presence of epo in an athlete’s bloodstream. the probability of a positive result, given the presence of epo is .99. the probability of a negative result, when epo is not present, is .90. what is the probability that a randomly selected athlete tests positive for epo? 0.0297
Answers: 1
question
Mathematics, 21.06.2019 23:00
Y= 4x + 3 y = - 1 4 x - 5 what is the best description for the lines represented by the equations?
Answers: 1
question
Mathematics, 22.06.2019 01:10
Jobs and productivity! how do retail stores rate? one way to answer this question is to examine annual profits per employee. the following data give annual profits per employee (in units of 1 thousand dollars per employee) for companies in retail sales. assume σ ≈ 4.0 thousand dollars. 3.7 6.7 3.6 8.5 7.5 5.9 8.7 6.4 2.6 2.9 8.1 −1.9 11.9 8.2 6.4 4.7 5.5 4.8 3.0 4.3 −6.0 1.5 2.9 4.8 −1.7 9.4 5.5 5.8 4.7 6.2 15.0 4.1 3.7 5.1 4.2 (a) use a calculator or appropriate computer software to find x for the preceding data. (round your answer to two decimal places.) thousand dollars per employee (b) let us say that the preceding data are representative of the entire sector of retail sales companies. find an 80% confidence interval for μ, the average annual profit per employee for retail sales. (round your answers to two decimal places.) lower limit -- thousand dollars upper limit -- thousand dollars (c) let us say that you are the manager of a retail store with a large number of employees. suppose the annual profits are less than 3 thousand dollars per employee. do you think this might be low compared with other retail stores? explain by referring to the confidence interval you computed in part (b). yes. this confidence interval suggests that the profits per employee are less than those of other retail stores. no. this confidence interval suggests that the profits per employee do not differ from those of other retail stores. correct: your answer is correct. (d) suppose the annual profits are more than 6.5 thousand dollars per employee. as store manager, would you feel somewhat better? explain by referring to the confidence interval you computed in part (b). yes. this confidence interval suggests that the profits per employee are greater than those of other retail stores. no. this confidence interval suggests that the profits per employee do not differ from those of other retail stores. (e) find an 95% confidence interval for μ, the average annual profit per employee for retail sales. (round your answers to two decimal places.) lower limit 3.75 incorrect: your answer is incorrect. thousand dollars upper limit 6.41 incorrect: your answer is incorrect. thousand dollars
Answers: 3
question
Mathematics, 22.06.2019 02:40
Exercise: counting committees 0.0/2.0 puntos (calificable) we start with a pool of n people. a chaired committee consists of k≥1 members, out of whom one member is designated as the chairperson. the expression k(nk) can be interpreted as the number of possible chaired committees with k members. this is because we have (nk) choices for the k members, and once the members are chosen, there are then k choices for the chairperson. thus, c=∑k=1nk(nk) is the total number of possible chaired committees of any size. find the value of c (as a function of n ) by thinking about a different way of forming a chaired committee: first choose the chairperson, then choose the other members of the committee. the answer is of the form c=(α+nβ)2γn+δ. what are the values of α , β , γ , and δ ?
Answers: 3
You know the right answer?
Compute the area of a polygon One of the most important mathematical problems through all times has...
Questions
question
Mathematics, 26.09.2019 08:30
question
Social Studies, 26.09.2019 08:30
question
History, 26.09.2019 08:30
question
Social Studies, 26.09.2019 08:30
question
History, 26.09.2019 08:30
Questions on the website: 13722367