Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Pre-University Math Help > Trigonometry
Reply
 
Thread Tools Display Modes
  #1  
Old May 20th, 2009, 06:23 AM
ave ave is offline
Newbie
 
Join Date: May 2009
Posts: 7
Country:
Thanks: 2
Thanked 0 Times in 0 Posts
ave is on a distinguished road
Default help determining angle

iv used the following formula to work out an angle between 2 points in 3d space

cos t =((x1 * x2)+(y1*y2)+(z1*z2) )/ sqrt((x1*x1)+(y1*y1)+(z1*z1)) * sqrt((x2*x2)+(y2*y2)+(z2*z2))

which works fine, I now need to know if the angle returned is a positive angle or negative one
Reply With Quote
Advertisement
 
  #2  
Old May 20th, 2009, 03:38 PM
MHF Contributor
 
Join Date: Apr 2005
Posts: 3,301
Thanks: 291
Thanked 1,161 Times in 1,063 Posts
HallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud ofHallsofIvy has much to be proud of
Default

Quote:
Originally Posted by ave View Post
iv used the following formula to work out an angle between 2 points in 3d space

cos t =((x1 * x2)+(y1*y2)+(z1*z2) )/ sqrt((x1*x1)+(y1*y1)+(z1*z1)) * sqrt((x2*x2)+(y2*y2)+(z2*z2))

which works fine, I now need to know if the angle returned is a positive angle or negative one
The angle is positive. If cos t itself is negative, that means t is between pi/2 and pi radians.
Reply With Quote
The following users thank HallsofIvy for this useful post:
Donate to MHF
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 01:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.