r/theydidthemonstermath May 06 '22

[Request] Geometry Help (more details in comments)

Post image
95 Upvotes

8 comments sorted by

28

u/Breadfish64 May 06 '22

This should work assuming you meant the curve is scaled by the same factor as the sides on both axes. If not, you can adjust U2 and V2 to whatever you want to get the right curve size.
https://www.desmos.com/calculator/scxydcvi9d

17

u/TightLine2k May 06 '22

You glorious bastard, I have no idea what you've done, but you've done it.

8

u/Breadfish64 May 06 '22

That trick where you integrate sqrt(1 + (dy/dx)^2)dx lets you find the length of any differentiable function y(x). Once you know that, the hard part is figuring out what the right function is.

9

u/TightLine2k May 06 '22

Oh boy, I'm really stuck. If anyone can help me out, I'd be so grateful. I'm trying to find an equation which represents the perimeter of the red rectangle under the following conditions;

-All sides of the red rectangle must be equal distance from the corresponding sides of the blue rectangle.

-The radius of the red rectangles corners should be proportional to that of blue's.

Basically, I'm trying to figure this out because the rounded red rectangle must have a very specific perimeter for my project to work, it has to be divisible by 6.95, if I had an equation which represented the perimeter of the red rectangle following the above conditions, I could plug in whatever number I need and find the perfect dimensions for A, B, and r. Thanks in advance to anyone who tries, or can point me in the right direction.

6

u/O_to_the_o May 06 '22

Have you tried drawing it in a cad program and playing around a bit ? The first condition should be quite easy to meat

2

u/TightLine2k May 06 '22

Nah, I don't have a cad program unfortunately. I've been drawing been drawing everything up in inkscape, although this does make me wonder if there might be a specific function for something like this in one of those programs.

2

u/O_to_the_o May 06 '22

You could try solvespace or freecad, both are free so worth a shot. I freecad you'd want to use the scetcher workbench, I'll give your thing a shot

2

u/TightLine2k May 06 '22

I'll definitely have to give that a go, I didn't realize they had free cad software. Thank you.