- Instructor: Dan Neumann, daniel.neumann@indwes.edu
-
Enter and run the Chaos program from Section 1.6. Try it out with various values of input to see that it functions as described in the chapter.
-
Modify the Chaos program using 2.0 in place of 3.9 as the multiplier in the logistic function.
Your modified line of code should look like this:
x = 2.0 * x * (1 - x)
- Run the program for various input values and compare the results to those obtained from the original program.
- Create a text file called 'results.txt'
- Write a short paragraph in that file describing any differences that you notice in the behavior of the two versions.
- Change the loop counter from 10 to 20.
- As it stands, the program contains several "Magic Numbers". Modify the code by adding a constant value for the multiplier and the loop count.
- Push up to GitHub and create a pull request on the original repository.
- Fork the repository for this assignment (found under github.com/IWU-CIS-125/Week-One-Assignment).
- Save the repository to your own account.
- Log into Cloud9 and create a new workpace by cloning your forked repository.
- Check the directions in the readme file.
- Modify your code according to the directions.
- Make sure all of your code is committed.
- Push/sync up to GitHub.
- Create a pull request on the original repository. All assignments are due one week from when they are assigned, unless otherwise specified.
- You can continue to push fixes and improvements until the close date (listed in Classes) – just add a comment in the pull request to let me know it's been updated.