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

34.88% Correct | 65.12% Incorrect
Last Solution submitted on Jun 24, 2020

Problem Comments