Here we just plugged in the program to find the nth Fibonacci number
Here we have a script with cars moving from lot A to lot B and vise versa. Intially we had a 'a' where there is currently a 'c'. This did not work because it was getting confused with the new and old value. Here 'c' is the updated value of 'a'
Then we graphed it, putting the script in loop. A is the red circles and B is the blue diamonds.
Then we moved back to the Fibonacci sequence, making it recursive instead of using an equation- so apply what we learned in the car exercise.
then we graphed it
No comments:
Post a Comment