Register to reply 
Point of triangle 
Share this thread: 
#1
Apr504, 05:28 AM

P: 7

OK I have right angled triangle, I no the lenght of the 3 sides. and the position
of two of the points but i wanna be able to figure where the 3rd point is. I attached a rough sort of diagram so u no wot i'm talkin about. I 'm sure there is enuf info there to find the point but i just can't get my head round it Lenght of sides 13, 9 and SQROOT of 13^2 + 9^2 = 16(roughly) Points = Bottom > (273,541) Top > (273,525) Rough Diagram of triangle 


#2
Apr504, 05:30 AM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Do you know how to decompose vectors into components?
 Warren 


#3
Apr504, 05:33 AM

P: 7

I dunno wot that is??
Could u explain??? 


#4
Apr504, 05:37 AM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Point of triangle
A vector is a directed line segment  a distance and a direction.
The components of a vector [itex]\vec u[/itex] on a plane are [itex](l \cos \theta, l \sin \theta)[/itex] where [itex]l[/itex] is the magnitude of the vector. If you don't know how to use vectors, I'm afraid I won't have much luck helping you understand how to solve this problem. I can't think of an easier way to do it, but I'm a little tired right now.  Warren 


#5
Apr504, 05:42 AM

P: 7

Ok thats sound no i don't understand vectors. I'm actually programming it so i mite be able to work another way around it



#6
Apr504, 05:46 AM

P: 988

Your model still allows for two possible points. If only two of the points are fixed, then the third can be as you showed in the diagram or it could be reflected across the line described by the two points.
That being said, you could probably figure it out using slopes. Describe the slopes in terms of the points and stipulate that the slopes satisfy the equation m1m2 = 1. cookiemonster 


#7
Apr504, 05:53 AM

P: 7

I was thinkin i could work it out by gettibg the area and then workin backwards to the answer but i will still have two unknowns so i don't think that will work properlt



#8
Apr504, 05:56 AM

P: 988

Two unknowns? You're going to get two solutions, but you should have only a single unknown.
cookiemonster 


#9
Apr504, 05:58 AM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Well, I really do only see two ways to do this: vector geometry or plain ol' lineequation algebra.
If you have only this one problem to solve, we can give you the solution  but if you need to write code to solve any triangle like this, you're gonna need to bone up on some math. It's pretty tough to write code to do something you don't know how to do by hand.  Warren 


#10
Apr504, 05:58 AM

P: 7

Two solutions thats what i meant, same as.



#11
Apr504, 06:25 AM

P: 7

No i need to write code as of now i just have to solution(point) hard coded into it. I want to be able to work this out so as the triangle can be of any size. I vaucly recall doin vector geometry in skul so i'll have a look at that and see if i can recall how it works



#12
Apr604, 05:45 AM

P: 7

OK i have figured out a way of gettin the x value of the point that i want(see original post), I just got the lenght of the line between that point and the Hypot. side. I did this by using the hypotneuse as the base and this line as the perpindicular height so now that I have the X value. I think by using the distance formula i should be able to work out Y. Would I be right in assuming this, the only problem is it should return two values for Y the bother is the only Y value I can get is the one that I don't want. Could someone please help, Thanks



Register to reply 
Related Discussions  
How do we know if the coordintes of a point lie within and outside a triangle?  General Math  20  
Point In Triangle  General Math  3  
How do I decide if a point is within the triangle  Linear & Abstract Algebra  1  
Point in triangle testing  General Math  8  
Finding a point on a triangle  Introductory Physics Homework  3 