If a and l be the first and last term of an A.P. and S be the sum of its all terms, then its common difference is-
The first and last term of an A.P. are a and l respectively. If S is the sum of all the terms of the A.P. and the common difference is given by l2−a2k−(l+a), then k =
A. S
B 2S
C 3S
D None of these