Overall Semester Learning
One new part of mathematics that I learned this year was how math and computer programming are extremely connected. It's really just like a lot of other parts of mathematics. Calculus can't go without algebra, circles are made of trigonometry, and in this case computers need a lot of varieties of math to run and do what they do. For one of the projects I did this semester I made a computer program that made a looping sine wave that could slow down or completely stop the program. All of the equations to make the dot move had to be precise and synced together so that it would work fluidly. The computer language I used was very new to me seeing as I was learning while making the project. It was a good thing that there were examples of simple programs that showed how to make a sine wave on the internet because otherwise I would have gotten fairly lost in it all. Here's the part that shows how the small circle moves along the line.
ellipse(xPos, 225*sin(freq*xPos)+height/2, 10, 10);
This says that it will always move along whatever number the variable xPos is and depending upon that variable it would change its height. There was a bug from the beginning of the program that made it so that the starting xPos would change a little bit every time making it so that over time the pattern would continue but the position of the dot would be a bit further ahead.