8000 GitHub - almiuxcs/cobweb: A cobweb plotter done in Python
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

almiuxcs/cobweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Cobweb plotter

This is a simple code in Python 3 using the matplotlib libary to plot a cobweb graph. More information about cobweb plot can be found here. Also, a online cobweb plotter can be found here, where it was used as a inspiration to do this code.

About

This code plots the functions y = x in red, in the interval [0, 1.2] x [0, 1.2] and the graph of

f(x) = a * x * (1 - x)

Then, applys the map to the initial point given.

Examples

Plot using a = 2, and x_0 as 0.1

Cobweb plot 1

Plot using a = 4, and x_0 as 0.2

Cobweb plot 2

About

A cobweb plotter done in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0