Programming


logo

here's what I learned to do today in logo:

loops

loops are very useful if you have to do something over and over.

variables

i used variables when i wanted to change the value of a number like "sidelength" .

conditionals

conditionals are "IF" statements. i used them when i wanted a ball to bounce if it hit the edge of the screen.

functions

functions organize your code, like this star function:

















Numerical integration


Today we used Python to find the area under a function by splitting it up into rectangles