Here's what I learned to do in Logo:
Loops are very useful if you have to do something over and over.
I used variables when I wanted to change the side length of a shape.
Conditionals are "IF" statements. I used them when I wanted a sprite to bounce if it hit the edge of the screen.
Functions organize your code, like when drawing a spiral of stars:
Here's a fractal I made using recursion:
On Thursday I learned to put my math functions into Logo:
In the Command Center I made the computer crunch the numbers:
On Thursday of Week 2 we programmed the turtles to make nested triangles.
Here is the code to make the triangles:
We set the turtles up so that they would be at a specific place and pointing in a specific angle:
This is the final product after setting up the code for the triangles and turtles:
On Wednesday of Week 2 we finally got to program in Python!
In Python we wrote a program to convert binary numbers to decimals.
It took a lot of coding, but it converted a few numbers from binary to decimal:
We also wrote a program to calculate the value of an integral with different numbers of rectangles: