I have a function g[t_] defined in terms of another function s[t].
eg g[t]= s[t-D] - s[t-(n+1)D]
(here n and D are constants)
I want to find g[t-kD]
g[t-kD] = s[t-kD] - s[t-kD-(n+1)D]= s[t-kD] - s[t-(k+n+1)D]
Mathematica computes it correctly but its output is of the following form,
g[t-kD] = s[-kD+t] - s[-kD-(n+1)D + t]
Note the indepndent variable t appears last.
But I want all output to be of the form s[t-all other tems]
How can I do this?