Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Trigonometry and 2d

Author
Message
BadMonkey91
22
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 21st Oct 2004 05:49
I'm having trouble in couple different areas, and was hoping some math genious could pull me thru.

I have two points, and from that I want to create a triangle, to determine an angle. The problem is, I can't figure the code to find the length between the two lines, and I'm rusty on my trig.

If you could help, it would be much appreciate!

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Oct 2004 08:36
you need 3 points to make a triangle. 2 points only gets you 1 line.

"eureka" - Archimedes
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st Oct 2004 23:54
Try this and see if it is what you want



Boo!
BadMonkey91
22
Years of Service
User Offline
Joined: 13th Jan 2004
Location:
Posted: 22nd Oct 2004 08:36
thanks alot spooky!

that's just what I needed, I was messing with arctan earlier today, with no luck.

I owe you one.

Login to post a reply

Server time is: 2026-06-12 03:35:00
Your offset time is: 2026-06-12 03:35:00