i have understood that the step for n in the manipulate must be explicit to 1 in order to force n to be an integer
i have understood also that n must be global and that it is done by defining g as a two-variables function
now, i still have some questions :
why does it not work if i replace g[x_, n_] := by g[x_, n_] = ? I used to believe that a:=something was just equivalent to a=something; meaning that the := or the =; were just to desactivate the display of a.
I would like the Manipulate[] to act in the same time on the graphic and on the formula but, if this works indeed, it is not beautiful :
for the necessity of evaluate, i just read this : HoldAll—Wolfram Documentation but i still do not really understand. For the moment, i just keep in mind that functions to be plotted need the prefix Evaluate.