Assume any recursive function like: (just for example, my rekursive function is just too big to write)
$x_{n+1}=\frac{(x_{n}-3)^{5}x_{n}^{2}}{a\sqrt{x_{n}}}$
(or any other non-linear function)
Is there any optimization-algorithm, which allows me to find the optimal value for $a$ if I want to find the Mimimum of $x_{n+1}=\frac{(x_{n}-3)^{5}x_{n}^{2}}{a\sqrt{x_{n}}}$ for a fixed $x_{0}$?