This is a follow up of the problem
https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06
in this case, find the total area of the lobes i.e. the area confined by the arcs drawn.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers17
Suggested Problems
-
Given a matrix, swap the 2nd & 3rd columns
1256 Solvers
-
285 Solvers
-
Matlab Basics II - Count rows in a matrix
404 Solvers
-
Find minimum and maximum elements of an array
144 Solvers
-
find a specific element from an matrix
118 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I recomend solving at first the previous problem, then this one becomes easy.
The figure for this problem is missing. This code will show the area to be computed:
clear; close all
figure; hold on
plot([0 1 1 0 0],[0 0 1 1 0],'k')
t = linspace(0,pi/2); c = cos(t); s = sin(t);
fill([c 1-c],[s 1-s],'y')
fill([1-c c],[s 1-s],'y')
plot(c,s,'k',1-c,s,'k',c,1-s,'k',1-c,1-s,'k')
axis equal; box off; set(gca,'XTick',[],'YTick',[],'XColor','w','YColor','w')