Does anyoe know how to coding angle degree of 3 point in triangle .. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Does anyoe know how to coding angle degree of 3 point in triangle ..

plz help

3rd Jun 2017, 7:42 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
11 Answers
+ 12
Sorry for the epic delay in response: https://code.sololearn.com/czSfVZvBnq2O/?ref=app
5th Jun 2017, 4:18 AM
Hatsy Rei
Hatsy Rei - avatar
+ 12
I'll try to code a sample. In the meantime, please read these links: https://www.mathsisfun.com/algebra/trig-solving-triangles.html http://www.cplusplus.com/reference/cmath/
3rd Jun 2017, 8:47 AM
Hatsy Rei
Hatsy Rei - avatar
+ 11
Sample code added to original answer.
3rd Jun 2017, 9:15 AM
Hatsy Rei
Hatsy Rei - avatar
+ 10
We need to at least know the length of each side of the triangle. The angle calculation should then follow the trigonometry rules. We have built-in functions for them. Look into <cmath>. Sample code: https://code.sololearn.com/cfX1WWuX8eYD/?ref=app
3rd Jun 2017, 8:32 AM
Hatsy Rei
Hatsy Rei - avatar
+ 9
Currently outside. Will respond to this thread once I get back.
3rd Jun 2017, 11:13 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
ouh ... right got it ... thanks a lot
3rd Jun 2017, 8:37 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
+ 2
cant find the coding ? .. any link ?
3rd Jun 2017, 8:42 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
+ 2
act , the task ask to get 3 angle degree from 3 point coordinate of triangle A(x,y) ,B(x,y), C(x,y) .. thanks .. very appercriate ...
3rd Jun 2017, 10:47 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
+ 2
😀😀😀😀 thankssss for the help ... 👍👍👍👍
5th Jun 2017, 4:28 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
+ 1
but , how to find length if given only coordinate of 3 point in triangle ?
3rd Jun 2017, 10:41 AM
Hamirul Hafizal
Hamirul Hafizal - avatar
+ 1
alright
3rd Jun 2017, 1:31 PM
Hamirul Hafizal
Hamirul Hafizal - avatar