# Math 382 Homework 7 [corrected]

Math 382 Homework 7 [corrected]
Total 60 Points
1. Write a python function
cobweb(f, x0, n, xmin, xmax, ymin, ymax)
to draw a cobweb
plot of xed point iteration, where
f
name of function to plot.
x0
starting point value of x.
n
number of xed point iterations.
xmin
minimum value for x-axis on plot
xmax
maximum value for x-axis on plot
ymin
minimum value for y-axis on plot
ymax
maximum value for y-axis on plot
This is a reminder of what a typical cobweb plot looks like (not for the function you are
working with though, so your cobweb will look dierent).
Demonstrate that your cobweb plot works with the function call
cobweb(cos, 1.0, 200,0, 1.5, 0, 1)
2. Explore the convergence of the logistic map using your cobweb plot.
Run the function you wrote in problem 1 using the function
f
(
x
) =
rx
(1

Pages (550 words)
Approximate price: -
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Try it now!

## Calculate the price of your order

Total price:
\$0.00

How it works? Fill in the order form and provide all details of your assignment. Proceed with the payment

Choose the payment system that suits you most. 