JakubST Posted July 2, 2013 Share Posted July 2, 2013 Hi. I know values of a and b. How to calculate the value of angle Alpha? $tangent_alpha = tan(a/b); $alpha = ????? Regards! Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/ Share on other sites More sharing options...
ginerjm Posted July 2, 2013 Share Posted July 2, 2013 For this exercise, this has to be a right triangle, correct? Therefore the other two angles have to be 30 & 60. Take it from there. And find a 10th grade math forum for more help Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/#findComment-1439075 Share on other sites More sharing options...
JakubST Posted July 2, 2013 Author Share Posted July 2, 2013 This is right triangle like on a drawing. Therefore the other two angles have to be 30 & 60. Not true. And find a 10th grade math forum for more help Really very usefull answer Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/#findComment-1439081 Share on other sites More sharing options...
JakubST Posted July 2, 2013 Author Share Posted July 2, 2013 For other then ginerjm: $alpha = rad2deg(atan($a/$b)); //alpha in degrees Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/#findComment-1439086 Share on other sites More sharing options...
Barand Posted July 2, 2013 Share Posted July 2, 2013 For this exercise, this has to be a right triangle, correct? Therefore the other two angles have to be 30 & 60. Take it from there. And find a 10th grade math forum for more help gingerjm, you really should take your own advice Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/#findComment-1439137 Share on other sites More sharing options...
ginerjm Posted July 3, 2013 Share Posted July 3, 2013 You know - you are absolutely correct. I'm going to leave this site. Too frustrated by the caliber of people's attitudes towards teaching themselves something instead of seeking work done by others. Thought I could be of help here, but instead my own principles have made me come across badly here. This topic exemplifies that totally. I apologize to those reading this topic for my off-the-cuff response here. (Can you believe I was a math major 40 years ago?) Good luck to all you newbies. Link to comment https://forums.phpfreaks.com/topic/279794-how-to-calculate-the-angle-of-the-triangle/#findComment-1439185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.