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

36.59% Correct | 63.41% Incorrect
Last Solution submitted on Oct 12, 2019

Problem Comments