Mediul de programare MSWLogo:

1) Descarcati arhiva zip pe hard-disk
2) Dezarhivati arhiva
3) Lansati logo32.exe

Programarea LOGO:
Sumar al comenzilor LOGO:

Desenarea poligoanelor:

Aplicaţii LOGO:

Poligoane


One of the easiest things to do in logo is use the turtle to draw various polygons. You can notice that in order to draw a closed polygon, the turtle has to walk around the edges, eventually turning through 360 degrees before coming back home. Since the turtle makes N turns for an N-sided polygon, the size of each turn in 360/N degrees.
polygo2.gif

Triangle (3 sides) Turtle Turns 120º

  • REPEAT 3 [FD 100 RT 120]

polygo3.gif
  • Square (4 sides) Turtle Turns 90º

  • REPEAT 4 [FD 100 RT 90]

polygo4.gif
  • Pentagon (5 sides) Turtle Turns 72º

  • REPEAT 5 [FD 100 RT 72]

polygo5.gif
  • Hexagon (6 sides) Turtle Turns 60º

  • REPEAT 6 [FD 100 RT 60]

polygo6.gif
  • Septagon (7 sides) Turtle Turns 51º

  • REPEAT 7 [FD 100 RT 51]

polygo7.gif
  • Octagon (8 sides) Turtle Turns 45º

  • REPEAT 8 [FD 100 RT 45]