0

I have been struggling to create the inverse of another equation mentioned on this website: Calculate dimensions of square inside a rotated square

Relevant image:

Can't put an image here so a link instead

Supposedly this solves the opposite problem but I have no idea what "s" means as "L" is what they are looking for.

$$s = \frac{L}{\cos \theta + \sin \theta},$$

I know the dimensions of the square inside and would like to know the minimum size outer square to cover the inner square. Bonus points for derivation and support for any rectangle surrounded by a square. If it makes it any easier then I will be using a fixed angle of 10 degrees but may change that so taking in an angle is better.

Shuri2060
  • 4,353
Andy A
  • 13

1 Answers1

0

$s$ is the side of the small square and $L$ is the side of the large square. You want $L=s(\cos \theta + \sin \theta)$

Ross Millikan
  • 374,822
  • Just as I step away for lunch, that sounds like a good shout, will give it a go when I get back and give you up votes and such assuming it all works. – Andy A Aug 13 '17 at 15:28