If 4, x1, x2, x3, 28 are in AP then x3 = ?
Here, first term = a = 4
Last term = l = 28
Number of terms = n = 5
∴ l = a + (n - 1)d
⇒ 28 = 4 + (5 - 1)d
⇒ 28 - 4 = 4d
⇒ 4d = 24
⇒ d = 6
Therefore x3 = a + 3d
= 4 + 3(6)
= 4 + 18
= 22