Just incase anyone has downloaded the program and their AV has popped up regarding running Gauss.exe, I can reassure you that my program has no mallicious code in it at all. You can see the sourcecode yourself and also compile it yourself if you really want to.
It is likely caused by the bodged clearning of the screeen piece of code I used -system("cls");-. I will clear the code up. At the moment I am just seeing if I can get it working.
Hi guys, I have come across a problem with the code. Both variants of the code, doug4's code and the original, have problems computing angles where the triangle is Acute angled. Not only is the computation incorrect however the angles do not even sum to 180!
Does something strange happen with the sine/cosine rule when acute angles are involved?
Remember that the range of asin is -pi/2 to +pi/2.
By the way:
The range of acos is 0 to +pi.
The range of atan2 is -pi to +pi.
You will have to use one of the other functions to tell you which quadrant the angle is in and then determine whether the value is (angle) or (pi - angle).