1 UTILISATION DE MAPLE (Geometrie du plan) with(geometry)
Définitions d'objets
POINT point(A,x,y)
DROITE line(l,[A,B]) où l est le nom de la droite (AB est possible) avec A et B DEJA définis
SEGMENT segment(s1,[A,B]) s1 est le nom du segment avec A et B DEJA définis
TRIANGLE triangle(t,[A,B,C]) t est le nom du triangle avec A , B et C DEJA définis
CARRE square(c,[A,B,C,D]) c est le nom du carré
CERCLE circle(c,[A,B,C],r, 'centername'= L)ou circle(c,[L,r] ) c est le nom du cercle , L est le centre et r le rayon
PARABOLE HYPERBOLE ELLIPSE sont possibles ;voir HELP topic search parabola , hyperbola ,ellipse , conic
Dans un triangle ,précédemment défini par t, on peut définir :
MILIEU midpoint(J,A,B) ;J est le nom du milieu ,A et B les points extrémités
PERPENDICULAIRE PerpendicularLine(p,A,l) p est le nom de la perpendiculaire , A un point déjà créé ,l une droite déjà créée
PARALLELE ParallelLine(p1,A,l1)p1 est la droite considérée ,A un point , l1 une droite déjà créée
HAUTEUR altitude(AH,A,t,H) ;AH est son nom ,A le sommet d'origine ,t le triangle considéré , H est le pied de la hauteur (option)
MEDIANE median(AA1,A,t,A1) ;AA est son nom , A le sommet , t le triangle déja défini , A1 (option) est le milieu du côté opposé
CENTRE DE GRAVITE centroid(G,t) G est le nom du point , t est le triangle dejà défini
ORTHOCENTRE orthocenter(H,t)
CERCLE CIRCONSCRIT circumcircle(c,t)
BISSECTRICE bisector(BB1,B,t,B1) BB1 est le nom de la bissectrice ,B le sommet du triangle t et B1 le pied de la bissectrice
EXEMPLES D 'OBJETS
>
Warning, new definition for AreCollinear
>
>
>
>
name of the object: c
form of the object: circle2d
name of the center: center_c
coordinates of the center: [5/6, 7/6]
radius of the circle: 1/18*25^(1/2)*18^(1/2)
assume that the name of the horizonal and vertical axis are _x and _y
equation of the circle: _x^2+2/3+_y^2-5/3*_x-7/3*_y = 0
>
name of the object: H
form of the object: point2d
coordinates of the point: [4/3, 2/3]
>
>
name of the object: BC
form of the object: line2d
assume that the name of the horizonal and vertical axis are _x and _y
equation of the line: 4-_x-2*_y = 0
>