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 - The Fusion of Science and Community**

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

Loading...

Similar Threads - Mathematica function help | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Mathematica How to append functions to a list of functions? | Oct 8, 2017 |

Mathetica function (help fix my equation please) | Mar 15, 2016 |

Help! Need to write a Mathematica function | Mar 26, 2011 |

**Physics Forums - The Fusion of Science and Community**