Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Edit</strong>: My Mathematica answer below is wrong - I was solving a slightly different problem than what I think you are really asking.</p> <p><strong>To solve the problem you are really asking, I would use the following algorithm(s):</strong></p> <p><strong><a href="http://iasl.iis.sinica.edu.tw/webpdf/paper-1984_On_the_maximum_empty_rectangle_problem.pdf" rel="nofollow noreferrer">On the Maximum Empty Rectangle Problem</a></strong></p> <p>Using this algorithm, denote a finite amount of points that form the boundary of the rotated rectangle (perhaps a 100 or so, and make sure to include the corners) - these would be the set S decribed in the paper.</p> <p>.</p> <p>.</p> <p>.</p> <p>.</p> <p>.</p> <p>For posterity's sake I have left my original post below:</p> <p>The inside rectangle with the largest area will always be the rectangle where the lower mid corner of the rectangle (the corner near the alpha on your diagram) is equal to half of the width of the outer rectangle.</p> <p>I kind of cheated and used Mathematica to solve the algebra for me:</p> <p><img src="https://i.stack.imgur.com/KZplK.jpg" alt="enter image description here"></p> <p>From this you can see that the maximum area of the inner rectangle is equal to 1/4 width^2 * cosecant of the angle times the secant of the angle.</p> <p>Now I need to figure out what is the x value of the bottom corner for this optimal condition. Using the Solve function in mathematica on my area formula, I get the following:</p> <p><img src="https://i.stack.imgur.com/HnLgy.jpg" alt="enter image description here"></p> <p>Which shows that the x coordinate of the bottom corner equals half of the width.</p> <p>Now just to make sure, I'll going to test our answer empirically. With the results below you can see that indeed the highest area of all of my tests (definately not exhaustive but you get the point) is when the bottom corner's x value = half of the outer rectangle's width. <img src="https://i.stack.imgur.com/xKJHh.jpg" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload