Triangle Solver, by Adam Wenocur

This is a simple BASIC program for the TI-82, TI-83, and TI-89/92+ calculators which finds the measures of three angles or sides based upon three entered by the user.  Under certain conditions, the program will respond "no such triangle", indicating that no specific triangle could be found for the parameters entered.

When prgmTRIANGLE or triangle() is entered from the home screen, there is a title screen, followed by a split screen where you can enter three measures of a triangle.  Next is a menu.  "Display" will show the triangle graphically, "Show Measures" will do exactly that, and "Save Results" will save the exact values to a list in the order {angle, side, angle, side, angle, side}.

For the TI-82 version, since named lists are not supported, the exact values from the last triangle entered are returned to the home screen after quitting.  You can use this list by storing ANS to a list variable.  This program uses the TI-82 variables A, B, C, D, E, F, G, H, I, X, Y, Z, (theta), L1, L2, L3, L4, L5, and GDB6.

For the TI-83 version, The results are saved to a list called TRIOP.  If you save results, any contents of list TRIOP will be overwritten. This program uses the TI-83 variables A, B, C, D, E, F, G, H, I, X, Y, Z, (theta), and GDB0.

For the TI-89/92+ version, the included .89p file works on either the TI-89 or the TI-92+, and it uses the whole screen on either model.  When saving results, the exact values are saved to the list, so any trigonometric functions or fractional powers used will be saved, opposed to decimal values only.  However, if your input is in decimal form, the saved results may also be in decimal form.  The variable names used for saved results are triop, and triop0 through triop999, allowing you to save up to 1001 triangles before renaming variables.  This program uses no global variables on the TI-89/92+.