I have a solution of the following form:
$F(x)= \\ \qquad c+(x_0+x_1+x_2+\ldots +x_n)- \\ \qquad (x_0\,\log(x_0+\sqrt{x_0})+x_1\,\log(x_1+\sqrt{x_1})+x_2\,\log(x_2+\sqrt{x_2})+\ldots +x_n\,\log(x_n+\sqrt{x_n}))$
I want to replace $x_0\ldots x_n$ from an array containing $x_0\ldots x_n$ as $x=\{x_0,x_1,x_2, \ldots,x_n\}$
How this can be done in Mathematica?
Is there a direct Mathematica solution like Replace ( /. ) to this problem?
n=3, lease post the actual expression for the "solution" and an examplexalong with the desired answer. $\endgroup$