# HP Forums

Full Version: Triangle Solver App
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
if a=1, b= 2, c= 3 returns
A=0, B=0, C=180 ?

HP Prime Triangle solver

Cyrille explains the need to support degenerate triangles.

Mark Hardman
(10-15-2016 01:53 AM)Mark Hardman Wrote: [ -> ]Cyrille explains the need to support degenerate triangles.

I think it should display a message warning that

and when the solution determines, that is a triangle an option to draw

 [Degree] [Solve][Draw]
It is definitely a triangle. Surface A=0 perimeter P=6

Very useful to demonstrate that sin(0°)=0 and cos(0°)=1

You should notice for yourself that the angles are 0°, 0° and 180°, no need the Prime says it to you.
Messages should be more explicit and graphic must be real

Ideas to improve application: TRIaNGLE SOLVER HP-PRIME

1: should regraphed after solving (VIEW RIGHT PART )

2: labels must specify the angles between which sides are located

ANGLES
A: (b∠c)
B: (c∠a)
C: (a∠b)

SIDES
a: (CB)
b: (CA)
c: (AB)

3: Solution
Case 1: Show. "Solution found: degenerate triangle"

Case 2: Show. "No solution ... does not form a triangle, the sides are not closed"

https://en.wikipedia.org/wiki/Degeneracy_(mathematics)
Triangle Calculator is a very good application that solves triangles with a very friendly GUI, the most interesting out of which graph the result using the famous application GeoGebra (http://www.geogebra.com), is that the empty input fields in real time predict values or domain in which the user must enter (pre-solution), Plus 5 more fields of solution, heights, perimeter and area, I would like to see this same within the application of hp-prime =)

GUI

Graph with Geo-Gebra online

Info spn
A degenerate triangle is a triangle. A non-triangle is one where the sum of any two sides is less than the remaining side. As for the picture, the picture is simply to provide users with the knowledge that angle C is opposite of leg c (similarly for A, a, B, and b). It is not meant to be drawn to scale as it represents a generic case (and a degenerate triangle is, by definition, non-generic). This eliminates having to use the labels that you describe, because it should be very clear from the diagram. It's even color-coded!
I update the images, the graphics should be on the right as Quadratic explorer app

Info on: Solution of triangles
https://en.wikipedia.org/wiki/Solution_of_triangles

HP Prime and HP 50g: Spherical Triangles
http://edspi31415.blogspot.com.co/2015/0...ngles.html
The mathematical software also shows a visualization of the results

https://www.wolframalpha.com/input/?i=1+2+3+triangle

Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :