Problem 45349. Area-07
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 21 Sep 2020
I recomend solving at first the previous problem, then this one becomes easy.
ChrisR
on 13 Jan 2023
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')
Problem Recent Solvers17
Suggested Problems
-
2757 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
449 Solvers
-
304 Solvers
-
Is this triangle right-angled?
4749 Solvers
-
Matlab Basics - Convert a row vector to a column vector
563 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!