Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Just need to answer number 4 in Java making a cellular automata that is 1-Dimensional and 100 cells wide. Must have 50 generations where 1

Just need to answer number 4 in Java making a cellular automata that is 1-Dimensional and 100 cells wide.

Must have 50 generations where 1 is represented by a "#" and a 0 is represented by a "."

image text in transcribed

1-Dimensional CA Using Java, C++, or C#, create a 1-dimensional CA that is 100 cells wide. Provide the ability to print out the state of all of the cells in the CA during every generation. Note, you do not have to use fill or a similar method to create a completely black square. You can use a more simplistic method such as a period ( for zeros ('O') and a hashtag ('#') for ones ('1'). Just be sure that there is significant contrast between symbols. Be sure to identify the symbols in your mairn program file header 1-D CA Experiments (50 points) Use Java, complete the following experiments. 1Use Rule 90 and mimic the example output Shown I Artiele 1 to validate -a. Setthecenter cell's initiatstatete4randalLotherstoT ound ti.e., cell 0 Ts the right meighbor or cell 99 ana vers Print out thirty (301 generations and-screen capture the output RepeatExperiment 1 but allow the simulation tarunfer40ggeneratiens iS nitiat statefand alLothe - Printout-fifty(501generations and screen capture e output. 4. Use Rule 30 to simulate the 1-D CA Set the center cell's initial state to T and all others to '0. Set edges to wrap around (i.e., cell O is the right neighbor or cell 99 and vice versa) Print out fifty (50) generations and screen capture the output. a. b. c. 1-Dimensional CA Using Java, C++, or C#, create a 1-dimensional CA that is 100 cells wide. Provide the ability to print out the state of all of the cells in the CA during every generation. Note, you do not have to use fill or a similar method to create a completely black square. You can use a more simplistic method such as a period ( for zeros ('O') and a hashtag ('#') for ones ('1'). Just be sure that there is significant contrast between symbols. Be sure to identify the symbols in your mairn program file header 1-D CA Experiments (50 points) Use Java, complete the following experiments. 1Use Rule 90 and mimic the example output Shown I Artiele 1 to validate -a. Setthecenter cell's initiatstatete4randalLotherstoT ound ti.e., cell 0 Ts the right meighbor or cell 99 ana vers Print out thirty (301 generations and-screen capture the output RepeatExperiment 1 but allow the simulation tarunfer40ggeneratiens iS nitiat statefand alLothe - Printout-fifty(501generations and screen capture e output. 4. Use Rule 30 to simulate the 1-D CA Set the center cell's initial state to T and all others to '0. Set edges to wrap around (i.e., cell O is the right neighbor or cell 99 and vice versa) Print out fifty (50) generations and screen capture the output. a. b. c

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions