I have two identical rectangles. I'm wanting to rotate one rectangle by either + or - $30^\circ$ about its center point. Then calculate the dimensions required to stretch the rotated rectangle out equally from its center point to cover the other rectangle completely.
I can calculate the width of rotated rectangle using a square root I was hoping someone could help with calculating the height required.
I hope the following will help illustrate what I mean; essentially I can't figure out how to calculate the red line.
The length will change dependent on angle and the dimensions of the original rectangle.