Point in a rectangle given angles only

In summary: The other way is to use a computer program that can find the x and y coordinates.In summary, the author attempted to solve a problem but failed.
  • #1
Hepth
Gold Member
464
40

Homework Statement



Imagine you're given a rectangle, with lengths LX and LY.

Now we place a point somewhere inside this rectangle, we don't know where it is.
What we DO know, is the angle between lines from the corners to that point. (such that if it was at the center, and the point a square, every angle would be 90, or pi/2)

Is there a way to calculate, from given angles, the x and y position of this point.

The Attempt at a Solution



I tried by hand and mathematica. I can't seem to do it, neither can mathematica. Has anyone seen or tried this before?

Ill draw it up just in case you don't understand the question.

Find the coordinates ->ABCD are the full angles from semi-diagonal to semi-diagonal. The straight lines are just for seeing xo and yo.
 

Attachments

  • rect.jpg
    rect.jpg
    10.3 KB · Views: 406
Physics news on Phys.org
  • #2
You are aware that even if/when you solve it, there will generally be four locations by symmetry, right?
 
  • #3
Yes, but that isn't an issue. I can resolve that because, like I said this isn't really a problem, and I SORT of know which lengths of diagonals are larger than the others, but not their size. From which info I can sort it out.

Has anyone tried this? I feel like, since there are three independent angles that should give us MORE than enough information about the point, but I think it ends up being a solution to some transcendental equations.
 
  • #4
I think sometimes 2 of the angles is enough. I programmed it up in Maple. It choked trying to find an explicit solution. When I put in specific numbers it sometimes gave me a numeric solution that looked right when I plotted it, but sometimes it gave me a clearly wrong "solution". Not much help I'm afraid. If you have a specific set of numbers I could try them. Otherwise, it doesn't look good.
 
  • #5
I figured it out. Basically you need to do it by had with the tangents and recognize that Tan[ArcTan[x]+ArcTan[y]]== (x+y)/(1-xy)

Reminds me of special relativity... hehe :)

But with that you can avoid all of the matlab/mathematica's internal problems, throw in a bunch of absolute values, and get a solution, though its really ugly.

I ended up going a different route though, using two other angles, because it would be less calculations per second.
 

What is a "Point in a rectangle given angles only"?

A "Point in a rectangle given angles only" refers to the problem of finding the coordinates of a point within a rectangle, using only the angles of the rectangle and no other information.

What is the purpose of solving this problem?

The purpose of solving this problem is to determine the precise location of a point within a rectangle, which can be useful in various applications such as computer graphics, navigation, and surveying.

Is it possible to find the point's coordinates with just the angles?

Yes, it is possible to find the coordinates of a point within a rectangle using only the angles. This can be done by applying trigonometric functions and solving a system of equations.

What are the key steps in solving this problem?

The key steps in solving this problem are identifying the given angles and corresponding sides of the rectangle, setting up and solving a system of equations using trigonometric functions, and finally determining the coordinates of the point.

Are there any limitations to this method of finding a point in a rectangle?

Yes, there are limitations to this method as it assumes the rectangle is a perfect shape with no irregularities. It also does not take into account any other information, such as the length or width of the rectangle.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
3
Views
833
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
966
  • Precalculus Mathematics Homework Help
Replies
11
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
886
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
22
Views
3K
  • Introductory Physics Homework Help
Replies
5
Views
2K
Replies
1
Views
1K
Back
Top