xxxxxxxxxx
Xmin = -5
Xmax = 5
Ymin = -1
Ymax = 9
A2 = [-5,-1]
C2 = [-5,-0.5]
function graphe(){
couleur = noir
trait = 1
cercle(C2,0.5)
trait = 0.5
point(A2)
}
function rotation(){
trait = 1.2
couleur = blanc
cercle(C2,0.5)
couleur = rouge
trait = 0.5
point(A2)
A2 = rotation2d(C2,a2,A2)
xxxxxxxxxx
Xmin = -5
Xmax = 5
Ymin = -1.2
Ymax = 8
A = [-5,-1]
B = [-4,-1]
C = [-4,0]
D = [-5,0]
function graphe(){
couleur = noir
trait = 0.2
point(A)
point(B)
point(C)
point(D)
trait = 1
segment(A,B)
segment(A,D)
segment(B,C)
segment(C,D)
}
function rotation(){
trait = 1.2
couleur = blanc
segment(A,B)
segment(A,D)
segment(B,C)
xxxxxxxxxx
Xmin = -5
Xmax = 5
Ymin = -1.3
Ymax = 8
A1 = [-5,-1]
B1 = [-4,-1]
C1 = [-4.5,-0.13]
function graphe(){
couleur = noir
trait = 0.2
point(A1)
point(B1)
point(C1)
trait = 1
segment(A1,B1)
segment(B1,C1)
segment(C1,A1)
}
function rotation(){
trait = 1.2
couleur = blanc
segment(A1,B1)
segment(B1,C1)
segment(C1,A1)
E1 = [(A1[0]+C1[0]+B1[0])/3,(A1[1]+C1[1]+B1[1])/3]