Skip to main content

All Questions

0 votes
1 answer
2k views

Calculate largest square in rectangle with a given vertex

There are two points (x1, y1) and (x2, y2), each of which can be any real integer pair. These define a rectangle R with vertices {(x1, y1), (x2, y2), (x1, y2), (x2, y1)}. The rectangle exists in a ...
AaronF's user avatar
  • 101