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
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1649 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
557 Solvers
-
Find the largest value in the 3D matrix
1663 Solvers
-
Multiples of a Number in a Given Range
939 Solvers
-
Find and replaces spaces from a input string with *
171 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Mathematical writing is not very clear
Where would you need more clarity? Wouldn't want to reveal the numerical challenges of evaluating the polynomial.