You are viewing a single comment's thread. Return to all comments →
A = abs (0.5 * sum(x(i)*y(i+1) - x(i+1)*y(i), i, 0, n-1))
I implemented the above formular in clisp. Passed all tests.
Seems like cookies are disabled on this browser, please enable them to open this website
Compute the Area of a Polygon
You are viewing a single comment's thread. Return to all comments →
A = abs (0.5 * sum(x(i)*y(i+1) - x(i+1)*y(i), i, 0, n-1))
I implemented the above formular in clisp. Passed all tests.