Skip to content

Commit

Permalink
changed logistic 'function' to logistic 'map'
Browse files Browse the repository at this point in the history
  • Loading branch information
lschwetlick committed Aug 24, 2021
1 parent 5d0bb9b commit af3d164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Make a file `logistic.py` and `test_logistic.py`. Implement the code
for the logistic map:

a) Implement the logistic function f(π‘₯)=π‘Ÿβˆ—π‘₯βˆ—(1βˆ’π‘₯) . Use `@parametrize`
a) Implement the logistic map f(π‘₯)=π‘Ÿβˆ—π‘₯βˆ—(1βˆ’π‘₯) . Use `@parametrize`
to test the function for the following cases:
```
x=0.1, r=2.2 => f(x, r)=0.198
Expand All @@ -32,9 +32,9 @@ a) Write a numerical fuzzing test that checks that, for `r=1.5`, all
starting points converge to the attractor `f(x, r) = 1/3` .

b) Use `pytest.mark` to mark the tests from the previous exercise with one mark
(they relate to the correct implementation of the logistic function) and the
(they relate to the correct implementation of the logistic map) and the
test from this exercise with another (relates to the behavior of the logistic
function). Try executing first the first set of tests and then the second set of
map). Try executing first the first set of tests and then the second set of
tests separately.

## Exercise 3 -- Chaotic behavior
Expand Down

0 comments on commit af3d164

Please sign in to comment.