say I have a function f(x)=x^7+k(adsbygoogle = window.adsbygoogle || []).push({});

I want to iterate x(n+1)=f(xn), 50 times

starting with x0=1

and keep the last 10 values

i want to assigh these values to some function''y'' and be able to use y to calculate this iteration for any input constant K. ie say K=0, K=0.5 etc, and then i want to store these values for different values of constants?Is this possible?I cant figure it out

i have tried this far

f:=x^7+k

y:=Take[NestList[f, 0, 50], -10]

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica function help

**Physics Forums | Science Articles, Homework Help, Discussion**