Given the area, A, of a star polygon formed by the rectangle, with dimensions L×2L, and four triangles, with height h from their bases to the vertices, find the rectangles that have the same area, A, and cover the distance between opposite vertices (cf. figure below).
Given (A, L), return the 2x2 matrix M, where
  • the first row returns the dimensions, y1×y2, of the rectangle that covers the minimum distance (cf. left figure);
  • the second row returns the dimensions, z1×z2, of the rectangle that covers the maximum distance (cf. right figure).
input: (A, L)
output: M = [y1 y2; z1 z2]

Solution Stats

13 Solutions

10 Solvers

Last Solution submitted on Mar 21, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers10

Suggested Problems

More from this Author19

Problem Tags

Community Treasure Hunt

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

Start Hunting!