The correct option is C 29.5
Let the first three terms of the A.P. be a−d,a,a+d
Given a−d=10...(1)
Also given a−d+a+a+d=39
⇒3a=39...(2)
Solving (1) and (2), we get
a=13,d=3
So, the A.P. is 10,13,16,...
Now, let the last four terms be an,an−1,an−2,an−3
a+(n−1)d+a+(n−2)d+a+(n−3)d+a+(n−4)d=178
⇒4a+(4n−10)d=178
⇒n=14
So, total number of terms in the A.P. are 14 (even).
Hence, median of the A.P. will be mean of T7,T8
T7=10+6(3)=28
T8=10+7(3)=31
Median =28+312=29.5