Where C is the circumference of a circle and $\pi$(pi) is equal to
In terms of LOGO it means that circles of any diameter, radius or
circumference can be drawn. Consider the following procedure:
TO CIRC :C
REPEAT 360 [ FD :C/360 RT 1]
What do you think this is about?
Once decided, trace the procedure through in your mind's eye.
If you can, talk to others about what you think is happening. If in
doubt out check your thoughts by typing in the procedure and
testing what it does. N.B. Pi is a primitive approximately equal to
Try CIRC 314
For now experiment by changing:
The number of times you repeat the instruction (360) Or the length
of the circumference (:C) Or the amount of turn done after each
forward movement (1 degree)
Alternatively you might like to consider the next procedure:
TO CIR :D
REPEAT 360 [FD :D*PI/360 RT
Try the following CIR 100
What do you notice now?