to find polar curve area

17 次查看(过去 30 天)
Raniya
Raniya 2020-12-10
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
Bjorn Gustavsson 2020-12-10
The area of a circle-sector is:
Use that for each small sector of your areas, add them up, then change the number of elements in theta and repeat.
  9 个评论
Raniya
Raniya 2020-12-10
Hello,thank you for reaching out.It actually worked.Can you please help me code the area?Thank you.
Bjorn Gustavsson
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by