Cody

Problem 44226. Logistic map

The sequence defined by x_n = 4*r*x_{n-1}*(1-x_{n-1}) and a given 0 < x_1 < 1 turns each x_n into a polynomial of r.

Write a function f(x_1, r, n) that returns the coefficients p of this polynomial as a row vector (starting with highest degree) and the value v of this polynomial at r.

Solution Stats

44.12% Correct | 55.88% Incorrect
Last solution submitted on Jun 28, 2019

Problem Comments