The first term of an AP is 5 ,the last term is 45,sum of all its term is 400. find the number of terms and the common difference.
The first and the last terms of an AP are 5 and 45 respectively. If the sum of all its terms is 400, Find its common difference.