# Iterative Function Mapping [duplicate]

Possible Duplicate:
How to nest my own “times” function to get powers

What I want to do is something like :

Sin[...Sin[Sin[Sin[Sin[x]]]]]


Basically, defining a function that maps a said function on an argument said number of times.

-

## marked as duplicate by Artes, The-Ever-Kid, Leonid Shifrin, rm -rf♦Dec 15 '12 at 14:26

Take a look at Nest and NestList. reference.wolfram.com/mathematica/ref/NestList.html Don't forget to check NestWhile,NestWhileList, FixedPoint, FixedPointList. And this tutorial: reference.wolfram.com/mathematica/tutorial/… –  David Carraher Dec 15 '12 at 14:04
You can do e.g. Nest[Sin, x, 5], look at this mathematica.stackexchange.com/questions/7941/… –  Artes Dec 15 '12 at 14:06
Nest[Sin,x,10]