Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite points
Suppose I'm given
coordinates of two opposite vertices
and
of an
rectangle. And I know the coordinate of the intersection point
of the diagonals
and
of that rectangle.
Is it possible to find the area of the rectangle using this information? If yes what is the procedure for that?
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
No. It's like saying, you're given the length of the hypotenuse of a right triangle. You cannot determine the legs of the triangle given only the hypotenuse.
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
Thanks richard1234. That's all I wanted to know. I've to find another way to compute the area. Again thanks.
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
Quote:
Originally Posted by
Soroban
Yes the rectangle I'm talking about has sides parallel to
and
axis.
In that case how can I calculate the area of the rectangle if I'm given only coordinates of 1 pair of opposite vertices of the rectangle and the centroid?
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
If you know that the opposite vertices are (a,b) and (c,d), and that the sides are parallel to the x- and y-axes. Draw the rectangle first. What are the lengths of the base and height?
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
Hello, x3bnm!
Did you take richard1234's suggestion?
Suppose the coordinate are: . ,\;D(r,s))
Plot the two vertices.
Code:
| B
| *
| (p,q)
|
| D
| *
| (r,s)
|
- - + - - - - - - - - - - - -
|
You can see the rectangle, can't you?
Code:
|
| (p,q)
q * B * - - - - - * C
| : :
| : :
| : :
s * A * - - - - - * D
| (r,s)
|
- - + - - - * - - - - - * - -
| p r
And you can see that the width is
and the height is 
Re: Find the area of a rectangle:Given coordinates of centroid and 1 pair opposite po
I found the solution to my problem. For those who are interested read on:
Suppose there is a
rectangle(sides are parallel to
and
axis) where the coordinates of opposite vertices
is
and the coordinates of
is
.
We can easily get the coordinates of
as
and
as
.
Now it will be easy to calculate the area of rectangle because you have the coordinates of all
vertices.
Thank you richard1234 and Soroban for your help. I really appreciate your help.