The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

[HP-Prime - Geometry App] What is wrong with this ?
Message #1 Posted by Jean-Michel on 27 Oct 2013, 5:09 p.m.

Hello

I'm trying to draw a circle circumscribed to a triangle (manually, not by using the pre-programmed function)
Here is the content of the SYMB view (on the real calc):
GA:=point(77.4,32.1)
GB:=point(-44.2,-204.8)
GC:=point(338.2,-145.4)
GE:=segment(GA,GB)
GG:=segment(GB,GC)
GH:=segment(GC,GA)
GD:=triangle(GA,GB,GC)
GI:=perpen_bissector(GE)
GJ:=perpen_bissector(GG)
GK:=perpen_bissector(GH)
GL:=inter(GI,GJ)
GN:=circle(GL,GA-GL) --> that line does not draw anything


Not only it does not work in PLOT view, but also in SYMB view. I can draw any circle involving whatever vertices of the triangle, but not any involving the INTERsection point L, whatever it would be the center or a point of the curve.

Help much appreciated
Kind regards.

      
Re: [HP-Prime - Geometry App] What is wrong with this ?
Message #2 Posted by Edwin on 27 Oct 2013, 5:41 p.m.,
in response to message #1 by Jean-Michel

the command inter() does not return a point, it returns a vector of points, try better single_inter.

...
GL:=single_inter(GI,GJ) 
...
            
Re: [HP-Prime - Geometry App] What is wrong with this ?
Message #3 Posted by Jean-Michel on 27 Oct 2013, 6:26 p.m.,
in response to message #2 by Edwin

Many thanks Edwin.
Too bad this instruction was deeply hidden in the User's Guide. My fault not having read it thoroughly enough.
Kind regards.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall