In the given A.P., we have:
a = 7 and d = t2 – t1 = 14 – 7 = 7
Let the sum of n terms of the given A.P. be Sn = 5740.
We know:
Sum of n terms of an A.P.,
Thus, we have:
2 × 5740 = n[14 + 7n – 7] = n[7n + 7]
11480 = 7n2 + 7n
7n2 + 7n – 11480 = 0
7[n2 + n – 1640] = 0
n2 + n – 1640 = 0
On splitting the middle term, we get:
n2 + 41n – 40n – 1640 = 0
n(n + 41) – 40(n + 41) = 0
(n + 41)(n – 40) = 0
n + 41 = 0 or n – 40 = 0
n = –41 or n = 40
Because n is the number of terms that cannot be negative, n is 40.