Alterna · учебный материал
Turtle perpetrator
A turtle on a coordinate plane: mathematical course, exact coordinates, feather, repeat, step-by-step and vehicle-scale.
Что в этом материале
- Command system and status
- Another version of the recording
- One drawing
- Programme
- Coordinate plane
- Repeat and Geometry
- External angle
- Lock
- Pero
- Auto-scale
- Examination boundary
Содержание и основные понятия
♪ Back to the map of themes
Alterna · Chapter 32 · page 32.3
Turtle perpetrator
The status is the exact coordinates, the mathematical course and the position of the pen; the canvas only visualizes the calculation.
Start:
(0, 0)
course
90°
along the positive semi-axle
Oy
The pen is down. Turn to the right reduces the mathematical angle, to the left increases. The plane is endless, so the drawing is automatically scaled.
coordinates
Repeat
EGE framework No. 6
01
Command system and status
вперед 100
движение по текущему курсу
назад 100
движение против текущего курса
вправо 90
курс уменьшается на 90°
влево 60
курс увеличивается на 60°
поднять перо
дальнейшее движение не рисует
опустить перо
дальнейшее движение рисует
повтори 4 … конец повтора
цикл с числом повторений
Another version of the recording
The names "Turtle" and "Terror" teams are used in the task. The logic is the same: only words change, so the simulator understands both records.
Concept
Chapter syntax
Another version of the recording
The perpetrator
Turtle
Turtle
Drawing
поднять перо
/
опустить перо
Поднять хвост
/
Опустить хвост
Turns
вправо a
/
влево a
Направо a
/
Налево a
Backward movement
назад N
Назад N
Repeat
повтори k … конец повтора
Повтори k [ … ]
Accuracy
Coordinates don't round to the whole.
вперед 0,5
90° translates the turtle into
(0; 0,5)
.
02
One drawing
The complete program is building a square. Go step by step and see the coordinates, course and line.
Completed programme
The editor is hidden: additional figures and tasks are in the workshop.
Programme
Coordinate plane
Status
active line
03
Repeat and Geometry
External angle
For the correct n-coefficient, the turn after the side is 360° / n.
Lock
The sum of the external roundabouts is equal to the total turnover of 360°.
Pero
The feather raised does not prohibit movement: coordinates change, but a portion is not added.
Auto-scale
The model keeps world coordinates, and the canvas picks up the scale. The exit from the screen does not distort the answer.
04
Examination boundary
EEG No. 6
This page provides the basis for coordinates and repetitions. In each version of the workshop there is a basic quadratic case of numeracy; full examination tasks can use more complex areas and require separate training.