The length of the side of a square is given.
Draw 4 quarter-circles inside the square from 4 corners with a radius equal to the side length.
What is the area of the confined region inside(shaded region in figure).
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6802 Solvers
-
2530 Solvers
-
Project Euler: Problem 10, Sum of Primes
2122 Solvers
-
Generate N equally spaced intervals between -L and L
953 Solvers
-
Create an anti-identity matrix
202 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!
The image is missing at the link. This code will produce the image:
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);
c1 = c(t>=pi/6 & t<=pi/3); s1 = s(t>=pi/6 & t<=pi/3);
plot(c,s,'k',1-c,s,'k',c,1-s,'k',1-c,1-s,'k')
fill([c1 1-fliplr(c1) 1-c1 fliplr(c1)],[s1 fliplr(s1) 1-s1 1-fliplr(s1)],'y')
axis equal; box off; set(gca,'XTick',[],'YTick',[],'XColor','w','YColor','w')