COMPSCI 61A Lecture Notes - Lecture 9: Sierpinski Triangle, Ios 11, Augmented Reality
COMPSCI 61A verified notes
9/20View all
Document Summary
The future of buying glasses no need to go in ! . Like animoji on the new iphones, but virtually trying on glasses using augmented reality. Sort of like an amazon distributor so has all frames available. Midterm has passed, hope all went well :) Recursive is a function that calls itself directly or indirectly. When implicating the function you may have to call the same function in order to actually apply the function. Sierpinski triangle is example of recursion because is made up of repeating versions of itself. Zoom in and will still get a sierpinski triangle. Recursive functions helpful for when notice that within a function, need to do the same problem over and over again (like iteration) but in smaller and smaller parts. Ex: with summing the digits of a number, can sum the first 2 digits, then reach the same problem of needing to sum the remaining digits.