Problem 61082. Slicing the area of a circle

Given the area, A, of a square, consider a circle having the area, πA, and the radius, r.
For a given slicing number n>1, find the (n+1)×2 matrix, M = [A1/π a1; A2/π a2; ...; An/π an; A_r L], where
  • in the first row (i=1), A1 stands for the area of one slice (like a pizza slice), and a1 stands for the logical 1 if A1 is smaller than or reaches the square's area A or a1 stands for the logical 0 if A1 surpasses A;
  • in the second row (i=2), A2 stands for the area of two slices and a2 has the same previous false-true meaning relative to the areas A2 and A;
  • and so on, until last slice of the circle;
  • in the last row (i=n+1), A_r is the area of the rectangle, with dimensions L×r, which contains the maximum possible number of slices, such that have the true meaning of their sum has the area smaller or equal than the square's area, in their adjacent arrangement.
Hint: Compare with Problem 61081.
input: (A,n)
output: M = [A1/π a1; A2/π a2; ...; An/π an; A_r L]

Solution Stats

0.0% Correct | 100.0% Incorrect
Last Solution submitted on Nov 24, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers0

No solvers yet, be the first player to solve this problem.

Suggested Problems

More from this Author5

Community Treasure Hunt

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

Start Hunting!