11.6.7 Find the orthocenter of a triangle in the plane: orthocenter
The orthocenter command take a triangle (or three
points representing the vertices of a triangle) as argument and returns the
orthocenter of the triangle. Entering
Input:
orthocenter(triangle(0,1+i,-1+i))
or
Input:
orthocenter(0,1+i,-1+i)
draws the point (0,0), the orthocenter of the
triangle.