The first term of an A.P. is 2 and the last term is 50. The sum of all these terms is 442. Find the common difference.

a = 2, l = 50

Sn= [a + l]


442 = [50 +2]


n = = 17


n = + 1


17 = + 1


16d = 48


d = 3


8