Alex S.

asked • 01/21/23

Calculating aspect ratio limits of rotated rectangle within a rectangle

Hello !


I was wondering if there would be an equation for this sort of a problem or if the solution might need to be brute forced by approximation.


example image: https://imgur.com/a/NI6DJli


There is a rectangle A of a known size in a 4:3 aspect ratio.Centered inside of A there is another rectangle B also of 4:3 aspect ratio, which is of variable size and variable rotation. In my example IMG B is 40x30 and rotated by 30 degrees.I would like to calculate by how much I can make the aspect ratio of B "wider" so that it would retain the areaa size and touch the "boundaries" set by A.


I know how to calculate the distance from the corner of B to A, if following the line of B. However whenever I change the ratio the distance changes. And that left me a bit bewildered on how to go about what is the relationship between the ratio and the distance.


Thank you very much for any possible thoughts !

1 Expert Answer

By:

Stanton D. answered • 01/23/23

Tutor
4.6 (42)

Tutor to Pique Your Sciences Interest

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.