to find polar curve area
조회 수: 3 (최근 30일)
이전 댓글 표시
Plot the polar curve r = 3(cos 2 θ) and curve r = 2 on the same graph and find the area of
the portion outside the curve r = 2 and inside r = 3(cos 2 θ)
답변 (1개)
Bjorn Gustavsson
2020년 12월 10일
The area of a circle-sector is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/456944/image.png)
Use that for each small sector of your areas, add them up, then change the number of elements in theta and repeat.
댓글 수: 9
Bjorn Gustavsson
2020년 12월 10일
You appear to be very new to matlab. Therefore I suggest that you work through the on-ramp tutorials/course:on-ramp.
Then have a browse through the demos and the help.
For integration the simplest ways are: trapz and integral.
HTH
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!