Hi I'm trying to implement the series in mathematica, but somehow it is not producing the required results. Could you please help me out?
this is the series, and i'm implementing it like:
but the answer should be:
I have added the source file as well, test.nb
Regards
your implementation is correct, there is something missing in the result that you provide as the correct one. If you consider n>2, lets say n=3 you get all the factors of U derivative provided, but some other ones too not listed.
Apparently some fractions have same denominators and are already summed in your solution provided.
Mathematica's answer appears to be the correct one.
You can write a sum in a more direct way:
u[\[Xi]_] = Sum[Subscript[a, n] (D[s[\[Xi]], {\[Xi], n}]/s[\[Xi]])^n, {n, 0, 2}]
Thanks Gianluca Gorni, but unfortunately i'm not getting the same answer.