| ReggaetonKing |
May 25th, 2007 12:44 PM |
Finding All Sides and Angles of a Triangle
1 Attachment(s)
In my Trig class, we are going over Laws of Sin and Heron's Formula. I am making a program where a user can enters the angles and the side of a oblique triangle and whatever is left blank the program will calculate the rest sides and angles that the user did not enter.
My program can also calculate the area if all the sides of the triangle are given.
Knowing the math and formulas is not a problem for me, The problem is just figuring out which sides and/or angles to calculate. Instead of having a thousand if statements!
Here is my source for far. I attached a .zip file containing my source.
Help will be greatly appreciated!
|