In Maxima 12.04.0 I have a sum
mysum : sum(u[i]^2, i, 1, N);
now I differentiate it
diff(mysum, u[i]);
I now set a specific index i = A to distinguish it from
at(%, i=A);
Unfortunately, the maximum does not replace u [i] in total in this way.
How can I bring highs to a result like
2*u[A]
source share