How can I calculate the area of this curve?

1 次查看(过去 30 天)
As you can see, there are two curves. First one is R=1, and the other one is y=cos(x). How can I find the area marked with hachure?

采纳的回答

Joseph Lee
Joseph Lee 2017-11-23
编辑:Joseph Lee 2017-11-23
I assume you have the equation for the semicircle as well,
1. Find the intersection points between the two curves, x1 & x2( the two black lines)
2.Find blue area under the cos(x) curve using integration from x1 to x2
3.Find red area under the semi-circle using integration from (x2-1) to x1
4. Add blue and red area = answer
  1 个评论
Arthur II
Arthur II 2017-11-25
编辑:Arthur II 2017-11-25
so this is my way:
with this calculation I found (x1), and x2 is 1.5 then the area:
int y= radikal ( (r^2 - (x+a)^2) x , x1 )
+
int (cos(x), x1, x2)
if that's right, could you please help me to convert these rule to matlab language? actually I'm little bit confused how I can.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by