How can I calculate the area of this curve?

2 views (last 30 days)
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?

Accepted Answer

Joseph Lee
Joseph Lee on 23 Nov 2017
Edited: Joseph Lee on 23 Nov 2017
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 Comment
Arthur II
Arthur II on 25 Nov 2017
Edited: Arthur II on 25 Nov 2017
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.

Sign in to comment.

More Answers (0)

Categories

Find more on Encryption / Cryptography in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!