MATLAB Answers

How to calculate the area enclosed by these 2 curves ?Image attached below....

1 view (last 30 days)

Accepted Answer

John D'Errico
John D'Errico on 20 Mar 2017
Edited: John D'Errico on 20 Mar 2017
Easy.
1. Convert the curves to cartesian coordinates, NOT polar coordinates.
2. Use polyarea.
If you tried to use polyarea on points in polar form, the result would not be correct. So you could not pass in an angle and radius, and hope that polyarea would be smart enough to know how to solve it.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!