1 Modify the gameoflife.py program to prompt the user for the grid size and the number of generations to evolve. 2 Use your program from Exercise 2.4 to experiment with the initial con_gura- tions...


1 Modify the gameoflife.py program to prompt the user for the grid size and the number of generations to evolve.


2 Use your program from Exercise 2.4 to experiment with the initial con_gura- tions shown in Figure 2.15. Answer the following questions for each con_gu- ration using a variety of grid sizes and assuming no more than 10 generations.


(a) Does the con_guration die out?


(b) Does the con_guration become stable?


(c) Does the con_guration become an oscillator?


(d) How many generations were required before each con_guration resulted in one of the states indicated in parts (a) { (c)?






Dec 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here